diff options
-rw-r--r-- | gdb/ChangeLog | 23 | ||||
-rw-r--r-- | gdb/language.c | 4 | ||||
-rw-r--r-- | gdb/language.h | 2 |
3 files changed, 26 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7f22734..1ac97a5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,7 +1,30 @@ +Fri Jan 31 00:05:01 1992 John Gilmore (gnu at cygnus.com) + + * exec.c (exec_files_info): Split out into print_section_info. + Print BFD filename of each section if it's not the default one. + * core.c (core_files_info): Call print_section_info. + + * xm-vax.h: Include a few system header files whose definitions + must precede defs.h. + * language.c, language.h: Make some things const. + * expression.h, main.c: const spreads like ooze. + + * mem-break.c (break_insn, break_insn_size): Use unsigned chars, + since BREAKPOINT values can be >0x80. + Thu Jan 30 17:21:14 1992 Stu Grossman (grossman at cygnus.com) * infrun.c, xm-i386sco.h: SCO needs to use setpgid(). +Thu Jan 30 01:04:23 1992 John Gilmore (gnu at cygnus.com) + + * sparc-pinsn.c: Remove kludge for preferring architectures. + Remove #ifdef's for SORT_NEEDED. We need to sort the table, now + and forever. Add `add' instruction to the set that get checked + for a preceding `sethi' in order to print an absolute address. + Corresponding changes in ../include/opcode/sparc.h needed + to eliminate garbage instructions. + Wed Jan 29 19:24:34 1992 Per Bothner (bothner at cygnus.com) * mipsread.c (parse_partial_symbols): Make sure partial diff --git a/gdb/language.c b/gdb/language.c index c584d4e..81b21a9 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -47,7 +47,7 @@ extern volatile void return_to_top_level (); static void set_type_range (); /* Forward declaration */ -extern struct language_defn unknown_language_defn; +extern const struct language_defn unknown_language_defn; /* The current (default at startup) state of type and range checking. (If the modes are set to "auto", though, these are changed based @@ -61,7 +61,7 @@ enum type_check type_check = type_check_off; /* The current language and language_mode (see language.h) */ -struct language_defn *current_language = &unknown_language_defn; +const struct language_defn *current_language = &unknown_language_defn; enum language_mode language_mode = language_mode_auto; /* The list of supported languages. The list itself is malloc'd. */ diff --git a/gdb/language.h b/gdb/language.h index d46a7da..31d04df 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -85,7 +85,7 @@ const struct op_print always points to *some* valid struct; it can be used without checking it for validity. */ -extern struct language_defn *current_language; +extern const struct language_defn *current_language; /* language_mode == language_mode_auto: current_language automatically set upon selection |