Adapted to new line infos and spans as written to the object file by the
assembler. git-svn-id: svn://svn.cc65.org/cc65/trunk@5163 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -166,11 +166,9 @@ void PrintDbgScopes (FILE* F)
|
||||
}
|
||||
/* Print the list of spans for this scope */
|
||||
if (CollCount (&S->Spans) > 0) {
|
||||
const Span* SP = CollConstAt (&S->Spans, 0);
|
||||
fprintf (F, ",span=%u", SP->Id);
|
||||
fprintf (F, ",span=%u", SpanId (O, CollConstAt (&S->Spans, 0)));
|
||||
for (K = 1; K < CollCount (&S->Spans); ++K) {
|
||||
SP = CollConstAt (&S->Spans, K);
|
||||
fprintf (F, "+%u", SP->Id);
|
||||
fprintf (F, "+%u", SpanId (O, CollConstAt (&S->Spans, K)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user