diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-11-16 15:07:00 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-11-16 15:07:00 +0000 |
commit | 20187ed5b45c7be5c2d411e423aabc60f4fee724 (patch) | |
tree | 7f0b2864c733268013f0b247ef92c6b8aa2904cc | |
parent | 6771c42750e8d35044dcb3506947c8fe46f74cda (diff) | |
download | gdb-20187ed5b45c7be5c2d411e423aabc60f4fee724.zip gdb-20187ed5b45c7be5c2d411e423aabc60f4fee724.tar.gz gdb-20187ed5b45c7be5c2d411e423aabc60f4fee724.tar.bz2 |
* i386-tdep.h (i386_supply_gregset): Provide prototype.
* i386-tdep.c (i386_supply_gregset): Make public.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 2 | ||||
-rw-r--r-- | gdb/i386-tdep.h | 7 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c73118d..c778c66 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-11-16 Mark Kettenis <kettenis@gnu.org> + + * i386-tdep.h (i386_supply_gregset): Provide prototype. + * i386-tdep.c (i386_supply_gregset): Make public. + 2003-11-16 Andrew Cagney <cagney@redhat.com> * mips-tdep.c (mips_register_byte): Delete function. diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 8b339ce..120b78c 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -1547,7 +1547,7 @@ i386_value_to_register (struct frame_info *frame, int regnum, to register cache REGCACHE. If REGNUM is -1, do this for all registers in REGSET. */ -static void +void i386_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len) { diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 2c48979..c261e38 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -188,6 +188,13 @@ extern char const *i386_register_name (int reg); extern int i386_register_reggroup_p (struct gdbarch *gdbarch, int regnum, struct reggroup *group); +/* Supply register REGNUM from the general-purpose register set REGSET + to register cache REGCACHE. If REGNUM is -1, do this for all + registers in REGSET. */ +extern void i386_supply_gregset (const struct regset *regset, + struct regcache *regcache, int regnum, + const void *gregs, size_t len); + /* Return the appropriate register set for the core section identified by SECT_NAME and SECT_SIZE. */ extern const struct regset * |