]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Don't allow multiple request registrations in DAP
authorTom Tromey <tromey@adacore.com>
Wed, 7 Feb 2024 19:46:22 +0000 (12:46 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 21 Feb 2024 21:55:22 +0000 (14:55 -0700)
commita4af05ca661f8feb1cbb671d4e4e5e8902892f45
tree067f4aa1e07adca6fe29d8ab99da05a1568f9566
parentfddee222e574dfb0f2ba9ecdc4fb1b5db13bfae9
Don't allow multiple request registrations in DAP

This changes the DAP code to check that a given request or capability
is only registered a single time.  This is just a precaution against
accidentally introducing a second definition of a request somewhere.
gdb/python/lib/gdb/dap/server.py