1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-12 17:30:50 +00:00

Mark imports using "type=imp".

git-svn-id: svn://svn.cc65.org/cc65/trunk@5200 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-08-18 09:56:53 +00:00
parent ae0fcbf345
commit 50adbf61f1

View File

@ -254,11 +254,10 @@ void PrintDbgSyms (FILE* F)
/* Emit the base data for the entry */
fprintf (F,
"sym\tid=%u,name=\"%s\",addrsize=%s,type=%s",
"sym\tid=%u,name=\"%s\",addrsize=%s",
O->SymBaseId + J,
GetString (S->Name),
AddrSizeToStr (S->AddrSize),
SYM_IS_LABEL (S->Type)? "lab" : "equ");
AddrSizeToStr (S->AddrSize));
/* If this is not an import, output its value and - if we have
* it - the segment.
@ -285,10 +284,8 @@ void PrintDbgSyms (FILE* F)
fprintf (F, ",type=%s", SYM_IS_LABEL (S->Type)? "lab" : "equ");
} else {
/* Output the type */
fputs (",type=imp", F);
}
/* Emit the size only if we know it */