[PATCH 0/5] Reimplement DAP backtrace using frame filters

Tom Tromey tromey@adacore.com
Wed Jun 14 16:30:46 GMT 2023


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.

---
Tom Tromey (5):
      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

 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 +++++++++++++++++++++++++-----------
 6 files changed, 152 insertions(+), 157 deletions(-)
---
base-commit: 63224e96d0cd9e726bcd1d6d512255d92b7c5317
change-id: 20230614-dap-frame-decor-5cccd7f34dd3

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



More information about the Gdb-patches mailing list