diff options
author | David Carlton <carlton@bactrian.org> | 2002-10-23 23:37:33 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2002-10-23 23:37:33 +0000 |
commit | 8da065d53ccd9ed50eb9b30979672ba0ead52a1c (patch) | |
tree | ee2be981e4a27d4b3a5594ebf7470a604e3f45fc /gdb/x86-64-tdep.c | |
parent | 87f2f08c7fbf5adf4a48ad01d5b9e0ed45e6f8ab (diff) | |
download | gdb-8da065d53ccd9ed50eb9b30979672ba0ead52a1c.zip gdb-8da065d53ccd9ed50eb9b30979672ba0ead52a1c.tar.gz gdb-8da065d53ccd9ed50eb9b30979672ba0ead52a1c.tar.bz2 |
2002-10-23 David Carlton <carlton@math.stanford.edu>
* parse.c (parse_exp_1): Use BLOCK_START.
* x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END,
SYMBOL_BLOCK_VALUE.
* objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END.
Diffstat (limited to 'gdb/x86-64-tdep.c')
-rw-r--r-- | gdb/x86-64-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index dbc5611..31f32f1 100644 --- a/gdb/x86-64-tdep.c +++ b/gdb/x86-64-tdep.c @@ -889,7 +889,7 @@ x86_64_skip_prologue (CORE_ADDR pc) if (!v_function || !v_function->ginfo.value.block || !v_sal.symtab) return pc; - endaddr = v_function->ginfo.value.block->endaddr; + endaddr = BLOCK_END (SYMBOL_BLOCK_VALUE (v_function)); for (i = 0; i < v_sal.symtab->linetable->nitems; i++) if (v_sal.symtab->linetable->item[i].pc >= pc |