Extend test for circualr debug references.
authorNick Clifton <nickc@redhat.com>
Mon, 12 May 2003 11:10:24 +0000 (11:10 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 12 May 2003 11:10:24 +0000 (11:10 +0000)
binutils/ChangeLog
binutils/debug.c

index f23370998087fe71d403e1dd51a50a4db79d3976..7819fb8b5924da62cc526b366027e4230343666c 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-12  Salvador Eduardo Tropea  <salvador@inti.gov.ar>
+
+       * debug.c (debug_get_real_type): Extend test for circular debug
+       references.
+
 2003-05-12  Nick Clifton  <nickc@redhat.com>
 
        * configure.in (ALL_LINGUAS): Add zh_CN.
index b1213d9bdf12d53ab4a1272b194eaf5937e04267..3d7d48e2bbf98d183492d8d70411945917ff7558 100644 (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"),
This page took 0.03287 seconds and 4 git commands to generate.