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:
David Carlton
2002-10-23 23:37:33 +00:00
parent 87f2f08c7f
commit 8da065d53c
4 changed files with 11 additions and 4 deletions

View File

@@ -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