Maintain the types as separate indexed items in the debug info file.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5263 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-22 18:22:45 +00:00
parent b064002266
commit 374b106b06
7 changed files with 89 additions and 25 deletions

View File

@@ -47,7 +47,8 @@
#include "lineinfo.h"
#include "scopes.h"
#include "segments.h"
#include "span.h"
#include "span.h"
#include "tpool.h"
@@ -114,13 +115,14 @@ void CreateDbgFile (void)
*/
fprintf (
F,
"info\tfile=%u,lib=%u,mod=%u,scope=%u,seg=%u,span=%u\n",
"info\tfile=%u,lib=%u,mod=%u,scope=%u,seg=%u,span=%u,type=%u\n",
FileInfoCount (),
LibraryCount (),
ObjDataCount (),
ScopeCount (),
SegmentCount (),
SpanCount ()
SpanCount (),
TypeCount ()
);
/* Assign the ids to the items */
@@ -143,6 +145,9 @@ void CreateDbgFile (void)
/* Output spans */
PrintDbgSpans (F);
/* Output types */
PrintDbgTypes (F);
/* Output symbols */
PrintDbgSyms (F);