diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2015-01-23 15:13:20 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2015-03-25 14:15:07 +0100 |
commit | 11cc1b74538286b8bc775057fe1300707b3e3520 (patch) | |
tree | e55484e75270addfafde0e01f089f6e420ff46b0 /gdb | |
parent | bb383c6cf1ea43193ef9f407a3b7c3bdee9f5fa1 (diff) | |
download | gdb-11cc1b74538286b8bc775057fe1300707b3e3520.zip gdb-11cc1b74538286b8bc775057fe1300707b3e3520.tar.gz gdb-11cc1b74538286b8bc775057fe1300707b3e3520.tar.bz2 |
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')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rwxr-xr-x | gdb/testsuite/gdb.btrace/exception.exp | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9d9c086..f066b8a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-03-25 Markus Metzger <markus.t.metzger@intel.com> + + * gdb.btrace/exception.exp: Increase BTS buffer size. + 2015-03-24 Pedro Alves <palves@redhat.com> * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all". diff --git a/gdb/testsuite/gdb.btrace/exception.exp b/gdb/testsuite/gdb.btrace/exception.exp index 9148eb1..0c43273 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.*" |