diff options
author | Jim Blandy <jimb@codesourcery.com> | 2002-04-05 22:04:43 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2002-04-05 22:04:43 +0000 |
commit | ae767bfb78e53e5586a10e6d7144dc3199e5aa36 (patch) | |
tree | 89d180b4aad315ea33face14267ddd1b5d639609 /gdb/parse.c | |
parent | 84d2ac95e4f51faedabd0219bbf0fd1c2ef5f530 (diff) | |
download | gdb-ae767bfb78e53e5586a10e6d7144dc3199e5aa36.zip gdb-ae767bfb78e53e5586a10e6d7144dc3199e5aa36.tar.gz gdb-ae767bfb78e53e5586a10e6d7144dc3199e5aa36.tar.bz2 |
gdb/ChangeLog:
* stack.c (get_selected_block): Add new argument `addr_in_block',
used to return the exact code address we used to select the block,
not just the block.
* blockframe.c (get_frame_block, get_current_block): Same.
* frame.h (get_frame_block, get_current_block,
get_selected_block): Update declarations.
* linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
gdb/mi/ChangeLog:
* mi-cmd-stack.c (list_args_or_locals): Pass new arg to
get_frame_block. (See entry in gdb/ChangeLog.)
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index b3fbe19..40491cf 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -1134,7 +1134,7 @@ parse_exp_1 (char **stringptr, struct block *block, int comma) old_chain = make_cleanup (free_funcalls, 0 /*ignore*/); funcall_chain = 0; - expression_context_block = block ? block : get_selected_block (); + expression_context_block = block ? block : get_selected_block (0); namecopy = (char *) alloca (strlen (lexptr) + 1); expout_size = 10; |