This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 7.3 is broken on FreeBSD


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

> >I don't have FreeBSD 8.2 lying around, can you see if
> >PT_GETDBREGS is defined in /usr/include/sys/ptrace.h?
> 
> 
> #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.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]