aboutsummaryrefslogtreecommitdiff
path: root/gdb/tramp-frame.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-04-30 21:19:10 +0000
committerDaniel Jacobowitz <drow@false.org>2008-04-30 21:19:10 +0000
commit25492ce3f9c588d98d1284c04990491dc5056b15 (patch)
treee635fb5c3959dca6150e77d34cf4426eedc15fdf /gdb/tramp-frame.h
parent4a4e51493775a8b68df6fe1c1e364aefed060fb9 (diff)
downloadgdb-25492ce3f9c588d98d1284c04990491dc5056b15.zip
gdb-25492ce3f9c588d98d1284c04990491dc5056b15.tar.gz
gdb-25492ce3f9c588d98d1284c04990491dc5056b15.tar.bz2
* 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 07100a5..3f73e85 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);
};