Output spans to the debug info file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5152 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include "lineinfo.h"
|
||||
#include "scopes.h"
|
||||
#include "segments.h"
|
||||
#include "span.h"
|
||||
|
||||
|
||||
|
||||
@@ -102,17 +103,18 @@ void CreateDbgFile (void)
|
||||
/* Output version information */
|
||||
fprintf (F, "version\tmajor=2,minor=0\n");
|
||||
|
||||
/* Output a line with the item numbers so the debug info module is able
|
||||
/* Output a line with the item numbers so the debug info module is able
|
||||
* to preallocate the required memory.
|
||||
*/
|
||||
fprintf (
|
||||
F,
|
||||
"info\tlib=%u,mod=%u,seg=%u,file=%u,scope=%u\n",
|
||||
"info\tlib=%u,file=%u,mod=%u,scope=%u,seg=%u,span=%u\n",
|
||||
FileInfoCount (),
|
||||
LibraryCount (),
|
||||
ObjDataCount (),
|
||||
ScopeCount (),
|
||||
SegmentCount (),
|
||||
FileInfoCount (),
|
||||
ScopeCount ()
|
||||
SpanCount ()
|
||||
);
|
||||
|
||||
/* Assign the ids to the items */
|
||||
@@ -133,6 +135,9 @@ void CreateDbgFile (void)
|
||||
/* Output line info */
|
||||
PrintDbgLineInfo (F);
|
||||
|
||||
/* Output spans */
|
||||
PrintDbgSpans (F);
|
||||
|
||||
/* Output symbols */
|
||||
PrintDbgSyms (F);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user