7.3 is broken on FreeBSD

Yuri yuri@rawbw.com
Wed Jul 6 23:12:00 GMT 2011


On 07/06/2011 15:55, Joel Brobecker wrote:
>>> Program received signal SIGSEGV, Segmentation fault.
>>> [Switching to Thread 8018041c0 (LWP 101940)]
>>> Can you look at gdb/config.in in the build directory, and tell
>>> me if the following macro is defined?
>>>
>>>          HAVE_PT_GETDBREGS
>> I have #undef HAVE_PT_GETDBREGS
> That explains it why you get the SEGV...
>
>
>>
>> #define PT_GETDBREGS    37      /* get debugging registers */
> But that doesn't explain why it's undef'ed in your case. For that,
> you're going to have to look inside the gdb/config.log file,
> and search for PT_GETDBREGS.  It should tell you that the compilation
> failed, what source file was used, and why it failed.
>

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
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

Yuri



More information about the Gdb mailing list