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


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

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.


config.in has the old date, maybe that's why: rw-r--r-- 1 yuri users 28240 Mar 17 06:19 gdb/config.in

I am not so familiar with autoconf/automake stuff. Is gdb/config.in supposed to be regenerated with configure run?
I just reconfigured from scratch and still have this.


Yuri


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