From: Nick Clifton Date: Mon, 12 May 2003 11:10:24 +0000 (+0000) Subject: Extend test for circualr debug references. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f;p=binutils-gdb.git Extend test for circualr debug references. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f2337099808..7819fb8b592 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2003-05-12 Salvador Eduardo Tropea + + * debug.c (debug_get_real_type): Extend test for circular debug + references. + 2003-05-12 Nick Clifton * configure.in (ALL_LINGUAS): Add zh_CN. diff --git a/binutils/debug.c b/binutils/debug.c index b1213d9bdf1..3d7d48e2bbf 100644 --- a/binutils/debug.c +++ b/binutils/debug.c @@ -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"),