From 870cd05e2401af660a76d8b2c65674eef1d307f9 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 25 Jun 2005 11:58:35 +0000 Subject: [PATCH] * mips-tdep.c (mips_xfer_register, mips_o32_return_value) (mips_integer_to_address): Use gdb_byte instead of bfd_byte. --- gdb/ChangeLog | 5 +++++ gdb/mips-tdep.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0882c5b3cb4..90f77a0b54e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2005-06-25 Mark Kettenis + + * 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 * ppcobsd-nat.c: Include "gdbcore.h", , diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index ff8669252aa..ca2b6e89cf0 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); -- 2.30.2