]> git.sur5r.net Git - cc65/commitdiff
Change debug file format
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 17 Oct 2003 00:38:01 +0000 (00:38 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 17 Oct 2003 00:38:01 +0000 (00:38 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2541 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/dbgsyms.c

index 44c066094a5672e156c8b5684ab43abcf002848e..578c4d9e213fce92bb4610a97b3d81d70684bdb7 100644 (file)
@@ -217,10 +217,10 @@ void PrintDbgSyms (ObjData* O, FILE* F)
 
            /* Emit the debug file line */
                    fprintf (F,
-                     "sym\t\"%s\", 0x%02X, 0x%08lX\n",
+                     "sym\t\"%s\", %08lX, %s\n",
                      GetString (D->Name),
-                     D->Type,
-                     Val);
+                     Val,
+                     IS_EXP_LABEL (D->Type)? "label" : "equate");
 
            /* Insert the symbol into the table */
            InsertDbgSym (D, Val);