Ignore:
Timestamp:
Sep 8, 2016, 3:27:56 PM (9 years ago)
Author:
bird
Message:

Included kDepObj in kWorker as a post execution option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/kDepObj.c

    r2856 r2894  
    2828*******************************************************************************/
    2929#define MSCFAKES_NO_WINDOWS_H
    30 #include "config.h"
    3130#include <stdio.h>
    3231#include <stdlib.h>
     
    3635#include <ctype.h>
    3736#include <stdarg.h>
    38 #ifdef HAVE_ALLOCA_H
    39 # include <alloca.h>
    40 #endif
    4137#if !defined(_MSC_VER)
    4238# include <unistd.h>
     
    5450*   Defined Constants And Macros                                               *
    5551*******************************************************************************/
    56 /*#define DEBUG*/
    57 #ifdef DEBUG
     52#if 0
    5853# define dprintf(a)             printf a
    5954# define dump(pb, cb, offBase)  depHexDump(pb,cb,offBase)
     
    576571 * @param   cbSyms      Size of the symbol section.
    577572 */
    578 int kDepObjCOFFParseCV8SymbolSection(const KU8 *pbSyms, KSIZE cbSyms)
     573int kDepObjCOFFParseCV8SymbolSection(const KU8 *pbSyms, KU32 cbSyms)
    579574{
    580575    char const *    pchStrTab  = NULL;
     
    765760    int                         rc;
    766761
    767     printf("COFF file!\n");
     762    dprintf(("COFF file!\n"));
    768763
    769764    for (iSHdr = 0; iSHdr < cSHdrs; iSHdr++)
     
    784779                return rc;
    785780        }
    786         printf("#%d: %.8s\n", iSHdr, paSHdrs[iSHdr].Name);
     781        dprintf(("#%d: %.8s\n", iSHdr, paSHdrs[iSHdr].Name));
    787782    }
    788783    return rcRet;
Note: See TracChangeset for help on using the changeset viewer.