2006-05-15 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 15 May 2006 14:50:38 +0000 (14:50 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 15 May 2006 14:50:38 +0000 (14:50 +0000)
* dwarf.c (display_debug_frames): Don't return on ZERO
terminator.

binutils/ChangeLog
binutils/dwarf.c

index 867a84f999f5fd559cee3f5a3d509200c86cedc9..5a4fee9f4cc3970604cfd4f185a9976219765ce1 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf.c (display_debug_frames): Don't return on ZERO
+       terminator.
+
 2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
index c69cab224b2889b157fa0726f70475cf3397006d..56669be6fb8605b3866b9b9730e6846209eb9af5 100644 (file)
@@ -2927,7 +2927,7 @@ display_debug_frames (struct dwarf_section *section,
        {
          printf ("\n%08lx ZERO terminator\n\n",
                    (unsigned long)(saved_start - section_start));
-         return 1;
+         continue;
        }
 
       if (length == 0xffffffff)