aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-06-28 00:05:14 +0000
committerDaniel Jacobowitz <drow@false.org>2009-06-28 00:05:14 +0000
commitc7ce8faacb57cd10f919caff6c5018c4526e752e (patch)
tree7faa96895297e983653ca7d7a842608504c71631 /gdb/frame.c
parentcd953ae9d0650069424e9a5e8652f3c77d02574b (diff)
downloadgdb-c7ce8faacb57cd10f919caff6c5018c4526e752e.zip
gdb-c7ce8faacb57cd10f919caff6c5018c4526e752e.tar.gz
gdb-c7ce8faacb57cd10f919caff6c5018c4526e752e.tar.bz2
* frame.c (frame_unwind_id): Renamed to ...
(frame_unwind_caller_id): ... this. All callers updated. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. All callers updated. * frame.h: Document frame_unwind_caller_WHAT functions. (frame_unwind_id): Renamed to ... (frame_unwind_caller_id): ... this. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Correct comment. * stack.c (parse_frame_specification_1): Do not rely on frame_unwind_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 44a9c65..74671a4 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_id (struct frame_info *next_frame)
+frame_unwind_caller_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
@@ -460,7 +460,7 @@ frame_find_by_id (struct frame_id id)
}
CORE_ADDR
-frame_pc_unwind (struct frame_info *this_frame)
+frame_unwind_caller_pc (struct frame_info *this_frame)
{
if (!this_frame->prev_pc.p)
{
@@ -491,7 +491,7 @@ frame_pc_unwind (struct frame_info *this_frame)
this_frame->prev_pc.p = 1;
if (frame_debug)
fprintf_unfiltered (gdb_stdlog,
- "{ frame_pc_unwind (this_frame=%d) -> 0x%s }\n",
+ "{ frame_unwind_caller_pc (this_frame=%d) -> 0x%s }\n",
this_frame->level,
paddr_nz (this_frame->prev_pc.value));
}
@@ -1564,7 +1564,7 @@ CORE_ADDR
get_frame_pc (struct frame_info *frame)
{
gdb_assert (frame->next != NULL);
- return frame_pc_unwind (frame->next);
+ return frame_unwind_caller_pc (frame->next);
}
/* Return an address that falls within THIS_FRAME's code block. */