* [RFA] breakpoints/13798 and mi/11541 (tests only)
@ 2012-06-13 17:54 Keith Seitz
2012-06-13 18:00 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2012-06-13 17:54 UTC (permalink / raw)
To: gdb-patches@sourceware.org ml
[-- Attachment #1: Type: text/plain, Size: 446 bytes --]
Hi,
Both of the bugs involve filenames with spaces and colons. The linespec
parser rewrite fixed these bugs, and while there were a few tests that
dealt with these cases already, I'd like to add a couple more just to
cover some additional bases.
Ok?
testsuite/ChangeLog
2012-06-13 Keith Seitz <keiths@redhat.com>
PR breakpoints/13798 and mi/11541
* gdb.linespec/ls-errs.exp: Add a few more tests for
filenames with spaces and colons.
[-- Attachment #2: 11541-13798.patch --]
[-- Type: text/x-patch, Size: 847 bytes --]
Index: testsuite/gdb.linespec/ls-errs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.linespec/ls-errs.exp,v
retrieving revision 1.1
diff -u -p -r1.1 ls-errs.exp
--- testsuite/gdb.linespec/ls-errs.exp 5 Apr 2012 18:50:29 -0000 1.1
+++ testsuite/gdb.linespec/ls-errs.exp 13 Jun 2012 17:53:14 -0000
@@ -116,7 +116,9 @@ foreach x [list "this_file_doesn't_exist
"\"this \"file\" has quotes.c\"" \
"'this \"file\" has quotes.c'" \
"'this 'file' has quotes.c'" \
- "\"this 'file' has quotes.c\""] {
+ "\"this 'file' has quotes.c\"" \
+ "\"spaces: and :colons.c\"" \
+ "'more: :spaces: :and colons::.c'"] {
# Remove any quoting from FILENAME for the error message.
add the_tests "$x:3" invalid_file [string trim $x \"']
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] breakpoints/13798 and mi/11541 (tests only)
2012-06-13 17:54 [RFA] breakpoints/13798 and mi/11541 (tests only) Keith Seitz
@ 2012-06-13 18:00 ` Tom Tromey
2012-06-13 18:12 ` Keith Seitz
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2012-06-13 18:00 UTC (permalink / raw)
To: Keith Seitz; +Cc: gdb-patches@sourceware.org ml
>>>>> "Keith" == Keith Seitz <kseitz@uglyboxes.com> writes:
Keith> 2012-06-13 Keith Seitz <keiths@redhat.com>
Keith> PR breakpoints/13798 and mi/11541
Keith> * gdb.linespec/ls-errs.exp: Add a few more tests for
Keith> filenames with spaces and colons.
Keith> Index: testsuite/gdb.linespec/ls-errs.exp
Ok.
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] breakpoints/13798 and mi/11541 (tests only)
2012-06-13 18:00 ` Tom Tromey
@ 2012-06-13 18:12 ` Keith Seitz
0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2012-06-13 18:12 UTC (permalink / raw)
To: gdb-patches@sourceware.org ml
On 06/13/2012 11:00 AM, Tom Tromey wrote:
>>>>>> "Keith" == Keith Seitz<kseitz@uglyboxes.com> writes:
>
> Keith> 2012-06-13 Keith Seitz<keiths@redhat.com>
>
> Keith> PR breakpoints/13798 and mi/11541
> Keith> * gdb.linespec/ls-errs.exp: Add a few more tests for
> Keith> filenames with spaces and colons.
> Keith> Index: testsuite/gdb.linespec/ls-errs.exp
>
> Ok.
Committed. Thank you for taking a look. I'm glad to be able to pass you
an easy one occasionally. :-)
Keith
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-13 18:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13 17:54 [RFA] breakpoints/13798 and mi/11541 (tests only) Keith Seitz
2012-06-13 18:00 ` Tom Tromey
2012-06-13 18:12 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox