]> git.sur5r.net Git - cc65/commitdiff
The spans do now contain the size of a span, no longer the end offset.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 4 Aug 2011 12:51:44 +0000 (12:51 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 4 Aug 2011 12:51:44 +0000 (12:51 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5114 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/od65/dump.c

index 6ad35103e387bdc3bac8eac2779555d3ae5ff8cf..0c8e03e24e7cad4befa6abd1f6a91c7e05400c93 100644 (file)
@@ -817,7 +817,7 @@ void DumpObjScopes (FILE* F, unsigned long Offset)
 
         const char*     Name;
         unsigned        Len;
-        unsigned        SegCount;
+        unsigned        SpanCount;
         unsigned        J;
 
         /* Read the data */
@@ -846,16 +846,16 @@ void DumpObjScopes (FILE* F, unsigned long Offset)
            printf ("      Size:%20s0x%04lX  (%lu)\n", "", Size, Size);
        }
 
-        /* Segment ranges */
-        SegCount = ReadVar (F);
-        printf ("      Segment ranges:\n");
-        printf ("        Count:%23u\n", SegCount);
+        /* Spans */
+        SpanCount = ReadVar (F);
+        printf ("      Segment spans:\n");
+        printf ("        Count:%23u\n", SpanCount);
 
-        for (J = 0; J < SegCount; ++J) {
+        for (J = 0; J < SpanCount; ++J) {
             printf ("        Index:%23u\n", J);
             printf ("          Segment:%19lu\n", ReadVar (F));
             printf ("          Start:%13s0x%06lX\n", "", ReadVar (F));
-            printf ("          End:%15s0x%06lX\n", "", ReadVar (F));
+            printf ("          Size:%15s0x%06lX\n", "", ReadVar (F));
         }
     }