aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-07-11 14:52:17 +0000
committerAndrew Cagney <cagney@redhat.com>2003-07-11 14:52:17 +0000
commit8edd5d01538ad56dcaf67b8d35bef65748ab62b4 (patch)
treef5f95c0df5404e4f552a84c87b7ee89aeb590f1f /gdb/blockframe.c
parentc6baf75ed1463f657d61784cf9e5db2c89228482 (diff)
downloadgdb-8edd5d01538ad56dcaf67b8d35bef65748ab62b4.zip
gdb-8edd5d01538ad56dcaf67b8d35bef65748ab62b4.tar.gz
gdb-8edd5d01538ad56dcaf67b8d35bef65748ab62b4.tar.bz2
2003-07-11 Andrew Cagney <cagney@redhat.com>
* frame.h (get_frame_address_in_block): Declare. (frame_unwind_address_in_block): Declare. * frame.c (frame_unwind_address_in_block): New function. (get_frame_address_in_block): New function.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 9f91226..dd716c5 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -212,7 +212,7 @@ frame_address_in_block (struct frame_info *frame)
struct block *
get_frame_block (struct frame_info *frame, CORE_ADDR *addr_in_block)
{
- const CORE_ADDR pc = frame_address_in_block (frame);
+ const CORE_ADDR pc = get_frame_address_in_block (frame);
if (addr_in_block)
*addr_in_block = pc;
@@ -512,7 +512,7 @@ block_innermost_frame (struct block *block)
frame = get_prev_frame (frame);
if (frame == NULL)
return NULL;
- calling_pc = frame_address_in_block (frame);
+ calling_pc = get_frame_address_in_block (frame);
if (calling_pc >= start && calling_pc < end)
return frame;
}