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:
parent
87f2f08c7f
commit
8da065d53c
4 changed files with 11 additions and 4 deletions
|
@ -1320,8 +1320,8 @@ find_methods (struct symtab *symtab, char type,
|
|||
continue;
|
||||
|
||||
if (symtab)
|
||||
if ((SYMBOL_VALUE_ADDRESS (msymbol) < block->startaddr) ||
|
||||
(SYMBOL_VALUE_ADDRESS (msymbol) >= block->endaddr))
|
||||
if ((SYMBOL_VALUE_ADDRESS (msymbol) < BLOCK_START (block)) ||
|
||||
(SYMBOL_VALUE_ADDRESS (msymbol) >= BLOCK_END (block)))
|
||||
/* Not in the specified symtab. */
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue