diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-11 23:00:26 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-11 23:00:26 +0000 |
commit | 107ee3275060724e6ea63c667ebe2b8ae8be263c (patch) | |
tree | 67a0c480f25b7ce6f843f5e5be2ed1a88b87a51f /gdb/frame-unwind.h | |
parent | 84724611277760be3740aab30b0d80f8f2544b44 (diff) | |
download | gdb-cagney_offbyone-20030303-branch.tar.gz |
2003-03-11 Andrew Cagney <cagney@redhat.com>cvs/cagney_offbyone-20030303-branchcagney_offbyone-20030303-branch
* frame-unwind.h (frame_this_id_ftype): Rename
frame_unwind_id_ftype.
(frame_prev_register_ftype): Rename frame_unwind_reg_ftype.
(struct frame_unwind): Update. Rename "id" to "this_id", and
"reg" to "prev_register".
* frame.c (get_prev_frame): Update. Rename parameter next_frame
to this frame.
(frame_register_unwind): Update.
Diffstat (limited to 'gdb/frame-unwind.h')
-rw-r--r-- | gdb/frame-unwind.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/frame-unwind.h b/gdb/frame-unwind.h index 3efe1e26f47..74fa0f6c519 100644 --- a/gdb/frame-unwind.h +++ b/gdb/frame-unwind.h @@ -72,9 +72,9 @@ extern const struct frame_unwind *frame_unwind_find_by_pc (struct gdbarch other unwind methods. Memory for that cache should be allocated using frame_obstack_zalloc(). */ -typedef void (frame_unwind_id_ftype) (struct frame_info *next_frame, - void **this_cache, - struct frame_id *this_id); +typedef void (frame_this_id_ftype) (struct frame_info *next_frame, + void **this_cache, + struct frame_id *this_id); /* Assuming the frame chain: (outer) prev <-> this <-> next (inner); use the NEXT frame, and its register unwind method, to unwind THIS @@ -94,21 +94,21 @@ typedef void (frame_unwind_id_ftype) (struct frame_info *next_frame, other unwind methods. Memory for that cache should be allocated using frame_obstack_zalloc(). */ -typedef void (frame_unwind_reg_ftype) (struct frame_info *next_frame, - void **this_cache, - int prev_regnum, - int *optimized, - enum lval_type * lvalp, - CORE_ADDR *addrp, - int *realnump, void *valuep); +typedef void (frame_prev_register_ftype) (struct frame_info *next_frame, + void **this_cache, + int prev_regnum, + int *optimized, + enum lval_type * lvalp, + CORE_ADDR *addrp, + int *realnump, void *valuep); struct frame_unwind { /* Should the frame's type go here? */ /* Should an attribute indicating the frame's address-in-block go here? */ - frame_unwind_id_ftype *id; - frame_unwind_reg_ftype *reg; + frame_this_id_ftype *this_id; + frame_prev_register_ftype *prev_register; }; #endif |