Changeset 2894 for trunk/src/kmk/kmkbuiltin/kDepObj.c
- Timestamp:
- Sep 8, 2016, 3:27:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/kDepObj.c
r2856 r2894 28 28 *******************************************************************************/ 29 29 #define MSCFAKES_NO_WINDOWS_H 30 #include "config.h"31 30 #include <stdio.h> 32 31 #include <stdlib.h> … … 36 35 #include <ctype.h> 37 36 #include <stdarg.h> 38 #ifdef HAVE_ALLOCA_H39 # include <alloca.h>40 #endif41 37 #if !defined(_MSC_VER) 42 38 # include <unistd.h> … … 54 50 * Defined Constants And Macros * 55 51 *******************************************************************************/ 56 /*#define DEBUG*/ 57 #ifdef DEBUG 52 #if 0 58 53 # define dprintf(a) printf a 59 54 # define dump(pb, cb, offBase) depHexDump(pb,cb,offBase) … … 576 571 * @param cbSyms Size of the symbol section. 577 572 */ 578 int kDepObjCOFFParseCV8SymbolSection(const KU8 *pbSyms, K SIZEcbSyms)573 int kDepObjCOFFParseCV8SymbolSection(const KU8 *pbSyms, KU32 cbSyms) 579 574 { 580 575 char const * pchStrTab = NULL; … … 765 760 int rc; 766 761 767 printf("COFF file!\n");762 dprintf(("COFF file!\n")); 768 763 769 764 for (iSHdr = 0; iSHdr < cSHdrs; iSHdr++) … … 784 779 return rc; 785 780 } 786 printf("#%d: %.8s\n", iSHdr, paSHdrs[iSHdr].Name);781 dprintf(("#%d: %.8s\n", iSHdr, paSHdrs[iSHdr].Name)); 787 782 } 788 783 return rcRet;
Note:
See TracChangeset
for help on using the changeset viewer.