diff options
author | Nick Clifton <nickc@redhat.com> | 2003-05-12 11:10:24 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-05-12 11:10:24 +0000 |
commit | 7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f (patch) | |
tree | 13e868eae53c5cadde56dabbfd86c6c17eddc6f4 /binutils/debug.c | |
parent | 3c92310f3e27ab6fa207c17967c13816e37a45ae (diff) | |
download | gdb-7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f.zip gdb-7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f.tar.gz gdb-7ab5f2edf6305bad0bf90b02d8b9b11d2a97d78f.tar.bz2 |
Extend test for circualr debug references.
Diffstat (limited to 'binutils/debug.c')
-rw-r--r-- | binutils/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/debug.c b/binutils/debug.c index b1213d9..3d7d48e 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"), |