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 | 5d3f4e318a6be36209ab2dd5ff2868c18fb1b673 (patch) | |
tree | e58f0395d3a7b896eda7025c8d51e7a378662a9d /gdb/frame.h | |
parent | 63202e1251cca3d7423011a6bb629aee96c84d83 (diff) | |
download | gdb-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/frame.h')
-rw-r--r-- | gdb/frame.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index b5f535a26d0..5f952c58a12 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -196,11 +196,12 @@ extern struct frame_info *get_current_frame (void); extern struct frame_info *get_next_frame (struct frame_info *); -extern struct block *get_frame_block (struct frame_info *); +extern struct block *get_frame_block (struct frame_info *, + CORE_ADDR *addr_in_block); -extern struct block *get_current_block (void); +extern struct block *get_current_block (CORE_ADDR *addr_in_block); -extern struct block *get_selected_block (void); +extern struct block *get_selected_block (CORE_ADDR *addr_in_block); extern struct symbol *get_frame_function (struct frame_info *); |