From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9105 invoked by alias); 6 Jul 2011 23:24:37 -0000 Received: (qmail 9097 invoked by uid 22791); 6 Jul 2011 23:24:37 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Jul 2011 23:24:21 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id DC9AC2BB4BC; Wed, 6 Jul 2011 19:24:20 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Irv+U2ROp1RQ; Wed, 6 Jul 2011 19:24:20 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8BBF52BB4A0; Wed, 6 Jul 2011 19:24:20 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 1D54B145615; Wed, 6 Jul 2011 16:24:18 -0700 (PDT) Date: Wed, 06 Jul 2011 23:24:00 -0000 From: Joel Brobecker To: Yuri Cc: Tom Tromey , gdb@sourceware.org, Steven Kreuzer Subject: Re: 7.3 is broken on FreeBSD Message-ID: <20110706232418.GX15572@adacore.com> References: <4E14C877.6080402@rawbw.com> <4E14D646.5090003@rawbw.com> <20110706224222.GV15572@adacore.com> <4E14E5D2.1080009@rawbw.com> <20110706225535.GW15572@adacore.com> <4E14EB9C.8080503@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E14EB9C.8080503@rawbw.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00031.txt.bz2 > 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 | #include ], | [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