On 26/12/2011 22:57, AaronP wrote:
Trying to set a breakpoint on gdb (7.3.1-1) gives me an error.

(gdb) b game.d:die
buildsym.c:824: internal-error: start_symtab: Assertion `!
pending_addrmap' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)


Is there some kind of special sauce for getting gdb working with D?

Make sure you're compiling with -gc (not -g), if that's still happening then one of two things needs to happen:

1) A bug gets filed to the gdb team with the relevant object files so they can reproduce it/fix it
2) It needs narrowing down so that dmd can work around it.

Alternatively you could compile with ldc or gdc as they will produce different debug information and probably won't cause gdb to crash.

--
Robert
http://octarineparrot.com/

Reply via email to