diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1994-04-28 08:29:22 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1994-04-28 08:29:22 +0000 |
commit | 11d26982078fe8255aa213e833b153dedb39c364 (patch) | |
tree | 1b222edf66709ca426904929af9d98bb9a95ea3a | |
parent | 17f0b355ee283e32df687a42c1079319cfd4e906 (diff) | |
download | gdb-11d26982078fe8255aa213e833b153dedb39c364.zip gdb-11d26982078fe8255aa213e833b153dedb39c364.tar.gz gdb-11d26982078fe8255aa213e833b153dedb39c364.tar.bz2 |
* mdebugread.c (psymtab_to_symtab_1): Do not call sort_blocks
for stabs symtabs.
* mips-tdep.c (mips_skip_prologue): Handle prologues for functions
that have a stack frame size of 32k or larger (from Paul Flinders).
Remove #if 0'd code.
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/mdebugread.c | 7 |
2 files changed, 13 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8fc2eb2..8314087 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Thu Apr 28 01:20:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * mdebugread.c (psymtab_to_symtab_1): Do not call sort_blocks + for stabs symtabs. + * mips-tdep.c (mips_skip_prologue): Handle prologues for functions + that have a stack frame size of 32k or larger (from Paul Flinders). + Remove #if 0'd code. + Wed Apr 27 16:33:51 1994 Stan Shebs (shebs@andros.cygnus.com) * lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index cd0efa8..552766b 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -2973,8 +2973,11 @@ psymtab_to_symtab_1 (pst, filename) We must do this before parse_procedure calls lookup_symbol. */ sort_symtab_syms (st); - /* This may not be necessary for stabs symtabs. FIXME. */ - sort_blocks (st); + /* There used to be a call to sort_blocks here, but this should not + be necessary for stabs symtabs. And as sort_blocks modifies the + start address of the GLOBAL_BLOCK to the FIRST_LOCAL_BLOCK, + it did the wrong thing if the first procedure in a file was + generated via asm statements. */ /* Fill in procedure info next. */ first_pdr = 1; |