]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Remove boards/stabs.exp
authorTom de Vries <tdevries@suse.de>
Mon, 9 Feb 2026 07:25:18 +0000 (08:25 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 9 Feb 2026 07:25:18 +0000 (08:25 +0100)
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 <tom@tromey.com>
gdb/testsuite/README
gdb/testsuite/boards/README
gdb/testsuite/boards/stabs.exp [deleted file]
gdb/testsuite/lib/gdb.exp
gdb/testsuite/make-check-all.sh

index c5d429820048560d07bd38a1a3708dea2c43210d..60fd322ea4d1d153f0c9a9eef87e81b859d45415 100644 (file)
@@ -696,8 +696,7 @@ Architecture-specific tests that are (usually) cross-platform.
 gdb.<subsystem>
 
 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
 
index b881ad4bb347e8aacb3c78ac65be1c443cd81719..d9e5d06de106f6b6ccd42a7bf3537cc0643391a1 100644 (file)
@@ -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 (file)
index 04a8650..0000000
+++ /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 <http://www.gnu.org/licenses/>.
-
-# 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"
index 0663f55013d42279d003da705eaacb82d9f6d9f0..8e3b18de09c36f55eb271ebcb4192ca597a24592 100644 (file)
@@ -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
index 0558a42f17e7b5263c80982e12b2a4c206bd15a0..c46cd8de4ed9809a11da5e76faccac1fc04fd22d 100755 (executable)
@@ -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.