Changeset 8247 for trunk/tools


Ignore:
Timestamp:
Apr 12, 2002, 3:40:21 AM (23 years ago)
Author:
bird
Message:

Updated so it compiles and workes with latest kFile*.h changes.

Location:
trunk/tools/dbginfo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/dbginfo/kHll.cpp

    r4273 r8247  
    1 /* $Id: kHll.cpp,v 1.17 2000-09-16 17:30:25 bird Exp $
     1/* $Id: kHll.cpp,v 1.18 2002-04-12 01:40:20 bird Exp $
    22 *
    33 * kHll - Implementation of the class kHll.
     
    3636#include <stdlib.h>
    3737
     38#include <kTypes.h>
     39#include <kError.h>
     40#include <kFileInterfaces.h>
    3841#include <kList.h>
    3942#include <kFile.h>
     
    18471850         */
    18481851        if (e32.e32_debuginfo != 0UL && e32.e32_debuglen != 0UL
    1849             && file.set(e32.e32_debuginfo))
     1852            && !file.set(e32.e32_debuginfo))
    18501853            return new kHll(&file);
    18511854        else
     
    18791882     * Set modulename.
    18801883     */
    1881     if (!pFileLX->queryModuleName(szBuffer))
     1884    if (!pFileLX->moduleGetName(szBuffer))
    18821885        strcpy(szBuffer, "HMM");
    18831886    pHll->setModName(szBuffer);
     
    19161919     * Exports
    19171920     */
    1918     EXPORTENTRY export;
    1919     if (pFileLX->findFirstExport(&export))
     1921    kExportEntry export;
     1922    if (pFileLX->exportFindFirst(&export))
    19201923    {
    19211924        do
     
    19231926            if (export.achName[0] == '\0')
    19241927                sprintf(export.achName, "Ordinal%03d", export.ulOrdinal);
    1925             pModule->addPublicSymbol(export.achName, export.offset,
     1928            pModule->addPublicSymbol(export.achName, export.ulOffset,
    19261929                                     (unsigned short)export.iObject, NULL);
    1927         } while (pFileLX->findNextExport(&export));
     1930        } while (pFileLX->exportFindNext(&export));
     1931        pFileLX->exportFindClose(&export);
    19281932    }
    19291933
     
    19481952     * Start conversion.
    19491953     */
    1950     PBYTE pbSym = (PBYTE)pFile->readFile();
     1954    PBYTE pbSym = (PBYTE)pFile->mapFile();
    19511955    if (pbSym != NULL)
    19521956    {
  • trunk/tools/dbginfo/kHllMain.cpp

    r4130 r8247  
    1 /* $Id: kHllMain.cpp,v 1.1 2000-08-31 03:02:28 bird Exp $
     1/* $Id: kHllMain.cpp,v 1.2 2002-04-12 01:40:21 bird Exp $
    22 *
    33 * kHllMain - interface to the kHll class.
     
    3636#include <assert.h>
    3737
     38#include <kTypes.h>
     39#include <kError.h>
     40#include <kFileInterfaces.h>
    3841#include <kList.h>
    3942#include <kFile.h>
Note: See TracChangeset for help on using the changeset viewer.