Remove gdb_assert for TYPE_CODE_METHOD in stabs reader
authorHannes Domani <ssbssa@yahoo.de>
Tue, 6 Oct 2020 15:20:20 +0000 (17:20 +0200)
committerHannes Domani <ssbssa@yahoo.de>
Thu, 22 Oct 2020 17:33:40 +0000 (19:33 +0200)
commit1a97fe8cf52a18672ffc2aafa1d209314dd65bde
treebda460753dacb55c8786f06fae40f6762a3805e4
parent6b9d0dfda4787a072d8e61b6407d5ce42a936a1a
Remove gdb_assert for TYPE_CODE_METHOD in stabs reader

It's possible to come across TYPE_CODE_UNDEF at this point in
read_member_functions, which according to a comment in read_type
is used for forward references.

gdb/ChangeLog:

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

* stabsread.c (read_member_functions): Remove gdb_assert.
gdb/ChangeLog
gdb/stabsread.c