[PATCH] Check for null result from gdb_demangle

Simon Marchi simark@simark.ca
Thu Feb 13 14:57:00 GMT 2020


On 2020-02-13 5:52 a.m., Andrew Burgess wrote:
> If you are able to find an example of a symbol that triggers the crash
> then it should be pretty easy to add a test, see for example the last
> few lines of gdb.cp/demangle.exp for C++ demangling tests.  Having a
> test would help something like this happening again.

Calling the "demangle" command doesn't seem to invoke that function though.

Simon



More information about the Gdb-patches mailing list