gdb_server: add "not supported" Z-packet reply
authorIan Thompson <ianst@cadence.com>
Mon, 1 Aug 2022 22:22:32 +0000 (15:22 -0700)
committerAntonio Borneo <borneo.antonio@gmail.com>
Mon, 15 Aug 2022 13:21:37 +0000 (13:21 +0000)
commitc3138e2d805b94b81ba10bc7fcec47689704f60e
tree79d7a91e95ca79e6cb14dc011c6ad0bbf06dff86
parent9903203d73c9243c327db9dc0d726491bb625d41
gdb_server: add "not supported" Z-packet reply

GDB remote serial protocol specifies breakpoint/watchpoint packet
responses can be an empty string to indicate the specified breakpoint
type is not supported.  Add support for this response alongside existing
"OK", "E NN" replies.

Signed-off-by: Ian Thompson <ianst@cadence.com>
Change-Id: Iaf6280e4c936eb95a92bc80cc74d451ebb328dc3
Reviewed-on: https://review.openocd.org/c/openocd/+/7102
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/server/gdb_server.c