From 534c630a23c365d4f41aaf89a83dded4f54ffac9 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 28 Aug 2011 14:44:41 +0000 Subject: [PATCH] Fixed the layout for the span output. git-svn-id: svn://svn.cc65.org/cc65/trunk@5276 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/dbginfo/dbgsh.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dbginfo/dbgsh.c b/src/dbginfo/dbgsh.c index 54cd53614..139b9f84d 100644 --- a/src/dbginfo/dbgsh.c +++ b/src/dbginfo/dbgsh.c @@ -701,7 +701,7 @@ static void PrintSpanHeader (void) /* Output a header for a list of spans */ { /* Header */ - PrintLine (" id start end seg type lines scopes"); + PrintLine (" id start end seg type lines scopes"); PrintSeparator (); } @@ -717,11 +717,11 @@ static void PrintSpans (const cc65_spaninfo* S) for (I = 0, D = S->data; I < S->count; ++I, ++D) { PrintId (D->span_id, 7); PrintAddr (D->span_start, 8); - PrintAddr (D->span_end, 8); + PrintAddr (D->span_end, 9); PrintId (D->segment_id, 7); - PrintId (D->type_id, 7); - PrintNumber (D->line_count, 7, 9); - PrintNumber (D->scope_count, 7, 9); + PrintId (D->type_id, 6); + PrintNumber (D->line_count, 6, 7); + PrintNumber (D->scope_count, 7, 0); NewLine (); } } -- 2.39.5