mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
Output ids for line infos to the debug info file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5140 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a3ae02b5b7
commit
36c99befcc
@ -210,6 +210,7 @@ void PrintDbgLineInfo (FILE* F)
|
||||
unsigned I, J, K;
|
||||
|
||||
/* Print line infos from all modules we have linked into the output file */
|
||||
unsigned Id = 0;
|
||||
for (I = 0; I < CollCount (&ObjDataList); ++I) {
|
||||
|
||||
/* Get the object file */
|
||||
@ -236,8 +237,8 @@ void PrintDbgLineInfo (FILE* F)
|
||||
|
||||
/* Print it */
|
||||
fprintf (F,
|
||||
"line\tfile=%u,line=%lu,seg=%u,range=0x%lX-0x%lX",
|
||||
LI->File->Id, GetSourceLine (LI), S->Seg->Id,
|
||||
"line\tid=%u,file=%u,line=%lu,seg=%u,range=0x%lX-0x%lX",
|
||||
Id++, LI->File->Id, GetSourceLine (LI), S->Seg->Id,
|
||||
S->Offs, S->Offs + S->Size - 1);
|
||||
|
||||
/* Print type if not LI_TYPE_ASM and count if not zero */
|
||||
|
Loading…
x
Reference in New Issue
Block a user