]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add DAP log level parameter
authorTom Tromey <tromey@adacore.com>
Tue, 12 Dec 2023 16:30:41 +0000 (09:30 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 22 Dec 2023 16:57:48 +0000 (09:57 -0700)
commitdfc4bd461b46d62f9eea3adda571da01cb3d6605
treead57c396d3f0c3006744bd17023d88f5f67bbc90
parent2a89c9508eac42395ff622492b2653e1b833cb9a
Add DAP log level parameter

This adds a new parameter to control the DAP logging level.  By
default, "expected" exceptions are not logged, but the parameter lets
the user change this when more logging is desired.

This also changes a couple of spots to avoid logging the stack trace
for a DAPException.

This patch also documents the existing DAP logging parameter.  I
forgot to document this before.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Reviewed-By: Kévin Le Gouguec <legouguec@adacore.com>
gdb/NEWS
gdb/doc/gdb.texinfo
gdb/python/lib/gdb/dap/breakpoint.py
gdb/python/lib/gdb/dap/server.py
gdb/python/lib/gdb/dap/startup.py