summaryrefslogtreecommitdiff
path: root/gdb/tramp-frame.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2008-04-30 21:19:10 +0000
committerDaniel Jacobowitz <dan@debian.org>2008-04-30 21:19:10 +0000
commite4af005e4ad58885f85664d46658b5ac591f86f6 (patch)
tree47387c0e3d925a74826863cfa1c47c55c1e4815d /gdb/tramp-frame.h
parent3c6f09ef8034926cf383a254a62e4a6fda946a5a (diff)
downloadgdb-e4af005e4ad58885f85664d46658b5ac591f86f6.tar.gz
* trad-frame.c (struct trad_frame_cache): Rename next_frame to this_frame.
(trad_frame_cache_zalloc, trad_frame_alloc_saved_regs): Expect this_frame. (trad_frame_get_prev_register, trad_frame_get_register): Update signature. * trad-frame.h (trad_frame_cache_zalloc, trad_frame_get_register) (trad_frame_alloc_saved_regs, trad_frame_get_prev_register): Update signature. * tramp-frame.c (tramp_frame_cache, tramp_frame_start): Expect this_frame. (tramp_frame_this_id, tramp_frame_prev_register, tramp_frame_sniffer): Update signature. * tramp-frame.h (struct tramp_frame): Update signature of init. * Makefile.in (trad-frame.o): Update.
Diffstat (limited to 'gdb/tramp-frame.h')
-rw-r--r--gdb/tramp-frame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tramp-frame.h b/gdb/tramp-frame.h
index 07100a5befa..3f73e85c1c8 100644
--- a/gdb/tramp-frame.h
+++ b/gdb/tramp-frame.h
@@ -66,7 +66,7 @@ struct tramp_frame
/* Initialize a trad-frame cache corresponding to the tramp-frame.
FUNC is the address of the instruction TRAMP[0] in memory. */
void (*init) (const struct tramp_frame *self,
- struct frame_info *next_frame,
+ struct frame_info *this_frame,
struct trad_frame_cache *this_cache,
CORE_ADDR func);
};