diff options
author | Tom de Vries <tdevries@suse.de> | 2020-10-20 10:20:25 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-10-20 10:20:25 +0200 |
commit | 8c1613603dcbe01403340fd09b055173d854ba73 (patch) | |
tree | 075055a37891292d0562083eb16cc479e2580919 /gdb/testsuite/gdb.dwarf2/arr-subrange.c | |
parent | 9c2412ec7fe51e8c2a4c15b0f17900a3df945b1d (diff) | |
download | binutils-8c1613603dcbe01403340fd09b055173d854ba73.zip binutils-8c1613603dcbe01403340fd09b055173d854ba73.tar.gz binutils-8c1613603dcbe01403340fd09b055173d854ba73.tar.bz2 |
[gdb/testsuite] Use main.c in gdb.dwarf2
Eliminate copies of main.c in gdb.dwarf2.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-10-20 Tom de Vries <tdevries@suse.de>
* gdb.dwarf2/arr-stride.c: Remove.
* gdb.dwarf2/arr-stride.exp: Use main.c.
* gdb.dwarf2/arr-subrange.c: Remove.
* gdb.dwarf2/arr-subrange.exp: Use main.c.
* gdb.dwarf2/bad-regnum.c: Remove.
* gdb.dwarf2/bad-regnum.exp: Use main.c.
* gdb.dwarf2/corrupt.c: Remove.
* gdb.dwarf2/corrupt.exp: Use main.c.
* gdb.dwarf2/dw2-bad-elf.c: Remove.
* gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
* gdb.dwarf2/dw2-icycle.c: Remove.
* gdb.dwarf2/dw2-icycle.exp: Use main.c.
* gdb.dwarf2/formdata16.c: Remove.
* gdb.dwarf2/formdata16.exp: Use main.c.
* gdb.dwarf2/implptrconst.c: Remove.
* gdb.dwarf2/implptrconst.exp: Use main.c.
* gdb.dwarf2/info-locals-optimized-out.c: Remove.
* gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
* gdb.dwarf2/opaque-type-lookup.c: Remove.
* gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/arr-subrange.c')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/arr-subrange.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/arr-subrange.c b/gdb/testsuite/gdb.dwarf2/arr-subrange.c deleted file mode 100644 index 9bfe1d6..0000000 --- a/gdb/testsuite/gdb.dwarf2/arr-subrange.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright 2014-2020 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/>. */ - -int -main (void) -{ - asm ("main_label: .globl main_label"); - return 0; -} |