mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +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",
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user