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]

Re: RFA: char is unsigned on some architectures


Jim Blandy wrote:
> 
> ISO C specifies that `char' acts like either `signed char' or
> `unsigned char'.  At the moment, GDB assumes that `char' is `signed
> char'.  This patch allows the architecture to specify the correct
> answer, and sets the value correctly for the IBM S/390 architecture.
> 
> 2001-12-19  Jim Blandy  <jimb@redhat.com>
> 
>         * gdbarch.sh (TARGET_CHAR_SIGNED): New macro.

This new macro should be documented in gdbint.texinfo, I think.


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