aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/morestack.c5
-rw-r--r--gdb/testsuite/gdb.base/morestack.exp8
3 files changed, 7 insertions, 11 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 0074c8f..36644bb 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2021-01-04 Tom de Vries <tdevries@suse.de>
+
+ * gdb.base/morestack.c: Remove printf.
+ * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
+
2020-12-31 Tom Tromey <tom@tromey.com>
* gdb.rust/simple.exp: Update output for Rust 1.49.
diff --git a/gdb/testsuite/gdb.base/morestack.c b/gdb/testsuite/gdb.base/morestack.c
index 6f9a27e..78ab3db 100644
--- a/gdb/testsuite/gdb.base/morestack.c
+++ b/gdb/testsuite/gdb.base/morestack.c
@@ -62,10 +62,7 @@ down (int i)
static void *last;
if (last && last < (void *) buf)
- {
- printf ("%d: %p < %p\n", i, last, buf);
- marker_hit ();
- }
+ marker_hit ();
last = buf;
if (i == 500)
diff --git a/gdb/testsuite/gdb.base/morestack.exp b/gdb/testsuite/gdb.base/morestack.exp
index 627ae81..99807a2 100644
--- a/gdb/testsuite/gdb.base/morestack.exp
+++ b/gdb/testsuite/gdb.base/morestack.exp
@@ -21,17 +21,11 @@ if {$gcc_compiled == 0} {
return -1
}
-if { [have_fuse_ld_gold] == 0} {
- return -1
-}
-
standard_testfile
-# -fuse-ld=gold is used for calling printf code built without -fsplit-stack
-# which could crash otherwise. See GCC documentation of -fsplit-stack.
set opts "additional_flags=-fsplit-stack"
if { [prepare_for_testing "failed to prepare" ${testfile} $srcfile \
- [list $opts additional_flags=-fuse-ld=gold]] } {
+ [list $opts]] } {
return -1
}