diff options
author | Keith Seitz <keiths@redhat.com> | 2012-07-30 17:45:37 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2012-07-30 17:45:37 +0000 |
commit | eff9c3e636220ad8610d42d696a36a3a3f68dbfb (patch) | |
tree | 6d94700755fab78635e6364def8d66618d780fab /gdb/testsuite/gdb.linespec | |
parent | 728400d7698631b5f58f222c1506a2e30ca2aa2d (diff) | |
download | gdb-eff9c3e636220ad8610d42d696a36a3a3f68dbfb.zip gdb-eff9c3e636220ad8610d42d696a36a3a3f68dbfb.tar.gz gdb-eff9c3e636220ad8610d42d696a36a3a3f68dbfb.tar.bz2 |
* linespec.c (linespec_lex_number): A number followed
by quotes is a valid number, too.
* gdb.linespec/ls-errs.exp: Check some quote-enclosed
linespecs.
Diffstat (limited to 'gdb/testsuite/gdb.linespec')
-rw-r--r-- | gdb/testsuite/gdb.linespec/ls-errs.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.linespec/ls-errs.exp b/gdb/testsuite/gdb.linespec/ls-errs.exp index 7db8ae4..5668397 100644 --- a/gdb/testsuite/gdb.linespec/ls-errs.exp +++ b/gdb/testsuite/gdb.linespec/ls-errs.exp @@ -146,6 +146,8 @@ add the_tests "$srcfile:3 foo" unexpected_opt "string" "foo" foreach x $invalid_offsets { add the_tests "$srcfile:$x" invalid_offset_f $x $srcfile + add the_tests "\"$srcfile:$x\"" invalid_offset_f $x $srcfile + add the_tests "'$srcfile:$x'" invalid_offset_f $x $srcfile } # Test invalid filespecs starting with function. |