* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
* configure.in: Add checks for r_fs and r_gs members of `struct reg'. * config.in, configure: Regenerated.
This commit is contained in:
parent
b1eeef9a6e
commit
7dfa765cc1
5 changed files with 420 additions and 330 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2000-05-25 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
|
||||||
|
* configure.in: Add checks for r_fs and r_gs members of
|
||||||
|
`struct reg'.
|
||||||
|
* config.in, configure: Regenerated.
|
||||||
|
|
||||||
2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
|
2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
|
||||||
|
|
||||||
* ser-go32.c: Remove PARAMS.
|
* ser-go32.c: Remove PARAMS.
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
/* Define if compiling on Solaris 7. */
|
/* Define if compiling on Solaris 7. */
|
||||||
#undef _MSE_INT_H
|
#undef _MSE_INT_H
|
||||||
|
|
||||||
|
/* Define if your struct reg has r_fs. */
|
||||||
|
#undef HAVE_R_FS
|
||||||
|
|
||||||
|
/* Define if your struct reg has r_gs. */
|
||||||
|
#undef HAVE_R_GS
|
||||||
|
|
||||||
/* Define if pstatus_t type is available */
|
/* Define if pstatus_t type is available */
|
||||||
#undef HAVE_PSTATUS_T
|
#undef HAVE_PSTATUS_T
|
||||||
|
|
||||||
|
|
|
@ -62,6 +62,12 @@
|
||||||
/* Define if compiling on Solaris 7. */
|
/* Define if compiling on Solaris 7. */
|
||||||
#undef _MSE_INT_H
|
#undef _MSE_INT_H
|
||||||
|
|
||||||
|
/* Define if your struct reg has r_fs. */
|
||||||
|
#undef HAVE_R_FS
|
||||||
|
|
||||||
|
/* Define if your struct reg has r_gs. */
|
||||||
|
#undef HAVE_R_GS
|
||||||
|
|
||||||
/* Define if the prfpregset_t type is broken. */
|
/* Define if the prfpregset_t type is broken. */
|
||||||
#undef PRFPREGSET_T_BROKEN
|
#undef PRFPREGSET_T_BROKEN
|
||||||
|
|
||||||
|
|
706
gdb/configure
vendored
706
gdb/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -111,6 +111,21 @@ AC_C_CONST
|
||||||
AC_CHECK_FUNCS(setpgid sbrk sigaction isascii bzero bcopy btowc poll sigprocmask)
|
AC_CHECK_FUNCS(setpgid sbrk sigaction isascii bzero bcopy btowc poll sigprocmask)
|
||||||
AC_FUNC_ALLOCA
|
AC_FUNC_ALLOCA
|
||||||
|
|
||||||
|
# See if machine/reg.h supports the %fs and %gs i386 segment registers.
|
||||||
|
# Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
|
||||||
|
AC_CACHE_CHECK([for r_fs in struct reg], gdb_cv_struct_r_fs,
|
||||||
|
[AC_TRY_COMPILE([#include <machine/reg.h>], [struct reg r; r.r_fs;],
|
||||||
|
gdb_cv_struct_r_fs=yes, gdb_cv_struct_r_fs=no)])
|
||||||
|
if test $gdb_cv_struct_r_fs = yes; then
|
||||||
|
AC_DEFINE(HAVE_R_FS)
|
||||||
|
fi
|
||||||
|
AC_CACHE_CHECK([for r_gs in struct reg], gdb_cv_struct_r_gs,
|
||||||
|
[AC_TRY_COMPILE([#include <machine/reg.h>], [struct reg r; r.r_gs;],
|
||||||
|
gdb_cv_struct_r_gs=yes, gdb_cv_struct_r_gs=no)])
|
||||||
|
if test $gdb_cv_struct_r_gs = yes; then
|
||||||
|
AC_DEFINE(HAVE_R_GS)
|
||||||
|
fi
|
||||||
|
|
||||||
dnl See if ptrace.h provides the PTRACE_GETREGS request.
|
dnl See if ptrace.h provides the PTRACE_GETREGS request.
|
||||||
AC_MSG_CHECKING(for PTRACE_GETREGS)
|
AC_MSG_CHECKING(for PTRACE_GETREGS)
|
||||||
AC_CACHE_VAL(gdb_cv_have_ptrace_getregs,
|
AC_CACHE_VAL(gdb_cv_have_ptrace_getregs,
|
||||||
|
|
Loading…
Reference in a new issue