diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2007-04-17 15:07:21 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2007-04-17 15:07:21 +0000 |
commit | 9193427347c48c04b9d61b275e6270c31b063b97 (patch) | |
tree | 4c8d8077dea9ea2424b6aa7d9c439c0d1e2b3d6a /gdb/symtab.c | |
parent | * mips-tdep.c (mips_o32_push_dummy_call): Take account of (diff) | |
download | binutils-gdb-9193427347c48c04b9d61b275e6270c31b063b97.tar.gz binutils-gdb-9193427347c48c04b9d61b275e6270c31b063b97.tar.bz2 binutils-gdb-9193427347c48c04b9d61b275e6270c31b063b97.zip |
* symtab.c (skip_prologue_using_sal): Allow the end of the prologue
sal to be bigger than the end of the function.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 7e6d03164ab..5dbce041d61 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -4111,7 +4111,7 @@ skip_prologue_using_sal (CORE_ADDR func_addr) /* If there is only one sal that covers the entire function, then it is probably a single line function, like "foo(){}". */ - if (prologue_sal.end == end_pc) + if (prologue_sal.end >= end_pc) return 0; while (prologue_sal.end < end_pc) { |