This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000.
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org, yao dot qi at linaro dot org
- Date: Sun, 26 Jul 2015 08:26:52 -0700
- Subject: [PATCH] single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000.
- Authentication-results: sourceware.org; auth=none
Hi.
single-step.exp takes a while to run, and while that's not necessarily
bad, here it's because the default value of SINGLE_STEP_COUNT is 10,000.
We're not going to gain any more insight into perf issues
single-stepping (stepi) 10,000 times over 1,000 times,
so this patch changes the default to 1,000.
IWBN to rename "single-step" to something like "single-stepi"
or some such as the name is misleading, but that's left for
another patch.
2015-07-26 Doug Evans <xdje42@gmail.com>
* single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000.
diff --git a/gdb/testsuite/gdb.perf/single-step.exp b/gdb/testsuite/gdb.perf/single-step.exp
index d5aa7e2..1b89145 100644
--- a/gdb/testsuite/gdb.perf/single-step.exp
+++ b/gdb/testsuite/gdb.perf/single-step.exp
@@ -29,7 +29,7 @@ set expfile $testfile.exp
# make check-perf RUNTESTFLAGS='single-step.exp SINGLE_STEP_COUNT=300'
if ![info exists SINGLE_STEP_COUNT] {
- set SINGLE_STEP_COUNT 10000
+ set SINGLE_STEP_COUNT 1000
}
PerfTest::assemble {