[0/2] Improve alignment of "info threads" output, align "Target Id" column

Message ID 20180614162811.31319-1-palves@redhat.com
Headers show
Series
  • Improve alignment of "info threads" output, align "Target Id" column
Related show

Message

Pedro Alves June 14, 2018, 4:28 p.m.
Another bit taken from the multi-target branch.

It's long annoyed me that "info threads"'s columns are misaligned.  In
the multi-target branch, I experimented with adding target info to
"info threads", and the misalignment only got worse.  So I finally bit
the bullet and decided to address the alignment issue.  See patch #2.
Patch #1 is preparatory work to that avoids adding remote protocol
traffic.

Pedro Alves (2):
  remote & target_extra_thread_info, use cache w/ qThreadExtraInfo and
    qP too
  Improve alignment of "info threads" output, align "Target Id" column

 gdb/remote.c                        | 51 ++++++++++++++-----------------
 gdb/testsuite/gdb.threads/names.exp |  2 +-
 gdb/thread.c                        | 61 ++++++++++++++++++++++++-------------
 3 files changed, 63 insertions(+), 51 deletions(-)

-- 
2.14.3