* solib-som.h (hpux_major_release): Declare variable here.
[platform/upstream/binutils.git] / gdb / solib-som.h
1 /* Handle SOM shared libraries for GDB, the GNU Debugger.
2
3    Copyright (C) 2004, 2007, 2008, 2009, 2010, 2011
4    Free Software Foundation, Inc.
5
6    This file is part of GDB.
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 3 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20
21 #ifndef SOLIB_SOM_H
22 #define SOLIB_SOM_H
23
24 struct objfile;
25 struct section_offsets;
26 struct gdbarch;
27
28 extern int hpux_major_release;
29
30 void som_solib_select (struct gdbarch *gdbarch);
31
32 int som_solib_section_offsets (struct objfile *objfile,
33                                struct section_offsets *offsets);
34
35 #endif
36