diff options
author | Tom Tromey <tromey@adacore.com> | 2020-03-20 07:15:08 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-03-20 08:28:52 -0600 |
commit | 1773be9ea2207d42442222e6dc3c8fdbe638e28e (patch) | |
tree | d59c056f8da51ffa36d952d343bd7de018c1fa12 /gdb/ChangeLog | |
parent | 70304be939301a91dade0dc7d4234c081372bd24 (diff) | |
download | gdb-1773be9ea2207d42442222e6dc3c8fdbe638e28e.zip gdb-1773be9ea2207d42442222e6dc3c8fdbe638e28e.tar.gz gdb-1773be9ea2207d42442222e6dc3c8fdbe638e28e.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3a16003..f1b007b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2020-03-20 Tom Tromey <tromey@adacore.com> + * symmisc.c (maintenance_print_one_line_table): Use ui_out. + +2020-03-20 Tom Tromey <tromey@adacore.com> + * ada-valprint.c (print_variant_part): Remove parameters; switch to value-based API. (print_field_values): Likewise. |