aboutsummaryrefslogtreecommitdiff
path: root/bfd/libhppa.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-14 20:35:18 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-14 20:35:18 +0000
commit89c789f6fa49b800eb15235e33d608d567146ae0 (patch)
tree37a405f84085194f6a9efaadd4001ef1112a5349 /bfd/libhppa.h
parent85051959f4b156350cb8fcb4c08db004950f3ea1 (diff)
downloadgdb-89c789f6fa49b800eb15235e33d608d567146ae0.zip
gdb-89c789f6fa49b800eb15235e33d608d567146ae0.tar.gz
gdb-89c789f6fa49b800eb15235e33d608d567146ae0.tar.bz2
* hppa.c [HOST_HPPABSD]: Use hpux-style core files.
* libhppa.h [HOST_HPPABSD]: Include hpux version of core.h
Diffstat (limited to 'bfd/libhppa.h')
-rw-r--r--bfd/libhppa.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/bfd/libhppa.h b/bfd/libhppa.h
index 5ae54cb..cf69813 100644
--- a/bfd/libhppa.h
+++ b/bfd/libhppa.h
@@ -23,7 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef _LIBHPPA_H
#define _LIBHPPA_H
-#include "sysdep.h"
+#include "../bfd/sysdep.h"
#ifdef HOST_HPPAHPUX
@@ -34,18 +34,26 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HOST_HPPABSD
-/* Defining MAXCOMLEN avoids bringing in several (7 or 8) otherwise
- useless include files which tend to clutter up the namespace.
-
- BSD uses a completely different scheme for object file identification.
+/* BSD uses a completely different scheme for object file identification.
so for now, define _PA_RISC_ID to accept any random value for a model
number. */
+
#include <a.out.h>
-#define MAXCOMLEN 16
+
+/* Not a very swift place to put it, but that's where the BSD port
+ puts them. */
+#include "/hpux/usr/include/sys/core.h"
+#ifndef _PA_RISC_ID
#define _PA_RISC_ID(__m_num) 1
+#endif
#endif /* HOST_HPPABSD */
+/* Defining MAXCOMLEN avoids bringing in several (7 or 8) otherwise
+ useless include files which tend to clutter up the namespace. */
+
+#define MAXCOMLEN 16
+
#define BYTES_IN_WORD 4
struct header;