Changeset 8247 for trunk/tools
- Timestamp:
- Apr 12, 2002, 3:40:21 AM (23 years ago)
- Location:
- trunk/tools/dbginfo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/dbginfo/kHll.cpp
r4273 r8247 1 /* $Id: kHll.cpp,v 1.1 7 2000-09-16 17:30:25bird Exp $1 /* $Id: kHll.cpp,v 1.18 2002-04-12 01:40:20 bird Exp $ 2 2 * 3 3 * kHll - Implementation of the class kHll. … … 36 36 #include <stdlib.h> 37 37 38 #include <kTypes.h> 39 #include <kError.h> 40 #include <kFileInterfaces.h> 38 41 #include <kList.h> 39 42 #include <kFile.h> … … 1847 1850 */ 1848 1851 if (e32.e32_debuginfo != 0UL && e32.e32_debuglen != 0UL 1849 && file.set(e32.e32_debuginfo))1852 && !file.set(e32.e32_debuginfo)) 1850 1853 return new kHll(&file); 1851 1854 else … … 1879 1882 * Set modulename. 1880 1883 */ 1881 if (!pFileLX-> queryModuleName(szBuffer))1884 if (!pFileLX->moduleGetName(szBuffer)) 1882 1885 strcpy(szBuffer, "HMM"); 1883 1886 pHll->setModName(szBuffer); … … 1916 1919 * Exports 1917 1920 */ 1918 EXPORTENTRYexport;1919 if (pFileLX-> findFirstExport(&export))1921 kExportEntry export; 1922 if (pFileLX->exportFindFirst(&export)) 1920 1923 { 1921 1924 do … … 1923 1926 if (export.achName[0] == '\0') 1924 1927 sprintf(export.achName, "Ordinal%03d", export.ulOrdinal); 1925 pModule->addPublicSymbol(export.achName, export. offset,1928 pModule->addPublicSymbol(export.achName, export.ulOffset, 1926 1929 (unsigned short)export.iObject, NULL); 1927 } while (pFileLX->findNextExport(&export)); 1930 } while (pFileLX->exportFindNext(&export)); 1931 pFileLX->exportFindClose(&export); 1928 1932 } 1929 1933 … … 1948 1952 * Start conversion. 1949 1953 */ 1950 PBYTE pbSym = (PBYTE)pFile-> readFile();1954 PBYTE pbSym = (PBYTE)pFile->mapFile(); 1951 1955 if (pbSym != NULL) 1952 1956 { -
trunk/tools/dbginfo/kHllMain.cpp
r4130 r8247 1 /* $Id: kHllMain.cpp,v 1. 1 2000-08-31 03:02:28bird Exp $1 /* $Id: kHllMain.cpp,v 1.2 2002-04-12 01:40:21 bird Exp $ 2 2 * 3 3 * kHllMain - interface to the kHll class. … … 36 36 #include <assert.h> 37 37 38 #include <kTypes.h> 39 #include <kError.h> 40 #include <kFileInterfaces.h> 38 41 #include <kList.h> 39 42 #include <kFile.h>
Note:
See TracChangeset
for help on using the changeset viewer.