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]

Re: [PATCH] Add support for Tilera TILE-Gx processor (part 1/2: gdb)


On 04/23/2012 08:58 PM, Jeff Kenton wrote:

> +                  /* This is a special case. We're fixing up the stack frame.  */
> +                  unsigned long long hopefully_sp =
> +                    (unsigned)reverse_frame[operands[1]].value;
> +                  short op2_as_short = (short)operands[2];
> +                  signed char op2_as_char = (signed char)operands[2];
> +


We avoid long long as it's not C90.  I didn't look closely, but is this
code all host/endian independent?

-- 
Pedro Alves


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