aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-07-11 14:56:05 +0000
committerAndrew Cagney <cagney@redhat.com>2003-07-11 14:56:05 +0000
commit91f78506d286a335cbe3d195abfa98e7136b5823 (patch)
treee25449cacd48e9e148d3a259c971501a2be6a15f /gdb/blockframe.c
parent8edd5d01538ad56dcaf67b8d35bef65748ab62b4 (diff)
downloadgdb-91f78506d286a335cbe3d195abfa98e7136b5823.zip
gdb-91f78506d286a335cbe3d195abfa98e7136b5823.tar.gz
gdb-91f78506d286a335cbe3d195abfa98e7136b5823.tar.bz2
Oops, revert unintended commit. Next patch will do this properly.
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 dd716c5..9f91226 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 = get_frame_address_in_block (frame);
+ const CORE_ADDR pc = 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 = get_frame_address_in_block (frame);
+ calling_pc = frame_address_in_block (frame);
if (calling_pc >= start && calling_pc < end)
return frame;
}