summaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index f12834dd1cd..c427c98637a 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -4092,7 +4092,7 @@ skip_prologue_using_sal (CORE_ADDR func_addr)
then it is probably a single line function, like
"foo(){}". */
if (prologue_sal.end == end_pc)
- return start_pc;
+ return 0;
while (prologue_sal.end < end_pc)
{
struct symtab_and_line sal;