This is the mail archive of the gdb-patches@sourceware.org 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]

char buf[] -> gdb_byte[] (was: Re: [RFC/TileGX] fix longjmp bug)


On 03/01/2013 10:31 AM, Pedro Alves wrote:
>> > +/* This is the implementation of gdbarch method get_longjmp_target.  */
>> > +
>> > +static int
>> > +tilegx_get_longjmp_target (struct frame_info *frame, CORE_ADDR *pc)
>> > +{
>> > +  struct gdbarch *gdbarch = get_frame_arch (frame);
>> > +  enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
>> > +  CORE_ADDR jb_addr;
>> > +  char buf[8];
> s/char/gdb_byte/.
> 

BTW, clearly this was a copy paste from some other port.

I'm going through the tree grepping for "char buf[" and
fixing all I find.

-- 
Pedro Alves


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