public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Enze Li <lienze2010@hotmail.com>
To: pedro@palves.net, tom@tromey.com
Cc: gdb-patches@sourceware.org
Subject: [PING][PATCH v8 0/3] gdb: Add new 'print nibbles' feature
Date: Sat, 23 Apr 2022 17:12:58 +0800	[thread overview]
Message-ID: <MEAP282MB0293F859A4DA5B33CB9096A0DDF69@MEAP282MB0293.AUSP282.PROD.OUTLOOK.COM> (raw)

New in v8:

- Address Tom's comments, modified the form of the digit separator
  implementation and added exporting nibbles to the python layer.

- Address Pedro's comments, modified the way testcase are implemented.

New in v7:

- Address Tom's comments, use specific digit separator when debuging C++
  and Rust programs.

New in v6:

- Address Eli's comments, use a new complementary method with number 0.

New in v5:
- Address Bruno's comments, fix regressions caused by conflicts.

This patch sets implements the display of binary values in groups to
enhance the readability of binary.

Enze Li (3):
  gdb: Add new 'print nibbles' feature
  gdb/doc: Documentation for the new print command
  gdb/python: Export nibbles to python layer

 gdb/NEWS                                      |  5 ++
 gdb/c-lang.c                                  |  4 +
 gdb/doc/gdb.texinfo                           | 35 ++++++++-
 gdb/doc/python.texi                           |  5 ++
 gdb/language.h                                |  7 ++
 gdb/printcmd.c                                |  2 +-
 gdb/python/py-value.c                         |  7 +-
 gdb/rust-lang.h                               |  5 ++
 gdb/testsuite/gdb.base/options.exp            |  1 +
 gdb/testsuite/gdb.base/printcmds.exp          | 43 +++++++++++
 gdb/testsuite/gdb.python/py-format-string.exp | 73 +++++++++++++++++++
 gdb/valprint.c                                | 48 +++++++++++-
 gdb/valprint.h                                |  6 +-
 13 files changed, 233 insertions(+), 8 deletions(-)

-- 
2.35.3


             reply	other threads:[~2022-04-23  9:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-23  9:12 Enze Li [this message]
2022-04-23  9:14 ` [PATCH v8 1/3] " Enze Li
2022-04-23  9:15 ` [PATCH v8 2/3] gdb/doc: Documentation for the new print command Enze Li
2022-04-23  9:20   ` Eli Zaretskii
2022-04-23  9:16 ` [PATCH v8 3/3] gdb/python: Export nibbles to python layer Enze Li
2022-04-23  9:22   ` Eli Zaretskii
2022-06-07 13:44     ` Enze Li
2022-06-07 13:44     ` Enze Li
2022-06-06 13:41 ` [PING][PATCH v8 0/3] gdb: Add new 'print nibbles' feature Tom Tromey
2022-06-07 13:29   ` Enze Li
2022-06-18  3:29 ` Enze Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MEAP282MB0293F859A4DA5B33CB9096A0DDF69@MEAP282MB0293.AUSP282.PROD.OUTLOOK.COM \
    --to=lienze2010@hotmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@palves.net \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).