aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/i386-tdep.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 611a65b..9b62003 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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 *'.
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index ce2ad81..0b7777c 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -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);