Index: gdb/testsuite/gdb.dwarf2/dw2-error.c |
diff --git a/gdb/testsuite/gdb.base/catch-load-so.c b/gdb/testsuite/gdb.dwarf2/dw2-error.c |
similarity index 91% |
copy from gdb/testsuite/gdb.base/catch-load-so.c |
copy to gdb/testsuite/gdb.dwarf2/dw2-error.c |
index 9676479f67f07b98bb251550f1220b76c6b0c525..feb40ac6de17fbbbf1fb37d06a96e68a8df6c91a 100644 |
--- a/gdb/testsuite/gdb.base/catch-load-so.c |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-error.c |
@@ -1,6 +1,6 @@ |
/* This testcase is part of GDB, the GNU debugger. |
- Copyright 2012 Free Software Foundation, Inc. |
+ Copyright 2012-2013 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 |
@@ -15,8 +15,7 @@ |
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 |
-f(void) |
+int main () |
{ |
return 23; |
} |