summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-05-12 11:10:24 +0000
committerNick Clifton <nickc@redhat.com>2003-05-12 11:10:24 +0000
commit7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f (patch)
tree13e868eae53c5cadde56dabbfd86c6c17eddc6f4
parent3c92310f3e27ab6fa207c17967c13816e37a45ae (diff)
downloadppe42-binutils-7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f.tar.gz
ppe42-binutils-7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f.zip
Extend test for circualr debug references.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/debug.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index f233709980..7819fb8b59 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/debug.c b/binutils/debug.c
index b1213d9bdf..3d7d48e2bb 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"),
OpenPOWER on IntegriCloud