Currently the DAP "stackTrace" request does not use frame filters. However, it seems like it could.
I have a patch for this.
The master branch has been updated by Tom Tromey <tromey@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5b86f10883d37e46aeeafa2818e227737d068dff commit 5b86f10883d37e46aeeafa2818e227737d068dff Author: Tom Tromey <tromey@adacore.com> Date: Wed Jun 14 06:09:23 2023 -0600 Reimplement DAP stack traces using frame filters This reimplements DAP stack traces using frame filters. This slightly simplifies the code, because frame filters and DAP were already doing some similar work. This also renames RegisterReference and ScopeReference to make it clear that these are private (and so changes don't have to worry about other files). Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30468
Fixed.