mirror of
https://github.com/cc65/cc65.git
synced 2024-10-04 18:57:06 +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;
|
unsigned I, J, K;
|
||||||
|
|
||||||
/* Print line infos from all modules we have linked into the output file */
|
/* Print line infos from all modules we have linked into the output file */
|
||||||
|
unsigned Id = 0;
|
||||||
for (I = 0; I < CollCount (&ObjDataList); ++I) {
|
for (I = 0; I < CollCount (&ObjDataList); ++I) {
|
||||||
|
|
||||||
/* Get the object file */
|
/* Get the object file */
|
||||||
@ -236,8 +237,8 @@ void PrintDbgLineInfo (FILE* F)
|
|||||||
|
|
||||||
/* Print it */
|
/* Print it */
|
||||||
fprintf (F,
|
fprintf (F,
|
||||||
"line\tfile=%u,line=%lu,seg=%u,range=0x%lX-0x%lX",
|
"line\tid=%u,file=%u,line=%lu,seg=%u,range=0x%lX-0x%lX",
|
||||||
LI->File->Id, GetSourceLine (LI), S->Seg->Id,
|
Id++, LI->File->Id, GetSourceLine (LI), S->Seg->Id,
|
||||||
S->Offs, S->Offs + S->Size - 1);
|
S->Offs, S->Offs + S->Size - 1);
|
||||||
|
|
||||||
/* Print type if not LI_TYPE_ASM and count if not zero */
|
/* Print type if not LI_TYPE_ASM and count if not zero */
|
||||||
|
Loading…
Reference in New Issue
Block a user