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.
This commit is contained in:
Michael Snyder 2005-03-05 01:57:20 +00:00
parent bbe506e8ba
commit 61e784e787
3 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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.

View file

@ -97,6 +97,15 @@ trad_frame_set_value (struct trad_frame_saved_reg this_saved_regs[],
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)

View file

@ -49,6 +49,9 @@ 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,
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,