* trad-frame.c (trad_frame_set_reg_value): New function.
* trad-frame.h (trad_frame_set_reg_value): Export.
+2005-03-04 Michael Snyder <msnyder@redhat.com>
+
+ * trad-frame.c (trad_frame_set_reg_value): New function.
+ * trad-frame.h (trad_frame_set_reg_value): Export.
+
2005-03-04 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (remote.o): Update dependencies.
this_saved_regs[regnum].addr = val;
}
+void
+trad_frame_set_reg_value (struct trad_frame_cache *this_trad_cache,
+ int regnum, LONGEST val)
+{
+ /* External interface for users of trad_frame_cache
+ (who cannot access the prev_regs object directly). */
+ trad_frame_set_value (this_trad_cache->prev_regs, regnum, val);
+}
+
void
trad_frame_set_reg_realreg (struct trad_frame_cache *this_trad_cache,
int regnum, int realreg)
int regnum, CORE_ADDR addr);
void trad_frame_set_reg_addr (struct trad_frame_cache *this_trad_cache,
int regnum, CORE_ADDR addr);
+void trad_frame_set_reg_value (struct trad_frame_cache *this_cache,
+ int regnum, LONGEST val);
+
void trad_frame_get_register (struct trad_frame_cache *this_trad_cache,
struct frame_info *next_frame,
int regnum, int *optimizedp,