* acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
Renamed from HAVE_R_FS. (HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS. * configure, config.in: Regenerated.
This commit is contained in:
parent
d108020f09
commit
422ea4b878
@ -1,3 +1,10 @@
|
||||
2000-06-05 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* acconfig.h, configure.in, i386bsd.c (HAVE_STRUCT_REG_R_FS):
|
||||
Renamed from HAVE_R_FS.
|
||||
(HAVE_STRUCT_REG_GS): Renamed from HAVE_R_GS.
|
||||
* configure, config.in: Regenerated.
|
||||
|
||||
Sun Jun 4 14:00:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* TODO: Update. Mention GNU/Linux/SPARC problems.
|
||||
|
@ -2,10 +2,10 @@
|
||||
#undef _MSE_INT_H
|
||||
|
||||
/* Define if your struct reg has r_fs. */
|
||||
#undef HAVE_R_FS
|
||||
#undef HAVE_STRUCT_REG_R_FS
|
||||
|
||||
/* Define if your struct reg has r_gs. */
|
||||
#undef HAVE_R_GS
|
||||
#undef HAVE_STRUCT_REG_R_GS
|
||||
|
||||
/* Define if pstatus_t type is available */
|
||||
#undef HAVE_PSTATUS_T
|
||||
|
@ -63,10 +63,10 @@
|
||||
#undef _MSE_INT_H
|
||||
|
||||
/* Define if your struct reg has r_fs. */
|
||||
#undef HAVE_R_FS
|
||||
#undef HAVE_STRUCT_REG_R_FS
|
||||
|
||||
/* Define if your struct reg has r_gs. */
|
||||
#undef HAVE_R_GS
|
||||
#undef HAVE_STRUCT_REG_R_GS
|
||||
|
||||
/* Define if the prfpregset_t type is broken. */
|
||||
#undef PRFPREGSET_T_BROKEN
|
||||
|
689
gdb/configure
vendored
689
gdb/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -116,17 +116,17 @@ 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_CACHE_CHECK([for r_fs in struct reg], gdb_cv_struct_reg_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)
|
||||
gdb_cv_struct_reg_r_fs=yes, gdb_cv_struct_reg_r_fs=no)])
|
||||
if test $gdb_cv_struct_reg_r_fs = yes; then
|
||||
AC_DEFINE(HAVE_STRUCT_REG_R_FS)
|
||||
fi
|
||||
AC_CACHE_CHECK([for r_gs in struct reg], gdb_cv_struct_r_gs,
|
||||
AC_CACHE_CHECK([for r_gs in struct reg], gdb_cv_struct_reg_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)
|
||||
gdb_cv_struct_reg_r_gs=yes, gdb_cv_struct_reg_r_gs=no)])
|
||||
if test $gdb_cv_struct_reg_r_gs = yes; then
|
||||
AC_DEFINE(HAVE_STRUCT_REG_R_GS)
|
||||
fi
|
||||
|
||||
dnl See if ptrace.h provides the PTRACE_GETREGS request.
|
||||
|
@ -78,12 +78,12 @@ static int reg_offset[] =
|
||||
REG_OFFSET (r_ss),
|
||||
REG_OFFSET (r_ds),
|
||||
REG_OFFSET (r_es),
|
||||
#ifdef HAVE_R_FS
|
||||
#ifdef HAVE_STRUCT_REG_R_FS
|
||||
REG_OFFSET (r_fs),
|
||||
#else
|
||||
-1,
|
||||
#endif
|
||||
#ifdef HAVE_R_GS
|
||||
#ifdef HAVE_STRUCT_REG_R_GS
|
||||
REG_OFFSET (r_gs)
|
||||
#else
|
||||
-1
|
||||
|
Loading…
Reference in New Issue
Block a user