Fix column alignment in "maint info line-table"
authorTom Tromey <tromey@adacore.com>
Fri, 20 Mar 2020 13:15:08 +0000 (07:15 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 20 Mar 2020 14:28:52 +0000 (08:28 -0600)
commit1773be9ea2207d42442222e6dc3c8fdbe638e28e
treed59c056f8da51ffa36d952d343bd7de018c1fa12
parent70304be939301a91dade0dc7d4234c081372bd24
Fix column alignment in "maint info line-table"

Andrew Burgess pointed out on irc that "maint info line-table" doesn't
properly align the table headers.  This patch fixes the problem by
switching the table to use ui-out.

This required a small tweak to one test case, as ui-out will pad a
field using spaces, even at the end of a line.

gdb/ChangeLog
2020-03-20  Tom Tromey  <tromey@adacore.com>

* symmisc.c (maintenance_print_one_line_table): Use ui_out.

gdb/testsuite/ChangeLog
2020-03-20  Tom Tromey  <tromey@adacore.com>

* gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
gdb/ChangeLog
gdb/symmisc.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-ranges-base.exp
This page took 0.02644 seconds and 4 git commands to generate.