bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

objdump --debugging hangs


From: W Gerald Hicks
Subject: objdump --debugging hangs
Date: Sat, 07 Jul 2001 11:05:31 +0000

I was trying to use 'objdump --debugging' to extract structure
definitions but objdump kept hanging on me.

The following patch made it quit hanging for me, don't know if this
really an effective fix...

--- binutils-2.11.2/binutils/debug.c.orig       Thu Jun  7 03:12:27 2001
+++ binutils-2.11.2/binutils/debug.c    Sat Jul  7 10:57:12 2001
@@ -2198,6 +2198,9 @@
                   debug_get_type_name (handle, type));
          return NULL;
        }
+      /* XXX - the last element seemed to reference itself */
+      if (l == l->next)
+       break;
     }


Cheers,

Jerry Hicks
address@hidden
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]