Thread overview
gdb version?
Mar 09, 2006
Ant
Mar 09, 2006
John Demme
Mar 09, 2006
Ant
Mar 13, 2006
Frank Benoit
Mar 13, 2006
John Demme
Mar 14, 2006
John Demme
Mar 15, 2006
Frank Benoit
March 09, 2006
What is the best version of gdb to use (with D, need I say?)

Where are the patches for using gdb with D?

Thanks,

Ant
March 09, 2006
There is a patch on dsource.org for GDB version 6.3.  All it does it symbol demangling, but it's a start.

~John Demme

Ant wrote:

> What is the best version of gdb to use (with D, need I say?)
> 
> Where are the patches for using gdb with D?
> 
> Thanks,
> 
> Ant

March 09, 2006
In article <duoglr$22hf$1@digitaldaemon.com>, John Demme says...
>
>There is a patch on dsource.org for GDB version 6.3.  All it does it symbol demangling, but it's a start.
>

dsource, I browsed through it but missed it. I'll more look carefully. But I'm not sure all 6.3 is good. is it? I'll try the latest 6.3.

I was using 6.4 until yesterday it segfault (gdb it self).

Ant


March 13, 2006
> I was using 6.4 until yesterday it segfault (gdb it self).

I had this problem too.
I reduced the code to make a bug report. But it turn out that
uncommenting a function out and the segfault was gone.
It could add a function to that module at any point a gdb segfaults.
But because it was still a big program i didn't made the bug report.
A backtrace of gdb itself brought the segfault in dwarf2_read...
Both segfaulted, the unpatched 6.4 debian and the d-patched 6.3.

Frank
March 13, 2006
Please post a bug report on the GDB Patches forum over at dsource.org/forums.  Please include the backtrace of gdb's crash as well as the code that you're compiling (if possible).  If it's part of a large codebase, and you're willing to work with me, we'll discuss it over at dsource.

I've had some issues with this, but haven't been able to track it down yet, and it hasn't been enough of a nusance to put a ton of time into it.  I'm not surprised that an unpatched GDB crashed, since it generally can't handle the D DWARF signature.

~John Demme

Frank Benoit wrote:

> 
>> I was using 6.4 until yesterday it segfault (gdb it self).
> 
> I had this problem too.
> I reduced the code to make a bug report. But it turn out that
> uncommenting a function out and the segfault was gone.
> It could add a function to that module at any point a gdb segfaults.
> But because it was still a big program i didn't made the bug report.
> A backtrace of gdb itself brought the segfault in dwarf2_read...
> Both segfaulted, the unpatched 6.4 debian and the d-patched 6.3.
> 
> Frank

March 14, 2006
Frank Benoit wrote:

> 
>> I was using 6.4 until yesterday it segfault (gdb it self).
> 
> I had this problem too.
> I reduced the code to make a bug report. But it turn out that
> uncommenting a function out and the segfault was gone.
> It could add a function to that module at any point a gdb segfaults.
> But because it was still a big program i didn't made the bug report.
> A backtrace of gdb itself brought the segfault in dwarf2_read...
> Both segfaulted, the unpatched 6.4 debian and the d-patched 6.3.
> 
> Frank

I just tried to reply to your email and got an error: user unknown.  You do have a different email I can use?

Thanks,
John Demme
March 15, 2006
> I just tried to reply to your email and got an error: user unknown.  You do have a different email I can use?
> 
> Thanks,
> John Demme

benoit [at the domain] tionex [ dot ] de