From: Tom de Vries Date: Mon, 9 Feb 2026 07:25:18 +0000 (+0100) Subject: [gdb/testsuite] Remove boards/stabs.exp X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=992fef963caf28093a9a504cc80d8345dddf3290;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite] Remove boards/stabs.exp Remove boards/stabs.exp, and some references to it. While we're at it, also remove obsolete references to gdb.stabs. Approved-By: Tom Tromey --- diff --git a/gdb/testsuite/README b/gdb/testsuite/README index c5d42982004..60fd322ea4d 100644 --- a/gdb/testsuite/README +++ b/gdb/testsuite/README @@ -696,8 +696,7 @@ Architecture-specific tests that are (usually) cross-platform. gdb. Tests that exercise a specific GDB subsystem in more depth. For -instance, gdb.disasm exercises various disassemblers, while -gdb.stabs tests pathways through the stabs symbol reader. +instance, gdb.disasm exercises various disassemblers. gdb.perf diff --git a/gdb/testsuite/boards/README b/gdb/testsuite/boards/README index b881ad4bb34..d9e5d06de10 100644 --- a/gdb/testsuite/boards/README +++ b/gdb/testsuite/boards/README @@ -34,8 +34,6 @@ gold.exp Add -fuse-ld=gold. gold-gdb-index.exp Add -fuse-ld=gold -Wl,--gdb-index -ggnu-pubnames -stabs.exp - Add -gstabs+. # Test -gsplit-dwarf. fission.exp diff --git a/gdb/testsuite/boards/stabs.exp b/gdb/testsuite/boards/stabs.exp deleted file mode 100644 index 04a86500a35..00000000000 --- a/gdb/testsuite/boards/stabs.exp +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2014-2026 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# This file is a dejagnu "board file" and is used to run the testsuite -# with stabs support. Stabs is used less and less these days, ideally -# it will eventually disappear (hey, one can dream). Until then, this -# board file is a simple way to run the testsuite with stabs. -# -# Example usage: -# bash$ make check RUNTESTFLAGS='--target_board=stabs' -# -# Another way: -# make check RUNTESTFLAGS="--target_board=unix/gdb:debug_flags=-gstabs+" -# While this way doesn't require a board file, this file exists because -# it's easier for some to find. -# -# Note: make check RUNTESTFLAGS=CFLAGS_FOR_TARGET=-gstabs+ -# "works" but kinda accidentally. The right way to set the flag for -# specifying debug information is with the debug_flags board config parameter. - -# This is copied from baseboards/unix.exp. -# At the moment this only supports things that unix.exp supports. -load_generic_config "unix" -process_multilib_options "" -set_board_info compiler "[find_gcc]" - -# Use -gstabs+ instead of -gstabs for better c++ support. -set_board_info debug_flags "-gstabs+" - -# This is needed otherwise dejagnu tries to rsh to host "stabs". -load_board_description "local-board" diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 0663f55013d..8e3b18de09c 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2503,8 +2503,8 @@ proc default_gdb_exit {} { # but ran into a mess because of the many re-implementations of # gdb_load in config/*.exp. # -# TODO: gdb.base/sepdebug.exp and gdb.stabs/weird.exp might be able to use -# this if they can get more information set. +# TODO: gdb.base/sepdebug.exp might be able to use this if it can get more +# information set. proc gdb_file_cmd { arg {kill_flag 1} } { global gdb_prompt diff --git a/gdb/testsuite/make-check-all.sh b/gdb/testsuite/make-check-all.sh index 0558a42f17e..c46cd8de4ed 100755 --- a/gdb/testsuite/make-check-all.sh +++ b/gdb/testsuite/make-check-all.sh @@ -81,7 +81,6 @@ target_boards=( gold gold-gdb-index readnow - # Skip the stabs board, Stabs support in gdb is unmaintained. ) # Like target_boards, but not actual files in gdb/testsuite/boards.