qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1] gdbstub: Refactor gdb packets handler


From: Alex Bennée
Subject: Re: [Qemu-devel] [PATCH v1] gdbstub: Refactor gdb packets handler
Date: Wed, 24 Apr 2019 13:09:22 +0000
User-agent: mu4e 1.3.1; emacs 26.1

Jon Doron <address@hidden> writes:

> Refactor the command packet handling code to ease the work of
> adding and extending commands that are currently not implemented.
>
> Signed-off-by: Jon Doron <address@hidden>
> ---
>  gdbstub.c | 1577 +++++++++++++++++++++++++++++++++++++----------------
>  1 file changed, 1092 insertions(+), 485 deletions(-)

This is worthwhile but the patch is huge compared to recent changes to
this currently orphaned file. Could you please consider splitting your
patch up into more discreet parts. I would suggest:

  - introduce infrastructure
  - one patch per converted command

this way when something breaks bisect stands a better chance of locating
a minimal failing chunk of code.

Out of interest what additional commands are you planning to implement?

--
Alex Bennée



reply via email to

[Prev in Thread] Current Thread [Next in Thread]