summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.btrace
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2015-01-23 15:13:20 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2015-03-25 14:15:07 +0100
commit11cc1b74538286b8bc775057fe1300707b3e3520 (patch)
treee55484e75270addfafde0e01f089f6e420ff46b0 /gdb/testsuite/gdb.btrace
parentbb383c6cf1ea43193ef9f407a3b7c3bdee9f5fa1 (diff)
btrace: increase buffer size for exception test
The trace for throwing and catching an exception can be quite big. Increase the buffer size to avoid spurious fails. testsuite/ * gdb.btrace/exception.exp: Increase BTS buffer size.
Diffstat (limited to 'gdb/testsuite/gdb.btrace')
-rwxr-xr-xgdb/testsuite/gdb.btrace/exception.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.btrace/exception.exp b/gdb/testsuite/gdb.btrace/exception.exp
index 9148eb1789..0c432736ca 100755
--- a/gdb/testsuite/gdb.btrace/exception.exp
+++ b/gdb/testsuite/gdb.btrace/exception.exp
@@ -40,6 +40,8 @@ gdb_breakpoint $bp_2
# trace the code between the two breakpoints
gdb_continue_to_breakpoint "cont to bp.1" ".*$srcfile:$bp_1\r\n.*"
+# increase the BTS buffer size - the trace can be quite big
+gdb_test_no_output "set record btrace bts buffer-size 128000"
gdb_test_no_output "record btrace"
gdb_continue_to_breakpoint "cont to bp.2" ".*$srcfile:$bp_2\r\n.*"