public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH v2 0/7] Reimplement DAP backtrace using frame filters
Date: Thu, 22 Jun 2023 10:19:26 -0600	[thread overview]
Message-ID: <20230614-dap-frame-decor-v2-0-10628dfa6b60@adacore.com> (raw)

This series reimplements DAP backtraces using frame filters.  This
seemed nice to have, because it would present users with a friendlier
view into the stack.  It also turned out to simplify the code a bit.

---
Changes in v2:
- Removed is_constant check from FrameVars
- Added patch to strip typedefs
- Added Ada scopes test case
- Link to v1: https://inbox.sourceware.org/gdb-patches/20230614-dap-frame-decor-v1-0-af87db6467b2@adacore.com

---
Tom Tromey (7):
      Fix execute_frame_filters doc string
      Add new interface to frame filter iteration
      Fix oversights in frame decorator code
      Simplify FrameVars
      Reimplement DAP stack traces using frame filters
      Handle typedefs in no-op pretty printers
      Add Ada scope test for DAP

 gdb/python/lib/gdb/FrameDecorator.py      | 44 ++++++----------
 gdb/python/lib/gdb/dap/bt.py              | 81 +++++++++++++----------------
 gdb/python/lib/gdb/dap/evaluate.py        | 11 ++--
 gdb/python/lib/gdb/dap/frames.py          |  7 +++
 gdb/python/lib/gdb/dap/scopes.py          | 83 ++++++++++++------------------
 gdb/python/lib/gdb/frames.py              | 83 +++++++++++++++++++++---------
 gdb/python/lib/gdb/printing.py            | 23 +++++----
 gdb/testsuite/gdb.dap/ada-scopes.exp      | 84 +++++++++++++++++++++++++++++++
 gdb/testsuite/gdb.dap/ada-scopes/pack.adb | 23 +++++++++
 gdb/testsuite/gdb.dap/ada-scopes/pack.ads | 21 ++++++++
 gdb/testsuite/gdb.dap/ada-scopes/prog.adb | 26 ++++++++++
 gdb/testsuite/gdb.dap/scopes.c            |  6 +--
 12 files changed, 321 insertions(+), 171 deletions(-)
---
base-commit: d8a001f57016eff05977e9699c7aabdf4302c71b
change-id: 20230614-dap-frame-decor-5cccd7f34dd3

Best regards,
-- 
Tom Tromey <tromey@adacore.com>


             reply	other threads:[~2023-06-22 16:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-22 16:19 Tom Tromey [this message]
2023-06-22 16:19 ` [PATCH v2 1/7] Fix execute_frame_filters doc string Tom Tromey
2023-06-22 16:19 ` [PATCH v2 2/7] Add new interface to frame filter iteration Tom Tromey
2023-06-22 16:19 ` [PATCH v2 3/7] Fix oversights in frame decorator code Tom Tromey
2023-06-22 16:19 ` [PATCH v2 4/7] Simplify FrameVars Tom Tromey
2023-06-26 15:02   ` Tom Tromey
2023-06-22 16:19 ` [PATCH v2 5/7] Reimplement DAP stack traces using frame filters Tom Tromey
2023-06-22 16:19 ` [PATCH v2 6/7] Handle typedefs in no-op pretty printers Tom Tromey
2023-06-22 16:19 ` [PATCH v2 7/7] Add Ada scope test for DAP Tom Tromey
2023-06-26 15:07 ` [PATCH v2 0/7] Reimplement DAP backtrace using frame filters Tom Tromey
2023-07-10 19:14 ` Tom Tromey

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=20230614-dap-frame-decor-v2-0-10628dfa6b60@adacore.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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).