diff options
author | Tom de Vries <tdevries@suse.de> | 2019-05-04 10:11:53 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-05-04 10:11:53 +0200 |
commit | 9d6d4be89d12747a92629ed1bde1d423e2831de1 (patch) | |
tree | 654211517c36c66958063c8ca70e2fc74d93fe2d /gdb/testsuite | |
parent | 27cdfa03b5be812683c18e64009a5da042190ae6 (diff) | |
download | gdb-9d6d4be89d12747a92629ed1bde1d423e2831de1.zip gdb-9d6d4be89d12747a92629ed1bde1d423e2831de1.tar.gz gdb-9d6d4be89d12747a92629ed1bde1d423e2831de1.tar.bz2 |
[gdb/testsuite] Add cc-with-debug-names.exp
Add a target board that makes it easy to run the test suite with a
.debug_names section added to executables.
gdb/ChangeLog:
2019-05-04 Tom de Vries <tdevries@suse.de>
* contrib/cc-with-tweaks.sh: Support -n arg.
gdb/testsuite/ChangeLog:
2019-05-04 Tom de Vries <tdevries@suse.de>
* boards/cc-with-debug-names.exp: New file.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/boards/cc-with-debug-names.exp | 26 |
2 files changed, 30 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 72fc0d8..729cc52 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-05-04 Tom de Vries <tdevries@suse.de> + + * boards/cc-with-debug-names.exp: New file. + 2019-05-03 Tom Tromey <tromey@adacore.com> * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type. diff --git a/gdb/testsuite/boards/cc-with-debug-names.exp b/gdb/testsuite/boards/cc-with-debug-names.exp new file mode 100644 index 0000000..0acf46c --- /dev/null +++ b/gdb/testsuite/boards/cc-with-debug-names.exp @@ -0,0 +1,26 @@ +# Copyright 2019 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 contrib/cc-with-tweaks.sh -n. +# +# Example usage: +# bash$ cd $objdir +# bash$ make check-gdb \ +# RUNTESTFLAGS='--target_board=cc-with-debug-names' +# + +set CC_WITH_TWEAKS_FLAGS "-n" +load_board_description "cc-with-tweaks" |