Latest GDB version problems

Piotrek starpit at tlen.pl
Mon May 10 12:25:04 PDT 2010


W dniu 10.05.2010 21:02, Robert Clipsham pisze:
> You are not using a version of gdb with D support if s is not displayed
> as a string. This said, I've only ever looked at variables using print
> or a backtrace, could you try 'p s' and see what result it gives?

(gdb) p s
$1 = 578159222890430469

No luck :(

> If it's the same you aren't using a D capable version of gdb. This said, it
> should be working in that version of gdb, I guess there's some other
> issues there if this is the case.
>
Probably

>> Does anyone can work with gdb on linux?
>
> I do, and it works great for me :)

So I assume you are working on hand patched version of gdb - not the 
unchanged one from the official repository?

> This said, if you have issues with it
> it's good to voice them to either the D community or the gdb devs if
> appropriate so we can work out any issues and make debugging D on
> linux/freebsd/os x etc a pleasant experience. It isn't right now, but
> the situation's far better than it was a few weeks ago (it was
> impossible to do anything non-trivial then :P)

I try next gdb snapshot and then if it doesn't work I will fill bug report.

Cheers
Piotrek


More information about the Digitalmars-d-learn mailing list