forked from Imagelibrary/binutils-gdb
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.)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-04-05 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* mi-cmd-stack.c (list_args_or_locals): Pass new arg to
|
||||
get_frame_block. (See entry in gdb/ChangeLog.)
|
||||
|
||||
2002-04-05 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN
|
||||
|
||||
@@ -218,7 +218,7 @@ list_args_or_locals (int locals, int values, struct frame_info *fi)
|
||||
|
||||
stb = ui_out_stream_new (uiout);
|
||||
|
||||
block = get_frame_block (fi);
|
||||
block = get_frame_block (fi, 0);
|
||||
|
||||
ui_out_list_begin (uiout, locals ? "locals" : "args");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user