This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Ada's formats
- From: Paul Hilfinger <hilfingr at gnat dot com>
- To: muller at ics dot u-strasbg dot fr
- Cc: cagney at gnu dot org, brobecker at gnat dot com, gdb at sources dot redhat dot com
- Date: Thu, 2 Sep 2004 03:16:22 -0400 (EDT)
- Subject: Re: Ada's formats
- References: <20040804090425.B2400F2A00@nile.gnat.com> <4110F576.7000102@gnu.org> <20040811103838.3C396F28FC@nile.gnat.com> <411AA0A9.3060506@gnu.org> <55713.204.151.174.7.1094055261.squirrel@websd.u-strasbg.fr>
> 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