aboutsummaryrefslogtreecommitdiff
path: root/gdb/findvar.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-04-05 22:04:43 +0000
committerJim Blandy <jimb@codesourcery.com>2002-04-05 22:04:43 +0000
commitae767bfb78e53e5586a10e6d7144dc3199e5aa36 (patch)
tree89d180b4aad315ea33face14267ddd1b5d639609 /gdb/findvar.c
parent84d2ac95e4f51faedabd0219bbf0fd1c2ef5f530 (diff)
downloadgdb-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/findvar.c')
-rw-r--r--gdb/findvar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c
index 5d54117..e94c150 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -551,7 +551,7 @@ addresses have not been bound by the dynamic loader. Try again when executable i
if (frame == NULL)
return 0;
- b = get_frame_block (frame);
+ b = get_frame_block (frame, 0);
if (SYMBOL_CLASS (var) == LOC_REGPARM_ADDR)
{