From: Joel Brobecker <brobecker@adacore.com>
To: Yuri <yuri@rawbw.com>
Cc: Tom Tromey <tromey@redhat.com>,
gdb@sourceware.org, Steven Kreuzer <skreuzer@FreeBSD.org>
Subject: Re: 7.3 is broken on FreeBSD
Date: Wed, 06 Jul 2011 23:24:00 -0000 [thread overview]
Message-ID: <20110706232418.GX15572@adacore.com> (raw)
In-Reply-To: <4E14EB9C.8080503@rawbw.com>
> 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
next prev parent reply other threads:[~2011-07-06 23:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-06 20:41 Yuri
2011-07-06 20:59 ` Tom Tromey
2011-07-06 21:40 ` Yuri
2011-07-06 22:42 ` Joel Brobecker
2011-07-06 22:47 ` Yuri
2011-07-06 22:55 ` Joel Brobecker
2011-07-06 23:12 ` Yuri
2011-07-06 23:24 ` Joel Brobecker [this message]
2011-07-06 23:41 ` Yuri
2011-07-07 1:59 ` Joel Brobecker
2011-07-07 2:14 ` Yuri
2011-07-07 4:32 ` Joel Brobecker
2011-07-07 5:48 ` Yuri
2011-07-07 14:18 ` Tom Tromey
2011-07-06 23:39 ` Yuri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110706232418.GX15572@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=skreuzer@FreeBSD.org \
--cc=tromey@redhat.com \
--cc=yuri@rawbw.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox