[PATCH 01/58] gdbserver: start turning the target ops vector into a class

Pedro Alves palves@redhat.com
Thu Feb 13 20:26:00 GMT 2020


On 2/11/20 9:01 AM, Tankut Baris Aktemur wrote:

> diff --git a/gdbserver/linux-low.h b/gdbserver/linux-low.h
> index e25ddd024dd..f17ac95fae8 100644
> --- a/gdbserver/linux-low.h
> +++ b/gdbserver/linux-low.h
> @@ -264,6 +264,13 @@ struct linux_target_ops
>  
>  extern struct linux_target_ops the_low_target;
>  
> +/* Target ops definitions for a Linux target.  */
> +
> +class linux_process_target : public process_target {

Let's follow formatting conventions here -- "{" goes on the
next line.

class linux_process_target : public process_target
{

This applies to all new classes.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list