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

Pedro Alves palves@redhat.com
Thu Jun 14 16:28:00 GMT 2018


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



More information about the Gdb-patches mailing list