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] |
On Tuesday 25 October 2011 18:18:42, Pedro Alves wrote: > > + { > > + const char r0_value[8] = {0x00, 0x00, 0x00, 0x00, > > + 0x00, 0x00, 0x00, 0x00}; > > FYI, in C, this is equivalent to: > > const char r0_value[8] = { 0 }; > > I'd write it as: > > const char zero[8] = { 0 }; > Actually, const s/char/gdb_byte/ too. :-) -- Pedro Alves
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |