* i386-tdep.h (i386_supply_gregset): Provide prototype.

* i386-tdep.c (i386_supply_gregset): Make public.
This commit is contained in:
Mark Kettenis 2003-11-16 15:07:00 +00:00
parent 6771c42750
commit 20187ed5b4
3 changed files with 13 additions and 1 deletions

View File

@ -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.

View File

@ -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)
{

View File

@ -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 *