aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-06-25 11:58:35 +0000
committerMark Kettenis <kettenis@gnu.org>2005-06-25 11:58:35 +0000
commit870cd05e2401af660a76d8b2c65674eef1d307f9 (patch)
tree9acf9d9cd224ea5f3e3ef19744743b29032b793a /gdb
parent57b025345d3f38ac44e73a9c63de27f04f532cb8 (diff)
downloadgdb-870cd05e2401af660a76d8b2c65674eef1d307f9.zip
gdb-870cd05e2401af660a76d8b2c65674eef1d307f9.tar.gz
gdb-870cd05e2401af660a76d8b2c65674eef1d307f9.tar.bz2
* mips-tdep.c (mips_xfer_register, mips_o32_return_value)
(mips_integer_to_address): Use gdb_byte instead of bfd_byte.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mips-tdep.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0882c5b..90f77a0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-25 Mark Kettenis <kettenis@gnu.org>
+
+ * mips-tdep.c (mips_xfer_register, mips_o32_return_value)
+ (mips_integer_to_address): Use gdb_byte instead of bfd_byte.
+
2005-06-24 Mark Kettenis <kettenis@gnu.org>
* ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index ff86692..ca2b6e8 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -312,8 +312,8 @@ msymbol_is_special (struct minimal_symbol *msym)
static void
mips_xfer_register (struct regcache *regcache, int reg_num, int length,
- enum bfd_endian endian, bfd_byte * in,
- const bfd_byte * out, int buf_offset)
+ enum bfd_endian endian, gdb_byte *in,
+ const gdb_byte *out, int buf_offset)
{
int reg_offset = 0;
gdb_assert (reg_num >= NUM_REGS);
@@ -3386,7 +3386,7 @@ mips_o32_return_value (struct gdbarch *gdbarch, struct type *type,
/* A struct that contains one or two floats. Each value is part
in the least significant part of their floating point
register.. */
- bfd_byte reg[MAX_REGISTER_SIZE];
+ gdb_byte reg[MAX_REGISTER_SIZE];
int regnum;
int field;
for (field = 0, regnum = mips_regnum (current_gdbarch)->fp0;
@@ -4611,7 +4611,7 @@ mips_register_sim_regno (int regnum)
static CORE_ADDR
mips_integer_to_address (struct gdbarch *gdbarch,
- struct type *type, const bfd_byte *buf)
+ struct type *type, const gdb_byte *buf)
{
gdb_byte *tmp = alloca (TYPE_LENGTH (builtin_type_void_data_ptr));
LONGEST val = unpack_long (type, buf);