+2004-08-01 Andrew Cagney <cagney@gnu.org>
+
+ * trad-frame.c (trad_frame_get_this_base)
+ (trad_frame_set_this_base, trad_frame_set_reg_realreg): New
+ functions.
+ * trad-frame.h (trad_frame_set_this_base)
+ (trad_frame_get_this_base, trad_frame_set_reg_realreg): Declare.
+
2004-07-31 Andrew Cagney <cagney@gnu.org>
* trad-frame.c (trad_frame_get_prev_register): Rename
this_saved_regs[regnum].addr = val;
}
+void
+trad_frame_set_reg_realreg (struct trad_frame_cache *this_trad_cache,
+ int regnum, int realreg)
+{
+ this_trad_cache->prev_regs[regnum].realreg = realreg;
+ this_trad_cache->prev_regs[regnum].addr = -1;
+}
+
void
trad_frame_set_reg_addr (struct trad_frame_cache *this_trad_cache,
int regnum, CORE_ADDR addr)
{
(*this_id) = this_trad_cache->this_id;
}
+
+void
+trad_frame_set_this_base (struct trad_frame_cache *this_trad_cache,
+ CORE_ADDR this_base)
+{
+ this_trad_cache->this_base = this_base;
+}
+
+CORE_ADDR
+trad_frame_get_this_base (struct trad_frame_cache *this_trad_cache)
+{
+ return this_trad_cache->this_base;
+}
struct frame_id this_id);
void trad_frame_get_id (struct trad_frame_cache *this_trad_cache,
struct frame_id *this_id);
+void trad_frame_set_this_base (struct trad_frame_cache *this_trad_cache,
+ CORE_ADDR this_base);
+CORE_ADDR trad_frame_get_this_base (struct trad_frame_cache *this_trad_cache);
+void trad_frame_set_reg_realreg (struct trad_frame_cache *this_trad_cache,
+ int regnum, int realreg);
void trad_frame_set_reg_unknown (struct trad_frame_cache *this_trad_cache,
int regnum, CORE_ADDR addr);
void trad_frame_set_reg_addr (struct trad_frame_cache *this_trad_cache,