[gdb/testsuite] Don't require gold for gdb.base/morestack.exp
authorTom de Vries <tdevries@suse.de>
Mon, 4 Jan 2021 15:48:48 +0000 (16:48 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 4 Jan 2021 15:48:48 +0000 (16:48 +0100)
commitc5e71b3332279ece95a7872aee2890af3ee047b4
tree1f412b107a4e9eb66b6cce3238e3af7350b91d40
parent098caef485a4ece6096e6cdbb4cd9726e4a13386
[gdb/testsuite] Don't require gold for gdb.base/morestack.exp

While working on PR26935 I noticed that the test-case requires the gold
linker, but doesn't really need it.

The -fuse-ld=gold was added to support the printf in the test-case, which
prints some information but is not otherwise needed for the test-case.

Fix this by removing the printf and the corresponding -fuse-ld=gold.

Tested on x86_64-linux.

Also checked that the test still fails when the fix from the commit that added
the test-case is reverted.

gdb/testsuite/ChangeLog:

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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/morestack.c
gdb/testsuite/gdb.base/morestack.exp
This page took 0.027487 seconds and 4 git commands to generate.