mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user