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 867a84f..5a4fee9 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 c69cab2..56669be 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)