Attached is a patch against GDB-6.4 that enables demangling of symbols generated by DMD[1] and GDC[2]. The infrastructure part (c-lang.c, defs.h, d-lang.h, dwarf2read.c, language.c, Makefile.in, symfile, syntab.c, dwarf2.h) is based on John Demme's work[3][4]. The pluggable demangler (gdb/demangle_d/*) was written completely form scratch and isn't based on John's work and supports templates and - to a certain extend - nested functions and types. Thomas [1] http://digitalmars.com/d/dcompiler.html [2] http://home.earthlink.net/~dvdfrdmn/d/ [3] http://www.dsource.org/forums/viewforum.php?f=58 [4] http://sourceware.org/ml/gdb-patches/2005-04/msg00039.html