From: borutr Date: Tue, 17 Apr 2007 20:11:37 +0000 (+0000) Subject: * doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c, X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=ac423fe4107206080b692f3a6e6a4fdd9b48f0b6;p=fw%2Fsdcc * doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c, src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c: fixed #1493816: option --no-gen-comments: --no-gen-comments renamed to --fverbose-asm, to be gcc'ish git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4754 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 93ba830c..15456744 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,7 +3,7 @@ * doc/sdccman.lyx, src/SDCCmain.c, src/SDCCglobal.h, src/ds390/gen.c, src/hc08/gen.c, src/mcs51/gen.c, src/mcs51/rtrack.c: fixed #1493816: option --no-gen-comments: --no-gen-comments renamed - to --fno-verbose-asm, to be gcc'ish + to --fverbose-asm, to be gcc'ish 2007-04-17 Maarten Brock diff --git a/doc/sdccman.lyx b/doc/sdccman.lyx index 616b26d3..3026c0ac 100644 --- a/doc/sdccman.lyx +++ b/doc/sdccman.lyx @@ -9657,14 +9657,14 @@ status collapsed \end_inset --no-verbose-asm +-verbose-asm \begin_inset LatexCommand \index{-\/-no-gen-comments} \end_inset \series default - Will not include code generator comments in the generated files. + Include code generator comments in the generated asm files. \end_layout \begin_layout List diff --git a/src/SDCCglobl.h b/src/SDCCglobl.h index 53146665..a85be4b7 100644 --- a/src/SDCCglobl.h +++ b/src/SDCCglobl.h @@ -279,7 +279,7 @@ struct options int noCcodeInAsm; /* hide c-code from asm */ int iCodeInAsm; /* show i-code in asm */ int noPeepComments; /* hide peephole optimizer comments */ - int noVerboseAsm; /* hide comments generated with gen.c */ + int verboseAsm; /* include comments generated with gen.c */ int printSearchDirs; /* display the directories in the compiler's search path */ int vc_err_style; /* errors and warnings are compatible with Micro$oft visual studio */ int use_stdout; /* send errors to stdout instead of stderr */ diff --git a/src/SDCCmain.c b/src/SDCCmain.c index a418d6fb..e1cac49b 100644 --- a/src/SDCCmain.c +++ b/src/SDCCmain.c @@ -135,7 +135,7 @@ char buffer[PATH_MAX * 2]; #define OPTION_PACK_IRAM "--pack-iram" #define OPTION_NO_PACK_IRAM "--no-pack-iram" #define OPTION_NO_PEEP_COMMENTS "--no-peep-comments" -#define OPTION_NO_VERBOSE_ASM "--fno-verbose-asm" +#define OPTION_VERBOSE_ASM "--fverbose-asm" #define OPTION_OPT_CODE_SPEED "--opt-code-speed" #define OPTION_OPT_CODE_SIZE "--opt-code-size" #define OPTION_STD_C89 "--std-c89" @@ -220,7 +220,7 @@ optionsTable[] = { { 0, OPTION_NO_XINIT_OPT, &options.noXinitOpt, "don't memcpy initialized xram from code"}, { 0, OPTION_NO_CCODE_IN_ASM, &options.noCcodeInAsm, "don't include c-code as comments in the asm file"}, { 0, OPTION_NO_PEEP_COMMENTS, &options.noPeepComments, "don't include peephole optimizer comments"}, - { 0, OPTION_NO_VERBOSE_ASM, &options.noVerboseAsm, "don't include code generator comments"}, + { 0, OPTION_VERBOSE_ASM, &options.verboseAsm, "don't include code generator comments"}, #if !OPT_DISABLE_Z80 || !OPT_DISABLE_GBZ80 { 0, "--no-std-crt0", &options.no_std_crt0, "For the z80/gbz80 do not link default crt0.o"}, #endif diff --git a/src/ds390/gen.c b/src/ds390/gen.c index 98b513ff..3e1f045c 100644 --- a/src/ds390/gen.c +++ b/src/ds390/gen.c @@ -26,7 +26,7 @@ -------------------------------------------------------------------------*/ //#define D(x) -#define D(x) do if (!options.noVerboseAsm) {x;} while(0) +#define D(x) do if (options.verboseAsm) {x;} while(0) #include #include diff --git a/src/hc08/gen.c b/src/hc08/gen.c index 23084dfe..388d2ab9 100644 --- a/src/hc08/gen.c +++ b/src/hc08/gen.c @@ -28,7 +28,7 @@ -------------------------------------------------------------------------*/ /* Use the D macro for basic (unobtrusive) debugging messages */ -#define D(x) do if (!options.noVerboseAsm) {x;} while(0) +#define D(x) do if (options.verboseAsm) {x;} while(0) /* Use the DD macro for detailed debugging messages */ #define DD(x) //#define DD(x) x diff --git a/src/mcs51/gen.c b/src/mcs51/gen.c index a84e2966..f99fa6a0 100644 --- a/src/mcs51/gen.c +++ b/src/mcs51/gen.c @@ -28,7 +28,7 @@ Made everything static -------------------------------------------------------------------------*/ -#define D(x) do if (!options.noVerboseAsm) {x;} while(0) +#define D(x) do if (options.verboseAsm) {x;} while(0) #include #include diff --git a/src/mcs51/rtrack.c b/src/mcs51/rtrack.c index 66ea17e4..2d0212de 100644 --- a/src/mcs51/rtrack.c +++ b/src/mcs51/rtrack.c @@ -46,7 +46,7 @@ #define DEBUG(x) //#define DEBUG(x) x -#define D(x) do if (!options.noVerboseAsm) {x;} while(0) +#define D(x) do if (options.verboseAsm) {x;} while(0) #define REGS8051_SET(idx,val) do{ \ regs8051[idx].value = (val) & 0xff; \