Debug info: Make file info ids continous. Output modules that use a file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5128 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -63,6 +63,7 @@ struct Section;
|
||||
typedef struct ObjData ObjData;
|
||||
struct ObjData {
|
||||
ObjData* Next; /* Linked list of all objects */
|
||||
unsigned Id; /* Id of this module */
|
||||
unsigned Name; /* Module name */
|
||||
struct Library* Lib; /* Library where module comes from */
|
||||
unsigned long MTime; /* Time of last modification */
|
||||
@@ -70,7 +71,6 @@ struct ObjData {
|
||||
unsigned long Start; /* Start offset of data in library */
|
||||
unsigned Flags;
|
||||
|
||||
unsigned FileBaseId; /* Debug info base id for files */
|
||||
unsigned SymBaseId; /* Debug info base id for symbols */
|
||||
unsigned ScopeBaseId; /* Debug info base if for scopes */
|
||||
|
||||
@@ -145,6 +145,9 @@ struct Section* GetObjSection (ObjData* Obj, unsigned Id);
|
||||
struct Scope* GetObjScope (ObjData* Obj, unsigned Id);
|
||||
/* Get a scope from an object file checking for a valid index */
|
||||
|
||||
void PrintDbgModules (FILE* F);
|
||||
/* Output the modules to a debug info file */
|
||||
|
||||
|
||||
|
||||
/* End of objdata.h */
|
||||
|
||||
Reference in New Issue
Block a user