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:
parent
ae0fcbf345
commit
50adbf61f1
1 changed files with 2 additions and 5 deletions
|
@ -254,11 +254,10 @@ void PrintDbgSyms (FILE* F)
|
||||||
|
|
||||||
/* Emit the base data for the entry */
|
/* Emit the base data for the entry */
|
||||||
fprintf (F,
|
fprintf (F,
|
||||||
"sym\tid=%u,name=\"%s\",addrsize=%s,type=%s",
|
"sym\tid=%u,name=\"%s\",addrsize=%s",
|
||||||
O->SymBaseId + J,
|
O->SymBaseId + J,
|
||||||
GetString (S->Name),
|
GetString (S->Name),
|
||||||
AddrSizeToStr (S->AddrSize),
|
AddrSizeToStr (S->AddrSize));
|
||||||
SYM_IS_LABEL (S->Type)? "lab" : "equ");
|
|
||||||
|
|
||||||
/* If this is not an import, output its value and - if we have
|
/* If this is not an import, output its value and - if we have
|
||||||
* it - the segment.
|
* it - the segment.
|
||||||
|
@ -285,10 +284,8 @@ void PrintDbgSyms (FILE* F)
|
||||||
fprintf (F, ",type=%s", SYM_IS_LABEL (S->Type)? "lab" : "equ");
|
fprintf (F, ",type=%s", SYM_IS_LABEL (S->Type)? "lab" : "equ");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
/* Output the type */
|
/* Output the type */
|
||||||
fputs (",type=imp", F);
|
fputs (",type=imp", F);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Emit the size only if we know it */
|
/* Emit the size only if we know it */
|
||||||
|
|
Loading…
Add table
Reference in a new issue