More work on high level language debug symbols. They are now passed correctly
via the object files to the linker and written to the debug info file. git-svn-id: svn://svn.cc65.org/cc65/trunk@5285 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -198,11 +198,18 @@ void ObjReadDbgSyms (FILE* F, unsigned long Pos, ObjData* O)
|
||||
/* Seek to the correct position */
|
||||
FileSetPos (F, Pos);
|
||||
|
||||
/* Read the data */
|
||||
/* Read the asm debug symbols */
|
||||
DbgSymCount = ReadVar (F);
|
||||
CollGrow (&O->DbgSyms, DbgSymCount);
|
||||
for (I = 0; I < DbgSymCount; ++I) {
|
||||
CollAppend (&O->DbgSyms, ReadDbgSym (F, O, I));
|
||||
CollAppend (&O->DbgSyms, ReadDbgSym (F, O, I));
|
||||
}
|
||||
|
||||
/* Read the hll debug symbols */
|
||||
DbgSymCount = ReadVar (F);
|
||||
CollGrow (&O->HLLDbgSyms, DbgSymCount);
|
||||
for (I = 0; I < DbgSymCount; ++I) {
|
||||
CollAppend (&O->HLLDbgSyms, ReadHLLDbgSym (F, O, I));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user