Extend test for circualr debug references.

This commit is contained in:
Nick Clifton 2003-05-12 11:10:24 +00:00
parent 3c92310f3e
commit 7ab5f2edf6
2 changed files with 6 additions and 1 deletions

View file

@ -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"),