From: uz Date: Sun, 28 Aug 2011 14:44:41 +0000 (+0000) Subject: Fixed the layout for the span output. X-Git-Tag: V2.13.3~186 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=534c630a23c365d4f41aaf89a83dded4f54ffac9;p=cc65 Fixed the layout for the span output. git-svn-id: svn://svn.cc65.org/cc65/trunk@5276 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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 (); } }