This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH RFC] Configury changes for ia64-*-aix*
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH RFC] Configury changes for ia64-*-aix*
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Sat, 3 Mar 2001 01:18:04 -0700
I don't make many changes to the configury, so I thought it best to
post an RFC regarding the changes below. BTW, the new HAVE_* macros
will be used in an upcoming procfs.c patch.
Comments?
* acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
macros.
* configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
(sys/fault.h, sys/select.h): Test for presence of these
header files.
(ia64-*-aix*): Define NEW_PROC_API for this host.
* configure: Regenerate.
* config.in: Regenerate.
* configure.host (ia64-*-aix*): New host.
* configure.tgt (ia64-*-aix*): New target.
Index: acconfig.h
===================================================================
RCS file: /cvs/src/src/gdb/acconfig.h,v
retrieving revision 1.13
diff -u -p -r1.13 acconfig.h
--- acconfig.h 2000/08/30 00:58:58 1.13
+++ acconfig.h 2001/03/03 08:03:14
@@ -37,6 +37,18 @@
/* Define if <sys/procfs.h> has prfpregset32_t. */
#undef HAVE_PRFPREGSET32_T
+/* Define if <sys/procfs.h> has prsysent_t */
+#undef HAVE_PRSYSENT_T
+
+/* Define if <sys/procfs.h> has pr_sigset_t */
+#undef HAVE_PR_SIGSET_T
+
+/* Define if <sys/procfs.h> has pr_sigaction64_t */
+#undef HAVE_PR_SIGACTION64_T
+
+/* Define if <sys/procfs.h> has pr_siginfo64_t */
+#undef HAVE_PR_SIGINFO64_T
+
/* Define if <sys/link.h> has struct link_map32 */
#undef HAVE_STRUCT_LINK_MAP32
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.12
diff -u -p -r1.12 configure.host
--- configure.host 2001/02/27 17:04:45 1.12
+++ configure.host 2001/03/03 08:03:17
@@ -80,6 +80,7 @@ i[3456]86-*-sysv*) gdb_host=i386v ;;
i[3456]86-*-isc*) gdb_host=i386v32 ;;
i[3456]86-*-cygwin*) gdb_host=cygwin ;;
+ia64-*-aix*) gdb_host=aix ;;
ia64-*-linux*) gdb_host=linux ;;
m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.56
diff -u -p -r1.56 configure.in
--- configure.in 2001/02/14 18:48:40 1.56
+++ configure.in 2001/03/03 08:03:20
@@ -123,7 +123,7 @@ AC_CHECK_HEADERS(ctype.h endian.h link.h
string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \
term.h termio.h termios.h unistd.h wait.h sys/wait.h \
wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \
- time.h sys/file.h sys/ioctl.h sys/user.h \
+ time.h sys/file.h sys/ioctl.h sys/user.h sys/fault.h sys/syscall.h \
dirent.h sys/ndir.h sys/dir.h ndir.h \
curses.h ncurses.h \
poll.h sys/poll.h)
@@ -216,6 +216,9 @@ if test "${target}" = "${host}"; then
AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2)
AC_DEFINE(sys_quotactl)
;;
+ ia64-*-aix*)
+ AC_DEFINE(NEW_PROC_API)
+ ;;
*-*-unixware* | *-*-sysv4.2* | *-*-sysv5*)
AC_DEFINE(NEW_PROC_API)
;;
@@ -236,6 +239,10 @@ if test "$ac_cv_header_sys_procfs_h" = y
BFD_HAVE_SYS_PROCFS_TYPE(prfpregset32_t)
BFD_HAVE_SYS_PROCFS_TYPE(lwpid_t)
BFD_HAVE_SYS_PROCFS_TYPE(psaddr_t)
+ BFD_HAVE_SYS_PROCFS_TYPE(prsysent_t)
+ BFD_HAVE_SYS_PROCFS_TYPE(pr_sigset_t)
+ BFD_HAVE_SYS_PROCFS_TYPE(pr_sigaction64_t)
+ BFD_HAVE_SYS_PROCFS_TYPE(pr_siginfo64_t)
dnl Check for struct link_map32 type, which allows a 64-bit Solaris
dnl debugger to debug a 32-bit Solaris app with 32-bit shared libraries.
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.19
diff -u -p -r1.19 configure.tgt
--- configure.tgt 2001/02/27 17:04:45 1.19
+++ configure.tgt 2001/03/03 08:03:20
@@ -132,6 +132,7 @@ i960-*-elf*) gdb_target=mon960 ;;
i960-*-nindy*) gdb_target=nindy960 ;;
i960-*-vxworks*) gdb_target=vxworks960 ;;
+ia64-*-aix*) gdb_target=aix ;;
ia64-*-linux*) gdb_target=linux ;;
m32r-*-elf*) gdb_target=m32r ;;