7.3 is broken on FreeBSD
Joel Brobecker
brobecker@adacore.com
Wed Jul 6 23:24:00 GMT 2011
> configure:13151: result: no
> configure:13160: checking for PT_GETDBREGS
> configure:13177: gcc -c -g -O2 conftest.c >&5
> configure:13177: $? = 0
> configure:13185: result: yes
Something does NOT make sense to me. If it says 'yes', then
I don't understand why HAVE_PT_GETDBREGS is not defined.
Here is the configure code:
| AC_MSG_CHECKING(for PT_GETDBREGS)
| AC_CACHE_VAL(gdb_cv_have_pt_getdbregs,
| [AC_TRY_COMPILE([#include <sys/types.h>
| #include <sys/ptrace.h>],
| [PT_GETDBREGS;],
| [gdb_cv_have_pt_getdbregs=yes],
| [gdb_cv_have_pt_getdbregs=no])])
| AC_MSG_RESULT($gdb_cv_have_pt_getdbregs)
| if test $gdb_cv_have_pt_getdbregs = yes; then
| AC_DEFINE(HAVE_PT_GETDBREGS, 1,
| [Define if sys/ptrace.h defines the PT_GETDBREGS request.])
| fi
Could something be wrong with your setup? Did you configure from
scratch, or did you do some incremental builds? I have no idea
and I don't know how to help you further on this.
> configure:13194: checking for PT_GETXMMREGS
> configure:13211: gcc -c -g -O2 conftest.c >&5
> conftest.c: In function 'main':
> conftest.c:197: error: 'PT_GETXMMREGS' undeclared (first use in this
> function)
> conftest.c:197: error: (Each undeclared identifier is reported only once
> conftest.c:197: error: for each function it appears in.)
> configure:13211: $? = 1
This part has no effect on the FreeBSD port.
--
Joel
More information about the Gdb
mailing list