diff options
author | Hannes Domani <ssbssa@yahoo.de> | 2020-10-06 17:08:42 +0200 |
---|---|---|
committer | Hannes Domani <ssbssa@yahoo.de> | 2020-10-22 19:33:40 +0200 |
commit | 6b9d0dfda4787a072d8e61b6407d5ce42a936a1a (patch) | |
tree | c2d8b4a426a3ab6e7423efa7d4a977263d55abd6 /gdb/go-lang.c | |
parent | 4b4bb603fda8dca010c4fc18ae84f9df37b0bb8c (diff) | |
download | gdb-6b9d0dfda4787a072d8e61b6407d5ce42a936a1a.zip gdb-6b9d0dfda4787a072d8e61b6407d5ce42a936a1a.tar.gz gdb-6b9d0dfda4787a072d8e61b6407d5ce42a936a1a.tar.bz2 |
Don't create _Complex type name if there is no target type name
This causes gdb to crash in strlen.
Happens if init_complex_type is called for a type created by
dbx_init_float_type in stabsread.c.
gdb/ChangeLog:
2020-10-22 Hannes Domani <ssbssa@yahoo.de>
* gdbtypes.c (init_complex_type): Check target type name.
Diffstat (limited to 'gdb/go-lang.c')
0 files changed, 0 insertions, 0 deletions