diff options
author | Michael Snyder <msnyder@vmware.com> | 2005-03-05 01:57:20 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2005-03-05 01:57:20 +0000 |
commit | 61e784e7879ce68799eeb3372fe1b65c8212ec4b (patch) | |
tree | a112d8a874ba7ca987255443705a475e9e46f2bc /gdb/trad-frame.c | |
parent | bbe506e8ba9444fb4a00ba66762a2c498443e1b6 (diff) | |
download | gdb-61e784e7879ce68799eeb3372fe1b65c8212ec4b.zip gdb-61e784e7879ce68799eeb3372fe1b65c8212ec4b.tar.gz gdb-61e784e7879ce68799eeb3372fe1b65c8212ec4b.tar.bz2 |
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.
Diffstat (limited to 'gdb/trad-frame.c')
-rw-r--r-- | gdb/trad-frame.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/trad-frame.c b/gdb/trad-frame.c index 8eef3f1..339ee34 100644 --- a/gdb/trad-frame.c +++ b/gdb/trad-frame.c @@ -98,6 +98,15 @@ trad_frame_set_value (struct trad_frame_saved_reg this_saved_regs[], } 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) { |