From 8b52d486699d4a92b984f5dc8f227459c4f7d907 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Thu, 23 Sep 1993 07:22:06 +0000 Subject: [PATCH] * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Define as noop as the pushing of the struct return address is already handled in mips_push_arguments. * mips-tdep.c (reinit_frame_cache_sfunc): Fix typo in prototype declaration. * mipsread.c (parse_symbol, parse_type, upgrade_type): Add more sanity checks for corrupt symbol entries to avoid core dumps reported by benson@odi.com. Obviously Ultrix 4.3A cc now has the same problems as the OSF/1 alpha cc. * mipsread.c (parse_lines): Iterate over the range of the compressed line number entries, the old iteration sometimes failed to stop and wrote past the end of the LINETABLE. Add sanity check to avoid the same problem in case the line number info is corrupt. * mipsread.c (parse_procedure): Adjust pdr for alpha __sigtramp. * mipsread.c (parse_external, parse_partial_symbols): Ignore stNil symbols that are produced for statics in .o files and stLocal symbols that are produced for every section in OSF/1 dynamically linked executables. * mipsread.c (psymtab_to_symtab_1): Put out `undefined symbols' warning only under `verbose on' as there are many undefined symbols in a dynamically linked executable. --- gdb/ChangeLog | 24 ++++++++++++++++++++++++ gdb/mips-tdep.c | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e683a130bf0..69373841358 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,27 @@ +Thu Sep 23 00:13:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Define as noop as + the pushing of the struct return address is already handled in + mips_push_arguments. + * mips-tdep.c (reinit_frame_cache_sfunc): Fix typo in prototype + declaration. + * mipsread.c (parse_symbol, parse_type, upgrade_type): Add more + sanity checks for corrupt symbol entries to avoid core dumps + reported by benson@odi.com. Obviously Ultrix 4.3A cc now has + the same problems as the OSF/1 alpha cc. + * mipsread.c (parse_lines): Iterate over the range of the compressed + line number entries, the old iteration sometimes failed to stop + and wrote past the end of the LINETABLE. Add sanity check to avoid + the same problem in case the line number info is corrupt. + * mipsread.c (parse_procedure): Adjust pdr for alpha __sigtramp. + * mipsread.c (parse_external, parse_partial_symbols): Ignore stNil + symbols that are produced for statics in .o files and stLocal symbols + that are produced for every section in OSF/1 dynamically linked + executables. + * mipsread.c (psymtab_to_symtab_1): Put out `undefined symbols' + warning only under `verbose on' as there are many undefined symbols + in a dynamically linked executable. + Wed Sep 22 10:28:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * config/i960/nindy960.mt: Don't define REMOTE_O; REMOTE_O was diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 590d1be61c2..f9193ea288c 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -921,7 +921,7 @@ mips_store_return_value (valtype, valbuf) write_register_bytes(REGISTER_BYTE (regnum), raw_buffer, TYPE_LENGTH (valtype)); } -static void reinit_frame_cache_sfunc PARAMS ((char *, int +static void reinit_frame_cache_sfunc PARAMS ((char *, int, struct cmd_list_element *)); /* Just like reinit_frame_cache, but with the right arguments to be -- 2.30.2