diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-05-05 14:45:51 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-05-05 14:45:51 +0000 |
commit | b83266a0e1813b7f4891d5d6b0ed6b7302a3fe98 (patch) | |
tree | c59a94fbe917e0839329b872139198c2a7a05ab1 /gdb/symtab.c | |
parent | e1346c8d0969dad58ddc13c9c741cb0f4e6345a5 (diff) | |
download | gdb-b83266a0e1813b7f4891d5d6b0ed6b7302a3fe98.zip gdb-b83266a0e1813b7f4891d5d6b0ed6b7302a3fe98.tar.gz gdb-b83266a0e1813b7f4891d5d6b0ed6b7302a3fe98.tar.bz2 |
import gdb-19990504 snapshot
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 5c4af53..1568539 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2089,7 +2089,7 @@ find_function_start_sal (sym, funfirstline) pc = overlay_unmapped_address (pc, section); pc += FUNCTION_START_OFFSET; - SKIP_PROLOGUE (pc); + pc = SKIP_PROLOGUE (pc); /* For overlays, map pc back into its mapped VMA range */ pc = overlay_mapped_address (pc, section); @@ -3144,7 +3144,7 @@ minimal_symbol_found: /* We also jump here from the case for variables if (funfirstline) { values.sals[0].pc += FUNCTION_START_OFFSET; - SKIP_PROLOGUE (values.sals[0].pc); + values.sals[0].pc = SKIP_PROLOGUE (values.sals[0].pc); } values.nelts = 1; return values; @@ -4285,7 +4285,7 @@ in_prologue (pc, func_start) function's start address because PC may be pointing at an instruction that could be mistakenly considered part of the prologue. */ - SKIP_PROLOGUE (func_start); + func_start = SKIP_PROLOGUE (func_start); return pc < func_start; } |