summaryrefslogtreecommitdiff
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
commit7459a99f27fc5fd608fc9e2b12d724625d9e92bc (patch)
treef66c59ed3e27d096a9c046ec1f6b6e5fcb651956 /gdb/parse.c
parenta82e5870e6b8f4a3bfdda7c975a3b9f587af1a49 (diff)
downloadgdb-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/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 5a5612fb3a2..5d81dfd0e53 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);