This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch for problem on i86pc Solaris 2.7 with release gdb 4.18


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
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]