[PATCH] Avoid crash in write_psymtabs_to_index

Tom Tromey tom@tromey.com
Sat Apr 17 19:39:31 GMT 2021


>> If I try "save gdb-index" using the executable from
>> gdb.cp/cmpd-minsyms.exp, gdb will crash.  This happens due to a
>> missing NULL check.

Kevin> LGTM.

Thanks, I'm going to check this in, and then the gdb-index patch.

Tom


More information about the Gdb-patches mailing list