gdbstub: Introduce an is is_query_packet helper
commit4dabe747af0a6bd66a86c2c7879f1882bec43c33
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 7 Feb 2015 08:38:43 +0000 (7 09:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 28 May 2015 15:57:35 +0000 (28 16:57 +0100)
treef9553c1bf1325d00be0d8a1c9fbeca6485d6573a
parent070949f39ee96bd16654e6623ab4ff627d918ba6
gdbstub: Introduce an is is_query_packet helper

This helper supports parsing of query packets with optional extensions.
The separator can be specified so that we can use it already for both
qqemu.sstep[=] and qSupported[:feature].

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
gdbstub.c