This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] s/bfd_byte/gdb_byte/g in mips-tdep.c


Committed as obvious,

Mark


Index: ChangeLog
from  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.

Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.381
diff -u -p -r1.381 mips-tdep.c
--- mips-tdep.c 14 May 2005 19:43:18 -0000 1.381
+++ mips-tdep.c 25 Jun 2005 11:57:30 -0000
@@ -312,8 +312,8 @@ msymbol_is_special (struct minimal_symbo
 
 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 *g
       /* 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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]