diff options
author | Pierre Muller <muller@sourceware.org> | 2011-01-14 18:39:31 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-01-14 18:39:31 +0000 |
commit | 7b64a93b0333a9520ca23d3dcbaa5b6b5eb3d6f0 (patch) | |
tree | 5d932a46c1f2a21f04d34c3259f7a06a33169c78 /gdb/solib-som.h | |
parent | 4e18c05334a75c03e98ae058cc8e9436a037a957 (diff) | |
download | gdb-7b64a93b0333a9520ca23d3dcbaa5b6b5eb3d6f0.zip gdb-7b64a93b0333a9520ca23d3dcbaa5b6b5eb3d6f0.tar.gz gdb-7b64a93b0333a9520ca23d3dcbaa5b6b5eb3d6f0.tar.bz2 |
* solib-som.h (hpux_major_release): Declare variable here.
* solib-som.c: Remove <sys/utsname.h> header.
(DEFAULT_HPUX_MAJOR_RELEASE): New macro.
(hpux_major_release): Make global, change default value to
DEFAULT_HPUX_MAJOR_RELEASE.
(get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
* hppa-hpux-nat.c: Add <sys/utsname.h> include.
Add "solib-som.h" header.
(set_hpux_major_release): New function.
(_initialize_hppa_hpux_nat): Call set_hpux_major_release.
Diffstat (limited to 'gdb/solib-som.h')
-rw-r--r-- | gdb/solib-som.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/solib-som.h b/gdb/solib-som.h index 16f7e30..78a64dc 100644 --- a/gdb/solib-som.h +++ b/gdb/solib-som.h @@ -25,6 +25,8 @@ struct objfile; struct section_offsets; struct gdbarch; +extern int hpux_major_release; + void som_solib_select (struct gdbarch *gdbarch); int som_solib_section_offsets (struct objfile *objfile, |