[PATCH 1/2] Don't create _Complex type name if there is no target type name

Tom Tromey tom@tromey.com
Thu Oct 22 17:21:38 GMT 2020


>>>>> "Hannes" == Hannes Domani via Gdb-patches <gdb-patches@sourceware.org> writes:

I didn't see a review of this.

Hannes> This causes gdb to crash in strlen.
Hannes> Happens if init_complex_type is called for a type created by
Hannes> dbx_init_float_type in stabsread.c.

Hannes> gdb/ChangeLog:

Hannes> 2020-10-06  Hannes Domani  <ssbssa@yahoo.de>

Hannes> 	* gdbtypes.c (init_complex_type): Check target type name.

This is ok, thanks.

Tom


More information about the Gdb-patches mailing list