xref: /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/unloadshr.c (revision 11efff7f3ac2b3cfeff0c0cddc14294d9b3aca4f)
1*11efff7fSkettenis /* This testcase is part of GDB, the GNU debugger.
2*11efff7fSkettenis 
3*11efff7fSkettenis    Copyright 2004 Free Software Foundation, Inc.
4*11efff7fSkettenis 
5*11efff7fSkettenis    This program is free software; you can redistribute it and/or modify
6*11efff7fSkettenis    it under the terms of the GNU General Public License as published by
7*11efff7fSkettenis    the Free Software Foundation; either version 2 of the License, or
8*11efff7fSkettenis    (at your option) any later version.
9*11efff7fSkettenis 
10*11efff7fSkettenis    This program is distributed in the hope that it will be useful,
11*11efff7fSkettenis    but WITHOUT ANY WARRANTY; without even the implied warranty of
12*11efff7fSkettenis    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*11efff7fSkettenis    GNU General Public License for more details.
14*11efff7fSkettenis 
15*11efff7fSkettenis    You should have received a copy of the GNU General Public License
16*11efff7fSkettenis    along with this program; if not, write to the Free Software
17*11efff7fSkettenis    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
18*11efff7fSkettenis 
19*11efff7fSkettenis #include <stdio.h>
20*11efff7fSkettenis 
shrfunc1(int x)21*11efff7fSkettenis int shrfunc1 (int x)
22*11efff7fSkettenis {
23*11efff7fSkettenis   return x + 4; /* unloadshr break */
24*11efff7fSkettenis }
25