This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
patch for problem on i86pc Solaris 2.7 with release gdb 4.18
- To: GDB Patches Mailing List <gdb-patches at sourceware dot cygnus dot com>
- Subject: patch for problem on i86pc Solaris 2.7 with release gdb 4.18
- From: Heiko Nardmann <h dot nardmann at secunet dot de>
- Date: Fri, 05 Nov 1999 12:14:35 +0100
- Organization: secunet Security Networks AG
Attached is a patch for my problem.
Maybe someone could have a look at it whether I understood this
situation.
--
Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development
secunet Security Networks AG - Sicherheit in Netzwerken
(www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50
--- gdb-4.18/include/elf/hppa.h.orig Fri Nov 5 11:01:02 1999
+++ gdb-4.18/include/elf/hppa.h Fri Nov 5 11:01:33 1999
@@ -96,6 +96,7 @@
#include "reloc-macros.h"
+#ifdef RELOC_MACROS_GEN_FUNC
START_RELOC_NUMBERS (elf32_hppa_reloc_type)
RELOC_NUMBER (R_PARISC_NONE, 0) /* No reloc */
@@ -180,7 +181,7 @@
EMPTY_RELOC (R_PARISC_UNIMPLEMENTED)
END_RELOC_NUMBERS
-#ifndef RELOC_MACROS_GEN_FUNC
+#else
typedef enum elf32_hppa_reloc_type elf32_hppa_reloc_type;
#endif