This is the mail archive of the
mailing list for the GDB project.
Re: Quoting regression
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: Quoting regression
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Mon, 19 Mar 2001 12:59:31 -0500
- CC: GDB Discussion <gdb at sources dot redhat dot com>, Keith Seitz <keiths at cygnus dot com>, "Martin M. Hunt" <hunt at redhat dot com>
- Organization: Red Hat Canada
- References: <3AB64345.email@example.com>
Andrew Cagney wrote:
> While reviewing the MI test results I came across a SAL quoting
> failure. A quick check and the same problem occures with a non-mi GDB
> (gdb) b main
> Breakpoint 1 at 0x8048822: file twofloats.c, line 19.
> (gdb) break twofloats.c:19
> Note: breakpoint 1 also set at pc 0x8048822.
> Breakpoint 2 at 0x8048822: file twofloats.c, line 19.
> (gdb) break "twofloats.c":19
> No source file named twofloats.c".
> Given gdb has a regression testsuite I'm pretty sure that the MI test
> would have been working at at least one point.
Keith and Martin have been trying to get quoting fixed. Each of them
sent a patch to get it one step better.
I wonder if Martin has checked in his patch already (it was approved).
> I had a look for an
> equivalent gdb.base test but I couldn't find one!!!! ???
Please note the following message below (sent to gdb-patches a few days
Fernando Nasser wrote:
> I am adding this to the "Testsuite Support" section of the TODO file.
> Our linespec parsing code is very easy to break. You fix something
> here, break something there. This has been going on for ages. Having a
> good set of tests will help developers a lot (preventing the chain of
> fixes, fixes to fixes, etc. to happen).
> Comments? Volunters?
> Index: TODO
> RCS file: /cvs/src/src/gdb/TODO,v
> retrieving revision 1.65
> diff -c -p -r1.65 TODO
> *** TODO 2001/03/14 22:05:34 1.65
> --- TODO 2001/03/15 15:59:34
> *************** determine of the integer tests are ok.
> *** 958,963 ****
> --- 958,967 ----
> + Create a gdb.base/linespec.exp test and a gdb.c++/linespec2.exp.
> + --
> Architectural Changes: General
Red Hat Canada Ltd. E-Mail: firstname.lastname@example.org
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9