diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-02-22 03:01:27 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-02-22 03:01:27 +0000 |
commit | 8b4258487bf511901cb98c22b5a745ef982c0b5e (patch) | |
tree | 153cf011abfdbae2be708e98a7dbc5bcff4e72d7 /gdb/config/ia64 | |
parent | 43e1c4bec5e6ae00906f14942ab1e25f4eaf818a (diff) | |
download | gdb-8b4258487bf511901cb98c22b5a745ef982c0b5e.tar.gz |
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.mh | 9 | ||||
-rw-r--r-- | gdb/config/ia64/aix.mt | 4 | ||||
-rw-r--r-- | gdb/config/ia64/linux.mt | 2 | ||||
-rw-r--r-- | gdb/config/ia64/nm-aix.h | 34 | ||||
-rw-r--r-- | gdb/config/ia64/tm-aix.h | 32 | ||||
-rw-r--r-- | gdb/config/ia64/xm-aix.h | 33 |
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 00000000000..51ba74348fc --- /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 00000000000..0348146c3f5 --- /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 441055dc1b1..e536ef2b870 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 00000000000..4685aeaae37 --- /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 00000000000..91068f81f6b --- /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 00000000000..dae8e950936 --- /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 */ |