summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.linespec
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2015-08-13 11:56:50 -0700
committerKeith Seitz <keiths@redhat.com>2015-08-17 11:57:01 -0700
commitad89c2aa677c28c76ffd5a35e2b36eece4d82597 (patch)
treed26bc77b6de3ef62ec02b3bae117b18f86bcbb10 /gdb/testsuite/gdb.linespec
parent2309f875707215e9b6dfbd9af866f6ead3ccaff5 (diff)
Move strace -m/explicit location test to strace.exp
One of the build slaves shows this error running explicit.exp: (gdb) strace -m gdbfoobarbaz Remote failure reply: E.In-process agent library not loaded in process. Fast and static tracepoints unavailable. (gdb) FAIL: gdb.linespec/explicit.exp: strace -m gdbfoobarbaz There are two big problems with this test: 1) The expected output is actually not what the test is meant to test for. 2) This test should really only run where it is supported. This is most easily fixed by moving the test to gdb.trace/strace.exp. gdb/testsuite/ChangeLog * gdb.linespec/explicit.exp: Move strace test from here ... * gdb.trace/strace.exp: ... to here.
Diffstat (limited to 'gdb/testsuite/gdb.linespec')
-rw-r--r--gdb/testsuite/gdb.linespec/explicit.exp4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.linespec/explicit.exp b/gdb/testsuite/gdb.linespec/explicit.exp
index 344f1b008d..a0851cdc5d 100644
--- a/gdb/testsuite/gdb.linespec/explicit.exp
+++ b/gdb/testsuite/gdb.linespec/explicit.exp
@@ -86,10 +86,6 @@ namespace eval $testfile {
add linespecs "-function myfunction -label top -line 3" $location(top)
add linespecs "-line 3" $location(normal)
- # Test that static tracepoints on marker ID are not interpreted
- # as an erroneous explicit option.
- gdb_test "strace -m gdbfoobarbaz" "You can't do that.*"
-
# Fire up gdb.
if {![runto_main]} {
return -1