| Index: gdb/testsuite/gdb.base/gcore-relro-lib.c
|
| diff --git a/gdb/testsuite/gdb.base/info-fun-solib.c b/gdb/testsuite/gdb.base/gcore-relro-lib.c
|
| similarity index 86%
|
| copy from gdb/testsuite/gdb.base/info-fun-solib.c
|
| copy to gdb/testsuite/gdb.base/gcore-relro-lib.c
|
| index 835940661a239ecfffacae52bb87a6792623a235..0192b9bb3207c423cfc4f8b5fbc28134026699fe 100644
|
| --- a/gdb/testsuite/gdb.base/info-fun-solib.c
|
| +++ b/gdb/testsuite/gdb.base/gcore-relro-lib.c
|
| @@ -1,4 +1,6 @@
|
| -/* Copyright 2012 Free Software Foundation, Inc.
|
| +/* Copyright 2010-2013 Free Software Foundation, Inc.
|
| +
|
| + This file is part of GDB.
|
|
|
| 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
|
| @@ -13,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
|
| -foo (void)
|
| +void
|
| +lib (void)
|
| {
|
| - return 0;
|
| }
|
|
|