This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project. See the GDB
home page for more information.
Re: A gdb 4.17 patch for linux/x86
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: A gdb 4.17 patch for linux/x86
- From: Stu Grossman <grossman@cygnus.com>
- Date: Tue, 26 May 1998 16:44:30 -0700 (PDT)
- Cc: billm@melbpc.org.au (Bill Metzenthen), gdb@cygnus.com, linux-gcc@vger.rutgers.edu (linuxgcc), kjahds@kjahds.com (Kenneth Albanowski), lmfken@lmf.ericsson.se (Kenneth Osterberg), ian@lasermoon.co.uk, mat@lcs.mit.edu (Mat Hostetter), doughera@lafcol.lafayette.edu (Andy Dougherty), brian@mathworks.com (Brian Bourgault), john@etools.com (John W. Christy), craig@metrolink.com (Craig Groeschel), imp@village.org (Warner Losh), robf@Willows.Com (Rob Farnum), meissner@cygnus.com (Michael Meissner), rfg@monkeys.com (Ron Guilmette), roell@xinside.com (Thomas Roell), burley@gnu.org (Craig Burley), linux-binutils-in@polstra.com (John Polstra), galenh@micron.net (Galen Hazelwood), ralf@mailhost.uni-koblenz.de (Ralf Baechle), libc-hacker@cygnus.com (GNU C Library)
- References: <199805250910.TAA00351@melbpc.org.au><m0yeRcW-000268C@ocean.lucon.org>
The changes to the C expression parser are bad. They cause any 20 digit hex
number to be converted to a raw DOUBLEST value. If you *really* want to
implement something like that, you have to come up with an unambiguous syntax.
The current scheme will cause unexpected results if you (reasonably) expect to
use a 20 digit integer.
Stu