aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-03-10 01:26:09 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-03-10 01:26:09 +0000
commit45d6f6230e92308144b8455db8a00b21145580e7 (patch)
tree418b66493957a11fedd80f6d8796010c98c2fed6 /gdb
parent5fc2a6ecd2fadf8dcbbae4a77550e8f067ad3a92 (diff)
downloadgdb-45d6f6230e92308144b8455db8a00b21145580e7.zip
gdb-45d6f6230e92308144b8455db8a00b21145580e7.tar.gz
gdb-45d6f6230e92308144b8455db8a00b21145580e7.tar.bz2
* mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way we know whether the PDR ever got set. * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't use the PDR, just examine prologues instead.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog13
-rw-r--r--gdb/mdebugread.c2
2 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 468ca25..b6b147e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+Thu Mar 9 17:19:47 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
+
+ * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
+ pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1. That way
+ we know whether the PDR ever got set.
+ * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
+ use the PDR, just examine prologues instead.
+
+Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu)
+
+ * somsolib.c (som_solib_section_offsets): Get offset of text
+ section right.
+
Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
* gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 2d6eac1..946ba43 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -1159,6 +1159,7 @@ parse_symbol (sh, ax, ext_sh, bigend, section_offsets)
sizeof (struct mips_extra_func_info)));
SYMBOL_VALUE (s) = (long) e;
e->numargs = top_stack->numargs;
+ e->pdr.framereg = -1;
add_symbol (s, top_stack->cur_block);
/* Reallocate symbols, saving memory */
@@ -3096,6 +3097,7 @@ psymtab_to_symtab_1 (pst, filename)
SYMBOL_CLASS (s) = LOC_CONST;
SYMBOL_TYPE (s) = builtin_type_void;
SYMBOL_VALUE (s) = (long) e;
+ e->pdr.framereg = -1;
add_symbol_to_list (s, &local_symbols);
}
}