diff options
author | Stan Shebs <shebs@apple.com> | 1999-05-05 14:45:51 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-05-05 14:45:51 +0000 |
commit | 049f10d7dc48a42b664a15149f83d5c3db004ef7 (patch) | |
tree | 8dd4e1a383afddd41a30a65adf68142dfd45ec72 /gdb/symtab.c | |
parent | 1942e83ab587eb3c0c54e57e9d1c9e11c17ac07e (diff) | |
download | gdb-049f10d7dc48a42b664a15149f83d5c3db004ef7.tar.gz |
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 5c4af5346fd..15685398b59 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; } |