Extend test for circualr debug references.
This commit is contained in:
parent
3c92310f3e
commit
7ab5f2edf6
2 changed files with 6 additions and 1 deletions
|
@ -2183,7 +2183,7 @@ debug_get_real_type (handle, type, list)
|
|||
|
||||
for (l = list; l != NULL; l = l->next)
|
||||
{
|
||||
if (l->t == type)
|
||||
if (l->t == type || l == l->next)
|
||||
{
|
||||
fprintf (stderr,
|
||||
_("debug_get_real_type: circular debug information for %s\n"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue