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]

Re: Quoting regression


Andrew Cagney wrote:
> 
> Hello,
> 
> 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
> vis:
> 
> (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".
> (gdb)
> 
> 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
ago):

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?
> 
> Fernando
> 
> 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
>                 ==============================
> 
> 
-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


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