summaryrefslogtreecommitdiff
path: root/gdb/varobj.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
commit5d3f4e318a6be36209ab2dd5ff2868c18fb1b673 (patch)
treee58f0395d3a7b896eda7025c8d51e7a378662a9d /gdb/varobj.c
parent63202e1251cca3d7423011a6bb629aee96c84d83 (diff)
downloadgdb-5d3f4e318a6be36209ab2dd5ff2868c18fb1b673.tar.gz
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/varobj.c')
-rw-r--r--gdb/varobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index f56b7aa1fd1..3f13894b2be 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -426,7 +426,7 @@ varobj_create (char *objname,
block = NULL;
if (fi != NULL)
- block = get_frame_block (fi);
+ block = get_frame_block (fi, 0);
p = expression;
innermost_block = NULL;