I recently triggered a crash with an endless recursion in cp-demangle. I think it is this bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=16957 I compiled a backport from gdb 7.11 and could no longer reproduce the error. We could try and backport the patch to gdb 7.7. I'd be willing to give it a try if there is a chance for inclusion. Thanks. Christoph