This is the mail archive of the gdb@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: Ada's formats


> I looked at the pascal specifics:
> 
> the only real difference is that the hexadecimal number
> are printed as $ab34 instead of 0xab34 for C language,
> but I remember that I got some comments that I
> should remove this because the parser does not support
> the parsing of $ab34 as a hexadecimal number, as this would
> interfere with the gdb variables...

There is one other discrepancy in Pascal: it specifies something for the
binary format as well:

 {"", "%", "b", ""},		/* Binary format info */

as opposed to C's

  {"", "", "", ""},		/* Binary format info */

Pascal appears to be the only language that uses something other than this
latter format for binary.

Paul


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