[PATCH 07/10] gdb: add qMachineId packet

Mark Wielaard mark@klomp.org
Wed Aug 23 09:24:17 GMT 2023


Hi Andrew,

On Wed, 2023-08-16 at 16:55 +0100, Andrew Burgess wrote:
> diff --git a/gdbserver/server.cc b/gdbserver/server.cc
> index e749194e039..ae40e885e70 100644
> --- a/gdbserver/server.cc
> +++ b/gdbserver/server.cc
> @@ -51,6 +51,8 @@
>  #include "gdbsupport/scoped_restore.h"
>  #include "gdbsupport/search.h"
>  
> +#include <systemd/sd-id128.h>
> +
>  /* PBUFSIZ must also be at least as big as IPA_CMD_BUF_SIZE, because
>     the client state data is passed directly to some agent
>     functions.  */

This include is only available when systemd-devel headers are
installed. But it seems not to be used, so can just be removed as far
as I can tell.

Cheers,

Mark


More information about the Gdb-patches mailing list