* [PATCH] btrace: increase buffer size for exception test
@ 2015-03-03 11:52 Markus Metzger
2015-03-25 11:21 ` Pedro Alves
0 siblings, 1 reply; 2+ messages in thread
From: Markus Metzger @ 2015-03-03 11:52 UTC (permalink / raw)
To: palves; +Cc: gdb-patches, Jan Kratochvil
The trace for throwing and catching an exception can be quite big.
Increase the buffer size to avoid spurious fails.
CC: Jan Kratochvil <jan.kratochvil@redhat.com>
2015-03-03 Markus Metzger <markus.t.metzger@intel.com>
testsuite/
* gdb.btrace/exception.exp: Increase BTS buffer size.
---
gdb/testsuite/gdb.btrace/exception.exp | 2 ++
1 file changed, 2 insertions(+)
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.*"
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] btrace: increase buffer size for exception test
2015-03-03 11:52 [PATCH] btrace: increase buffer size for exception test Markus Metzger
@ 2015-03-25 11:21 ` Pedro Alves
0 siblings, 0 replies; 2+ messages in thread
From: Pedro Alves @ 2015-03-25 11:21 UTC (permalink / raw)
To: Markus Metzger; +Cc: gdb-patches, Jan Kratochvil
On 03/03/2015 11:52 AM, Markus Metzger wrote:
> The trace for throwing and catching an exception can be quite big.
> Increase the buffer size to avoid spurious fails.
>
> CC: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> 2015-03-03 Markus Metzger <markus.t.metzger@intel.com>
>
> testsuite/
> * gdb.btrace/exception.exp: Increase BTS buffer size.
OK.
Thanks,
Pedro Alves
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-25 11:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 11:52 [PATCH] btrace: increase buffer size for exception test Markus Metzger
2015-03-25 11:21 ` Pedro Alves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).