From: Markus Metzger Date: Fri, 11 Sep 2015 07:26:21 +0000 (+0200) Subject: btrace, test: remove buffer-size test with unlimited buffer size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=157280a4d6b8c49703c698bda5546d7b2cc21e35;p=binutils-gdb.git btrace, test: remove buffer-size test with unlimited buffer size The gdb.btrace/buffer-size.exp test starts recording with an unlimited buffer size. This will, for a short time, use up most if not all BTS resources. I don' think this test is necessary. Remove it. testsuite/ * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS buffer size test. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7753bdb47ef..e135b564056 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-09-14 Markus Metzger + + * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS + buffer size test. + 2015-09-11 Don Breazeal * gdb.base/foll-exec.c: Add copyright header. Fix diff --git a/gdb/testsuite/gdb.btrace/buffer-size.exp b/gdb/testsuite/gdb.btrace/buffer-size.exp index 86d8270056b..77290d15d90 100644 --- a/gdb/testsuite/gdb.btrace/buffer-size.exp +++ b/gdb/testsuite/gdb.btrace/buffer-size.exp @@ -44,14 +44,4 @@ gdb_test "info record" [multi_line \ gdb_test "record stop" ".*" "stop recording with small bts buffer" gdb_test_no_output "set record btrace bts buffer-size 0" -gdb_test "show record btrace bts buffer-size" "The record/replay bts buffer size is unlimited\.\r" "unlimited bts buffer size before recording" - -gdb_test_no_output "record btrace bts" -gdb_test "show record btrace bts buffer-size" "The record/replay bts buffer size is unlimited\.\r" "unlimited bts buffer size while recording" -gdb_test "info record" [multi_line \ - "Active record target: record-btrace" \ - "Recording format: Branch Trace Store\." \ - "Buffer size: .*\." \ - "Recorded 0 instructions in 0 functions \\\(0 gaps\\\) for \[^\\\r\\\n\]*" \ - ] "info record with unlimited bts buffer" -gdb_test "record stop" ".*" "stop recording with unlimited bts buffer" +gdb_test "show record btrace bts buffer-size" "The record/replay bts buffer size is unlimited\.\r" "unlimited bts buffer size"