aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-07-15 23:29:24 +0000
committerDaniel Jacobowitz <drow@false.org>2008-07-15 23:29:24 +0000
commiteb2f4a08ce0d53c30571ff4b7bd6d2f174376388 (patch)
tree5ad41cccca50dce4a025971c5da506455a3cd4ae /gdb/frame.c
parent680b56ce65a42446a86fc333ca4c735fc770386c (diff)
downloadgdb-eb2f4a08ce0d53c30571ff4b7bd6d2f174376388.zip
gdb-eb2f4a08ce0d53c30571ff4b7bd6d2f174376388.tar.gz
gdb-eb2f4a08ce0d53c30571ff4b7bd6d2f174376388.tar.bz2
Revert frame_unwind_caller_pc / frame_unwind_caller_id.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index 5900e22..f5e0fad 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -271,7 +271,7 @@ get_frame_id (struct frame_info *fi)
}
struct frame_id
-frame_unwind_caller_id (struct frame_info *next_frame)
+frame_unwind_id (struct frame_info *next_frame)
{
/* Use prev_frame, and not get_prev_frame. The latter will truncate
the frame chain, leading to this function unintentionally
@@ -422,7 +422,7 @@ frame_find_by_id (struct frame_id id)
}
CORE_ADDR
-frame_unwind_caller_pc (struct frame_info *this_frame)
+frame_pc_unwind (struct frame_info *this_frame)
{
if (!this_frame->prev_pc.p)
{
@@ -453,7 +453,7 @@ frame_unwind_caller_pc (struct frame_info *this_frame)
this_frame->prev_pc.p = 1;
if (frame_debug)
fprintf_unfiltered (gdb_stdlog,
- "{ frame_unwind_caller_pc (this_frame=%d) -> 0x%s }\n",
+ "{ frame_pc_unwind (this_frame=%d) -> 0x%s }\n",
this_frame->level,
paddr_nz (this_frame->prev_pc.value));
}
@@ -1533,7 +1533,7 @@ CORE_ADDR
get_frame_pc (struct frame_info *frame)
{
gdb_assert (frame->next != NULL);
- return frame_unwind_caller_pc (frame->next);
+ return frame_pc_unwind (frame->next);
}
/* Return an address that falls within THIS_FRAME's code block. */