mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
[LD65] Add bank number to dbgfile
This commit is contained in:
parent
0541b65aa4
commit
fa80e171a2
@ -638,6 +638,13 @@ void PrintDbgSegments (FILE* F)
|
|||||||
fprintf (F, ",oname=\"%s\",ooffs=%lu",
|
fprintf (F, ",oname=\"%s\",ooffs=%lu",
|
||||||
S->OutputName, S->OutputOffs);
|
S->OutputName, S->OutputOffs);
|
||||||
}
|
}
|
||||||
|
if (S->MemArea) {
|
||||||
|
if (S->MemArea->BankExpr) {
|
||||||
|
if (IsConstExpr (S->MemArea->BankExpr)) {
|
||||||
|
fprintf (F, ",bank=%lu", GetExprVal(S->MemArea->BankExpr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
fputc ('\n', F);
|
fputc ('\n', F);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user