[PATCH v2] Implement xfer_partial TARGET_OBJECT_SIGNAL_INFO for NetBSD

Simon Marchi simark@simark.ca
Tue Jul 28 15:17:40 GMT 2020


On 2020-07-28 11:04 a.m., Kamil Rytarowski wrote:
> diff --git a/gdb/nbsd-nat.c b/gdb/nbsd-nat.c
> index a9405ebf862..bdf3388de0b 100644
> --- a/gdb/nbsd-nat.c
> +++ b/gdb/nbsd-nat.c
> @@ -845,3 +845,48 @@ nbsd_nat_target::supports_multi_process ()
>  {
>    return true;
>  }
> +
> +/* Implement the "xfer_partial" target_ops method.  */
> +
> +enum target_xfer_status
> +nbsd_nat_target::xfer_partial (enum target_object object,
> +                               const char *annex, gdb_byte *readbuf,
> +                               const gdb_byte *writebuf,
> +                               ULONGEST offset, ULONGEST len,
> +                               ULONGEST *xfered_len)

Spaces here.

Just search for "        " (8 spaces) in the files, it's quite easy to find.

If there are pre-existing offenders, you can push obvious fixes to fix them.

Simon


More information about the Gdb-patches mailing list