-# Copyright 1998-2015 Free Software Foundation, Inc.
+# Copyright 1998-2020 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
standard_testfile
-if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug nowarnings}]} {
+if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug nowarnings nopie}]} {
return -1
}
global decimal
setup_tracepoints
- gdb_test "break end" "Breakpoint $decimal.*" "breakpoint at end"
+ gdb_breakpoint "end" qualified
gdb_test "tstart" "\[\r\n\]*" "start trace experiment"
gdb_test "continue" "Continuing.*Breakpoint \[0-9\]+, end.*" \
"run to end"
with_test_prefix "frame size" {
set_a_tracepoint func0
- gdb_test "break end" "Breakpoint $decimal.*" "breakpoint at end"
+ gdb_breakpoint "end" qualified
gdb_test "tstart" "\[\r\n\]*" "start trace"