mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 21:34:13 +08:00
* 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:
@ -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>
|
Sun Jun 4 14:00:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* TODO: Update. Mention GNU/Linux/SPARC problems.
|
* TODO: Update. Mention GNU/Linux/SPARC problems.
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
#undef _MSE_INT_H
|
#undef _MSE_INT_H
|
||||||
|
|
||||||
/* Define if your struct reg has r_fs. */
|
/* 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. */
|
/* 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 */
|
/* Define if pstatus_t type is available */
|
||||||
#undef HAVE_PSTATUS_T
|
#undef HAVE_PSTATUS_T
|
||||||
|
@ -63,10 +63,10 @@
|
|||||||
#undef _MSE_INT_H
|
#undef _MSE_INT_H
|
||||||
|
|
||||||
/* Define if your struct reg has r_fs. */
|
/* 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. */
|
/* 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. */
|
/* Define if the prfpregset_t type is broken. */
|
||||||
#undef PRFPREGSET_T_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.
|
# 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'.
|
# 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;],
|
[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)])
|
gdb_cv_struct_reg_r_fs=yes, gdb_cv_struct_reg_r_fs=no)])
|
||||||
if test $gdb_cv_struct_r_fs = yes; then
|
if test $gdb_cv_struct_reg_r_fs = yes; then
|
||||||
AC_DEFINE(HAVE_R_FS)
|
AC_DEFINE(HAVE_STRUCT_REG_R_FS)
|
||||||
fi
|
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;],
|
[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)])
|
gdb_cv_struct_reg_r_gs=yes, gdb_cv_struct_reg_r_gs=no)])
|
||||||
if test $gdb_cv_struct_r_gs = yes; then
|
if test $gdb_cv_struct_reg_r_gs = yes; then
|
||||||
AC_DEFINE(HAVE_R_GS)
|
AC_DEFINE(HAVE_STRUCT_REG_R_GS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl See if ptrace.h provides the PTRACE_GETREGS request.
|
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_ss),
|
||||||
REG_OFFSET (r_ds),
|
REG_OFFSET (r_ds),
|
||||||
REG_OFFSET (r_es),
|
REG_OFFSET (r_es),
|
||||||
#ifdef HAVE_R_FS
|
#ifdef HAVE_STRUCT_REG_R_FS
|
||||||
REG_OFFSET (r_fs),
|
REG_OFFSET (r_fs),
|
||||||
#else
|
#else
|
||||||
-1,
|
-1,
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_R_GS
|
#ifdef HAVE_STRUCT_REG_R_GS
|
||||||
REG_OFFSET (r_gs)
|
REG_OFFSET (r_gs)
|
||||||
#else
|
#else
|
||||||
-1
|
-1
|
||||||
|
Reference in New Issue
Block a user