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 | 7459a99f27fc5fd608fc9e2b12d724625d9e92bc (patch) | |
tree | f66c59ed3e27d096a9c046ec1f6b6e5fcb651956 /gdb/objc-lang.c | |
parent | a82e5870e6b8f4a3bfdda7c975a3b9f587af1a49 (diff) | |
download | gdb-7459a99f27fc5fd608fc9e2b12d724625d9e92bc.tar.gz |
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 0c749a2ebe5..2ed2c2e76ca 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; |