Ada's formats
Paul Hilfinger
hilfingr@gnat.com
Thu Sep 2 07:16:00 GMT 2004
> 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
More information about the Gdb
mailing list