[Qemu-devel] [PATCH v3 02/20] gdbstub: Implement deatch (D pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-otff-by: Jon Doron --- gdbstub.c | 82 +-- 1 file changed, 43 insertions(+), 39 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index b5bd01b913..34e6722a8c 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1435,10 +1435,6 @@

[Qemu-devel] [PATCH v3 01/20] gdbstub: Add infrastructure to parse cmd packets

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 215 ++ 1 file changed, 215 insertions(+) diff --git a/gdbstub.c b/gdbstub.c index d54abd17cc..b5bd01b913 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1268,6 +1268,221 @@ out: return

[Qemu-devel] [PATCH v3 08/20] gdbstub: Implement remove breakpoint (z pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 49 - 1 file changed, 32 insertions(+), 17 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 67cb140031..d0b27da518 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1627,6 +1627,29 @@ static

[Qemu-devel] [PATCH v3 04/20] gdbstub: Implement continue (c pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 435b492b4f..a6d5acd6f0 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1538,6 +1538,16 @@ static void handle_thread_alive(

[Qemu-devel] [PATCH v3 07/20] gdbstub: Implement insert breakpoint (Z pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 33 + 1 file changed, 33 insertions(+) diff --git a/gdbstub.c b/gdbstub.c index 87b364b1d0..67cb140031 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1604,6 +1604,29 @@ static void handle_set_thread(GdbCmdCont

[Qemu-devel] [PATCH v3 06/20] gdbstub: Implement set_thread (H pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 79 ++- 1 file changed, 49 insertions(+), 30 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index eaa42713ac..87b364b1d0 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1563,6 +1563,47 @@ s

[Qemu-devel] [PATCH v3 05/20] gdbstub: Implement continue with signal (C pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 30 +- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index a6d5acd6f0..eaa42713ac 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1548,6 +1548,21 @@ static void handle_continue

[Qemu-devel] [PATCH v3 11/20] gdbstub: Implement write memory (M pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 51 +-- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index ca91cb6740..a58450ffab 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1701,6 +1701,31 @@ stati

[Qemu-devel] [PATCH v3 09/20] gdbstub: Implement set register (P pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 39 ++- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index d0b27da518..674370a60a 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1650,6 +1650,27 @@ static void handle

[Qemu-devel] [PATCH v3 10/20] gdbstub: Implement get register (p pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 50 ++ 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 674370a60a..ca91cb6740 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1671,6 +1671,36 @@ static

[Qemu-devel] [PATCH v3 12/20] gdbstub: Implement read memory (m pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 48 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index a58450ffab..deeb78c341 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1726,6 +1726,30 @@ static v

[Qemu-devel] [PATCH v3 15/20] gdbstub: Implement file io (F pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 62 +++ 1 file changed, 40 insertions(+), 22 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index b3278a66c7..a71fbc800d 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1788,6 +1788,39 @@ s

[Qemu-devel] [PATCH v3 16/20] gdbstub: Implement step (s pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index a71fbc800d..273216beb6 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1821,6 +1821,16 @@ static void handle_file_io(GdbCm

[Qemu-devel] [PATCH v3 14/20] gdbstub: Implement read all registers (g pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 31 +++ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 0523deaef2..b3278a66c7 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1773,6 +1773,21 @@ static void handle_write_a

[Qemu-devel] [PATCH v3 13/20] gdbstub: Implement write all registers (G pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 41 +++-- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index deeb78c341..0523deaef2 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1750,6 +1750,29 @@ static void han

[Qemu-devel] [PATCH v3 18/20] gdbstub: Implement generic query (q pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 335 ++ 1 file changed, 335 insertions(+) diff --git a/gdbstub.c b/gdbstub.c index 2dc088180d..f8389528fe 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1931,6 +1931,331 @@ static void hand

[Qemu-devel] [PATCH v3 17/20] gdbstub: Implement v commands with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 170 +++--- 1 file changed, 110 insertions(+), 60 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 273216beb6..2dc088180d 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1831,6 +1831,106 @@

[Qemu-devel] [PATCH v3 20/20] gdbstub: Refactor parse handle packet to work with a static array

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 386 ++ 1 file changed, 158 insertions(+), 228 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index c206a9a7c6..0ed9a91768 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -2263,240 +2263,170

[Qemu-devel] [PATCH v3 03/20] gdbstub: Implement thread_alive (T pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 43 --- 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index 34e6722a8c..435b492b4f 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1514,6 +1514,30 @@ static void h

[Qemu-devel] [PATCH v3 19/20] gdbstub: Implement generic set (Q pkt) with new infra

2019-04-24 Thread arilou
From: Jon Doron Signed-off-by: Jon Doron --- gdbstub.c | 213 +++--- 1 file changed, 25 insertions(+), 188 deletions(-) diff --git a/gdbstub.c b/gdbstub.c index f8389528fe..c206a9a7c6 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1130,14 +1130,6 @@