Changeset 13910


Ignore:
Timestamp:
Apr 7, 2000, 4:48:03 AM (25 years ago)
Author:
bird
Message:

Tried to fix dumper, but IBMSRC don't work properly! Don't know how to
read that data yet...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/tools/dbginfo/dbgLXDumper.c

    r13863 r13910  
    1 /* $Id: dbgLXDumper.c,v 1.6 2000-03-31 15:35:08 bird Exp $
     1/* $Id: dbgLXDumper.c,v 1.7 2000-04-07 02:48:03 bird Exp $
    22 *
    33 * dbgLXDumper - reads and interprets the debuginfo found in an LX executable.
     
    433433                    fprintf(phOut,
    434434                            "    First entry:\n"
     435                            "      usLine           0x%04x\n"
    435436                            "      uchType          0x%02x\n"
    436437                            "      uchReserved      0x%02x\n"
     
    438439                            "      iSeg             0x%04x\n"
    439440                            "      offBase/cb       0x%08x\n",
     441                            pFirstEntry->hll04.usLine,
    440442                            pFirstEntry->hll04.uchType,
    441443                            pFirstEntry->hll04.uchReserved,
     
    510512                                    "      Filenames:\n");
    511513                            pch = &pFilenameEntry->cchName;
     514                            cbEntries = 0;
    512515                            for (k = 0; k < pFilenameEntry->cSourceFiles; k++)
    513516                            {
     
    523526                            else
    524527                                cbEntries = pFirstEntry->hll03.u1.cbFileNameTable;
     528                            cbEntries += offsetof(HLLFILENAMEENTRY, cchName);
    525529                            break;
    526530                        }
Note: See TracChangeset for help on using the changeset viewer.