diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1993-03-28 19:28:26 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1993-03-28 19:28:26 +0000 |
commit | 0b0d6c3fa7fe45549ce89c70f896a11d5f4cff5a (patch) | |
tree | 5a14e1eb1739e4088d1d6eab86cf51ba05c797db /gdb/mipsread.c | |
parent | 53f6119fc612d594c69e8bba420f571c65b74c17 (diff) | |
download | gdb-0b0d6c3fa7fe45549ce89c70f896a11d5f4cff5a.zip gdb-0b0d6c3fa7fe45549ce89c70f896a11d5f4cff5a.tar.gz gdb-0b0d6c3fa7fe45549ce89c70f896a11d5f4cff5a.tar.bz2 |
* breakpoint.c (breakpoint_re_set_one): Fix storage leak.
* breakpoint.c (enable_breakpoint): Don't enable watchpoint if it
went out of scope.
* exec.c (exec_close): Fix storage leak.
* exec.c (exec_file_command): Make sure that bfd doesn't realign the
output sections when patching an executable.
* mips-nat.c (store_inferior_registers): Use REGISTER_PTRACE_ADDR
when writing all registers.
* mips-tdep.c (mips_push_dummy_frame): Save floating point registers
at the right offset in the dummy frame.
* mipsread.c (psymtab_to_symtab_1): Do not complain for stProc,
stStaticProc and stEnd symbols as they are generated by gcc-2.x.
* mipsread.c (mipscoff_new_init): Initialize stabsread and buildsym.
Diffstat (limited to 'gdb/mipsread.c')
-rw-r--r-- | gdb/mipsread.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c index 4577339..b6523e1 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -330,6 +330,8 @@ static void mipscoff_new_init (ignore) struct objfile *ignore; { + stabsread_new_init (); + buildsym_new_init (); } static void @@ -2459,10 +2461,13 @@ psymtab_to_symtab_1 (pst, filename) /* Handle encoded stab line number. */ record_line (current_subfile, sh.index, valu); } + else if (sh.st == stProc || sh.st == stStaticProc || sh.st == stEnd) + /* These are generated by gcc-2.x, do not complain */ + ; else complain (&stab_unknown_complaint, name); } - st = end_symtab (pst->texthigh, 0, 0, pst->objfile); + st = end_symtab (pst->texthigh, 0, 0, pst->objfile, SECT_OFF_TEXT); end_stabs (); /* Sort the symbol table now, we are done adding symbols to it. |