From f8c024dcefce0f7f8867f6bfc44b500d998738fd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 6 Dec 2023 16:16:55 -0700 Subject: Remove some .debug_names tests These .debug_names tests were hand-written to mimic clang. However, they are difficult to update, and in any case the new reader won't accept clang-generated indices. Therefore this patch removes these tests. --- gdb/testsuite/gdb.dwarf2/clang-debug-names.c | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 gdb/testsuite/gdb.dwarf2/clang-debug-names.c (limited to 'gdb/testsuite/gdb.dwarf2/clang-debug-names.c') diff --git a/gdb/testsuite/gdb.dwarf2/clang-debug-names.c b/gdb/testsuite/gdb.dwarf2/clang-debug-names.c deleted file mode 100644 index 66f0b0f..0000000 --- a/gdb/testsuite/gdb.dwarf2/clang-debug-names.c +++ /dev/null @@ -1,25 +0,0 @@ -/* This testcase is part of GDB, the GNU debugger. - - Copyright 2020-2024 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 . */ - -int -main (void) -{ - asm ("main_label: .globl main_label"); - int sum, a, b; - sum = a + b; - return sum; -} -- cgit v1.1