From 2f4b0349c0e08a768e568dad2406bdf06bd3a039 Mon Sep 17 00:00:00 2001 From: Emden Gansner Date: Mon, 11 Feb 2013 13:53:13 -0500 Subject: [PATCH] Make sure gdefs.h has debug info in it, to be turned on at final compile time. --- lib/gvpr/mkdefs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/gvpr/mkdefs.c b/lib/gvpr/mkdefs.c index 998ef96bc..b1d9b7041 100644 --- a/lib/gvpr/mkdefs.c +++ b/lib/gvpr/mkdefs.c @@ -186,13 +186,11 @@ int main(int argc, char *argv[]) } fprintf(fp, "};\n"); -#ifdef DEBUG - fprintf(fp, "\nstatic char* gprnames[] = {\n\t\"\",\n"); + fprintf(fp, "\n#ifdef DEBUG\nstatic char* gprnames[] = {\n\t\"\",\n"); for (recp = vals.next; recp; recp = recp->next) { fprintf(fp, "\t\"%s\",\n", recp->symbol); } - fprintf(fp, "};\n"); -#endif + fprintf(fp, "};\n#endif\n"); fprintf(fp, "\ntypedef unsigned short tctype;\n"); fprintf(fp, "\nstatic tctype tchk[][2] = {\n\t{ 0, 0 },\n"); -- 2.40.0