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/objc-lang.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/objc-lang.c')
-rw-r--r-- | gdb/objc-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index 0c749a2..2ed2c2e 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -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; |