This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2 v2] Demangler crash handler


Wouldn't a new "set debug demangle on" option, that would make
GDB output:

 (gdb) bt / whatever-gdb-command-that-triggers-demangling
 demangling _ZN2CV1mEi ... CV::m(int)
 demangling _Zwhatever ... <NULL>

be just as helpful, and, even potentially be helpful to debug
scenarios where GDB/libiberty might get the demangling wrong,
but not cause a crash?

Seems like a natural and easy sell to me.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]