Re: [PATCH V6 1/3] gdb: support for eBPF

Jose E. Marchesi
2020-08-03T16:46:56Z

>> I prefer to write (and maintain) C.
>>
>
> Just pretend that you've done
>
> typedef struct {
> ...
> } foo;
>
> instead of
>
> struct foo
> {
> ...
> };
>
> and there there is
>
> #define nullptr NULL
>
> :)

Well, I'm not that sure these equivalences are actually homomorphic but
that's precisely the point: I would rather not have to figure it out XD

> FWIW, I agree with Baris on that, but it's not something worth
> fighting over, especially for tdep code. As long as you maintain it,
> I think it's ok to have a bit of artistic freedom. For common code,
> we probably want to enforce a more consistent style though.

Thanks, much appreciated.