From: cuz Date: Fri, 17 Oct 2003 00:38:01 +0000 (+0000) Subject: Change debug file format X-Git-Tag: V2.12.0~1251 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3085e7583e2a50e81a22233bcc3a03bfeeeacd3a;p=cc65 Change debug file format git-svn-id: svn://svn.cc65.org/cc65/trunk@2541 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/dbgsyms.c b/src/ld65/dbgsyms.c index 44c066094..578c4d9e2 100644 --- a/src/ld65/dbgsyms.c +++ b/src/ld65/dbgsyms.c @@ -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);