mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
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:
@@ -5699,7 +5699,7 @@ get_catch_sals (int this_level_only)
|
||||
but it's better than a core dump. */
|
||||
if (selected_frame == NULL)
|
||||
error ("No selected frame.");
|
||||
block = get_frame_block (selected_frame);
|
||||
block = get_frame_block (selected_frame, 0);
|
||||
pc = selected_frame->pc;
|
||||
|
||||
sals.nelts = 0;
|
||||
|
||||
Reference in New Issue
Block a user