summaryrefslogtreecommitdiffstats
path: root/gdb/config/ia64
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-02-22 03:01:27 +0000
committerKevin Buettner <kevinb@redhat.com>2001-02-22 03:01:27 +0000
commitd7fa2ae2549091f294e6dd103a57ddf1219dfe6c (patch)
treef28343094d9deb829390fe4468891a1f17aac86e /gdb/config/ia64
parent33d01f331b0673ed67fa8a71c9cb90f7d35d16b7 (diff)
downloadppe42-binutils-d7fa2ae2549091f294e6dd103a57ddf1219dfe6c.tar.gz
ppe42-binutils-d7fa2ae2549091f294e6dd103a57ddf1219dfe6c.zip
Made changes to shared library support and added more of the support needed
for AIX/IA-64.
Diffstat (limited to 'gdb/config/ia64')
-rw-r--r--gdb/config/ia64/aix.mh9
-rw-r--r--gdb/config/ia64/aix.mt4
-rw-r--r--gdb/config/ia64/linux.mt2
-rw-r--r--gdb/config/ia64/nm-aix.h34
-rw-r--r--gdb/config/ia64/tm-aix.h32
-rw-r--r--gdb/config/ia64/xm-aix.h33
6 files changed, 113 insertions, 1 deletions
diff --git a/gdb/config/ia64/aix.mh b/gdb/config/ia64/aix.mh
new file mode 100644
index 0000000000..51ba74348f
--- /dev/null
+++ b/gdb/config/ia64/aix.mh
@@ -0,0 +1,9 @@
+# Host: Intel IA-64 running AIX
+
+XM_FILE= xm-aix.h
+XDEPFILES=
+
+NAT_FILE= nm-aix.h
+NATDEPFILES= corelow.o core-regset.o solib.o solib-aix5.o fork-child.o \
+ procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o \
+ ia64-aix-nat.o
diff --git a/gdb/config/ia64/aix.mt b/gdb/config/ia64/aix.mt
new file mode 100644
index 0000000000..0348146c3f
--- /dev/null
+++ b/gdb/config/ia64/aix.mt
@@ -0,0 +1,4 @@
+# Target: Intel IA-64 running AIX
+
+TDEPFILES= ia64-tdep.o ia64-linux-tdep.o ia64-aix-tdep.o
+TM_FILE= tm-aix.h
diff --git a/gdb/config/ia64/linux.mt b/gdb/config/ia64/linux.mt
index 441055dc1b..e536ef2b87 100644
--- a/gdb/config/ia64/linux.mt
+++ b/gdb/config/ia64/linux.mt
@@ -1,5 +1,5 @@
# Target: Intel IA-64 running GNU/Linux
-TDEPFILES= ia64-tdep.o ia64-linux-tdep.o solib.o solib-svr4.o
+TDEPFILES= ia64-tdep.o ia64-aix-tdep.o ia64-linux-tdep.o solib.o solib-svr4.o
TM_FILE= tm-linux.h
GDBSERVER_DEPFILES= low-linux.o
diff --git a/gdb/config/ia64/nm-aix.h b/gdb/config/ia64/nm-aix.h
new file mode 100644
index 0000000000..4685aeaae3
--- /dev/null
+++ b/gdb/config/ia64/nm-aix.h
@@ -0,0 +1,34 @@
+/* Native support for AIX, for GDB, the GNU debugger.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef NM_AIX_H
+#define NM_AIX_H
+
+#include "nm-sysv4.h"
+
+#ifndef MONTEREY
+#define MONTEREY 1
+#endif
+
+/* Type of the operation code for sending control messages to the
+ /proc/PID/ctl file */
+#define PROC_CTL_WORD_TYPE int
+
+#endif /* #ifndef NM_AIX_H */
diff --git a/gdb/config/ia64/tm-aix.h b/gdb/config/ia64/tm-aix.h
new file mode 100644
index 0000000000..91068f81f6
--- /dev/null
+++ b/gdb/config/ia64/tm-aix.h
@@ -0,0 +1,32 @@
+/* Definitions to target GDB to GNU/Linux on IA-64 running AIX.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef TM_AIX_H
+#define TM_AIX_H
+
+#include "ia64/tm-ia64.h"
+#include "tm-sysv4.h"
+
+#define TARGET_ELF64
+
+extern int ia64_aix_in_sigtramp (CORE_ADDR pc, char *func_name);
+#define IN_SIGTRAMP(pc,func_name) ia64_aix_in_sigtramp (pc, func_name)
+
+#endif /* #ifndef TM_AIX_H */
diff --git a/gdb/config/ia64/xm-aix.h b/gdb/config/ia64/xm-aix.h
new file mode 100644
index 0000000000..dae8e95093
--- /dev/null
+++ b/gdb/config/ia64/xm-aix.h
@@ -0,0 +1,33 @@
+/* Native support for AIX, for GDB, the GNU debugger.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef XM_AIX_H
+#define XM_AIX_H
+
+#define HOST_BYTE_ORDER LITTLE_ENDIAN
+
+/* Pick up more stuff from the generic SVR4 host include file. */
+
+#include "xm-sysv4.h"
+
+#define GDB_GREGSET_T prgregset_t
+#define GDB_FPREGSET_T prfpregset_t
+
+#endif /* #ifndef XM_AIX_H */
OpenPOWER on IntegriCloud