aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2002-10-23 23:37:33 +0000
committerDavid Carlton <carlton@bactrian.org>2002-10-23 23:37:33 +0000
commit8da065d53ccd9ed50eb9b30979672ba0ead52a1c (patch)
treeee2be981e4a27d4b3a5594ebf7470a604e3f45fc /gdb/parse.c
parent87f2f08c7fbf5adf4a48ad01d5b9e0ed45e6f8ab (diff)
downloadgdb-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/parse.c')
-rw-r--r--gdb/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 5a5612f..5d81dfd 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -1123,7 +1123,7 @@ parse_exp_1 (char **stringptr, struct block *block, int comma)
if (block)
{
expression_context_block = block;
- expression_context_pc = block->startaddr;
+ expression_context_pc = BLOCK_START (block);
}
else
expression_context_block = get_selected_block (&expression_context_pc);