* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use

gdb_byte instead of bfd_byte.
This commit is contained in:
Mark Kettenis 2005-05-14 19:46:10 +00:00
parent 47a355223d
commit 156cdbee49
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2005-05-14 Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
gdb_byte instead of bfd_byte.
* mips-tdep.c (mips_pseudo_register_read)
(mips_pseudo_register_write): Change type of last argument to
`gdb_byte *'.

View File

@ -1772,7 +1772,7 @@ i386_supply_gregset (const struct regset *regset, struct regcache *regcache,
int regnum, const void *gregs, size_t len)
{
const struct gdbarch_tdep *tdep = gdbarch_tdep (regset->arch);
const bfd_byte *regs = gregs;
const gdb_byte *regs = gregs;
int i;
gdb_assert (len == tdep->sizeof_gregset);
@ -1796,7 +1796,7 @@ i386_collect_gregset (const struct regset *regset,
int regnum, void *gregs, size_t len)
{
const struct gdbarch_tdep *tdep = gdbarch_tdep (regset->arch);
bfd_byte *regs = gregs;
gdb_byte *regs = gregs;
int i;
gdb_assert (len == tdep->sizeof_gregset);