Configury changes for AIX5/IA-64.

This commit is contained in:
Kevin Buettner 2001-03-06 00:52:31 +00:00
parent 60e012f18d
commit 596c9d4b8f
7 changed files with 344 additions and 139 deletions

View file

@ -1,3 +1,19 @@
2001-03-05 Kevin Buettner <kevinb@redhat.com>
* 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.
2001-03-05 Andrew Cagney <ac131313@redhat.com> 2001-03-05 Andrew Cagney <ac131313@redhat.com>
* TODO (GDB 5.1 Known Problems): Document z8k as broken. * TODO (GDB 5.1 Known Problems): Document z8k as broken.

View file

@ -37,6 +37,18 @@
/* Define if <sys/procfs.h> has prfpregset32_t. */ /* Define if <sys/procfs.h> has prfpregset32_t. */
#undef HAVE_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 */ /* Define if <sys/link.h> has struct link_map32 */
#undef HAVE_STRUCT_LINK_MAP32 #undef HAVE_STRUCT_LINK_MAP32

View file

@ -309,6 +309,9 @@
/* Define if you have the <sys/dir.h> header file. */ /* Define if you have the <sys/dir.h> header file. */
#undef HAVE_SYS_DIR_H #undef HAVE_SYS_DIR_H
/* Define if you have the <sys/fault.h> header file. */
#undef HAVE_SYS_FAULT_H
/* Define if you have the <sys/file.h> header file. */ /* Define if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H #undef HAVE_SYS_FILE_H
@ -336,6 +339,9 @@
/* Define if you have the <sys/select.h> header file. */ /* Define if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H #undef HAVE_SYS_SELECT_H
/* Define if you have the <sys/syscall.h> header file. */
#undef HAVE_SYS_SYSCALL_H
/* Define if you have the <sys/user.h> header file. */ /* Define if you have the <sys/user.h> header file. */
#undef HAVE_SYS_USER_H #undef HAVE_SYS_USER_H
@ -444,3 +450,15 @@
/* Define if <sys/procfs.h> has psaddr_t. */ /* Define if <sys/procfs.h> has psaddr_t. */
#undef HAVE_PSADDR_T #undef HAVE_PSADDR_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

426
gdb/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -80,6 +80,7 @@ i[3456]86-*-sysv*) gdb_host=i386v ;;
i[3456]86-*-isc*) gdb_host=i386v32 ;; i[3456]86-*-isc*) gdb_host=i386v32 ;;
i[3456]86-*-cygwin*) gdb_host=cygwin ;; i[3456]86-*-cygwin*) gdb_host=cygwin ;;
ia64-*-aix*) gdb_host=aix ;;
ia64-*-linux*) gdb_host=linux ;; ia64-*-linux*) gdb_host=linux ;;
m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;; m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;

View file

@ -123,7 +123,7 @@ AC_CHECK_HEADERS(ctype.h endian.h link.h thread_db.h proc_service.h \
string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.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 \ 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 \ 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 \ dirent.h sys/ndir.h sys/dir.h ndir.h \
curses.h ncurses.h \ curses.h ncurses.h \
poll.h sys/poll.h) poll.h sys/poll.h)
@ -216,6 +216,9 @@ if test "${target}" = "${host}"; then
AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2) AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2)
AC_DEFINE(sys_quotactl) AC_DEFINE(sys_quotactl)
;; ;;
ia64-*-aix*)
AC_DEFINE(NEW_PROC_API)
;;
*-*-unixware* | *-*-sysv4.2* | *-*-sysv5*) *-*-unixware* | *-*-sysv4.2* | *-*-sysv5*)
AC_DEFINE(NEW_PROC_API) AC_DEFINE(NEW_PROC_API)
;; ;;
@ -236,6 +239,10 @@ if test "$ac_cv_header_sys_procfs_h" = yes; then
BFD_HAVE_SYS_PROCFS_TYPE(prfpregset32_t) BFD_HAVE_SYS_PROCFS_TYPE(prfpregset32_t)
BFD_HAVE_SYS_PROCFS_TYPE(lwpid_t) BFD_HAVE_SYS_PROCFS_TYPE(lwpid_t)
BFD_HAVE_SYS_PROCFS_TYPE(psaddr_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 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. dnl debugger to debug a 32-bit Solaris app with 32-bit shared libraries.

View file

@ -132,6 +132,7 @@ i960-*-elf*) gdb_target=mon960 ;;
i960-*-nindy*) gdb_target=nindy960 ;; i960-*-nindy*) gdb_target=nindy960 ;;
i960-*-vxworks*) gdb_target=vxworks960 ;; i960-*-vxworks*) gdb_target=vxworks960 ;;
ia64-*-aix*) gdb_target=aix ;;
ia64-*-linux*) gdb_target=linux ;; ia64-*-linux*) gdb_target=linux ;;
m32r-*-elf*) gdb_target=m32r ;; m32r-*-elf*) gdb_target=m32r ;;