This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: (patch) hpjyg03: (buildsym|language).[ch]
- To: Jimmy Guo <guo at cup dot hp dot com>
- Subject: Re: (patch) hpjyg03: (buildsym|language).[ch]
- From: David Taylor <taylor at cygnus dot com>
- Date: Fri, 17 Dec 1999 18:47:25 -0500
- cc: gdb-patches at sourceware dot cygnus dot com
It has been noticed that the language.c portion of this patch causes
additional noise at startup. Namely:
warning: Unrecognized range check setting: "auto; currently off"
I'm curious as to whether this message gets printed at HP (or are
there other language.c patches not yet submitted that get rid of it).
In any case, here's a patch to eliminate that noise:
taylor@texas 548: cvs diff -c language.c
Index: language.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/language.c,v
retrieving revision 2.68
diff -c -r2.68 language.c
*** language.c 1999/12/13 18:00:13 2.68
--- language.c 1999/12/17 23:26:48
***************
*** 1578,1589 ****
add_language (&auto_language_defn);
language = savestring ("auto", strlen ("auto"));
- range = savestring ("auto", strlen ("auto"));
- type = savestring ("auto", strlen ("auto"));
-
- /* Have the above take effect */
-
set_language_command (language, 0);
set_type_command (NULL, 0);
set_range_command (NULL, 0);
}
--- 1578,1588 ----
add_language (&auto_language_defn);
language = savestring ("auto", strlen ("auto"));
set_language_command (language, 0);
+
+ type = savestring ("auto", strlen ("auto"));
set_type_command (NULL, 0);
+
+ range = savestring ("auto", strlen ("auto"));
set_range_command (NULL, 0);
}