diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-29 00:15:48 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-29 00:15:48 +0000 |
commit | 8c69fc49d578e8e608cc3bfb4d3a58ddd9f19c32 (patch) | |
tree | 7cfa47ff4d8bec622a62f0d0154ea2da578082d8 /gdb/blockframe.c | |
parent | c8286bd1e88747fcdf7f8ae1f90210449b621df6 (diff) | |
download | gdb-8c69fc49d578e8e608cc3bfb4d3a58ddd9f19c32.zip gdb-8c69fc49d578e8e608cc3bfb4d3a58ddd9f19c32.tar.gz gdb-8c69fc49d578e8e608cc3bfb4d3a58ddd9f19c32.tar.bz2 |
2002-11-28 Andrew Cagney <cagney@redhat.com>
* stack.c (get_selected_block): In-line get_current_block.
* frame.h (get_current_block): Delete declaration.
* blockframe.c (get_current_block): Delete function.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 8aa4ae9..318d5d4 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -247,17 +247,6 @@ get_frame_block (struct frame_info *frame, CORE_ADDR *addr_in_block) return block_for_pc (pc); } -struct block * -get_current_block (CORE_ADDR *addr_in_block) -{ - CORE_ADDR pc = read_pc (); - - if (addr_in_block) - *addr_in_block = pc; - - return block_for_pc (pc); -} - CORE_ADDR get_pc_function_start (CORE_ADDR pc) { |