Re: [PATCH 1/5] Include the x86-bsd-nat.h header and fix the NetBSD/i386 build

John Baldwin
2020-09-23T19:46:49Z

On 9/23/20 6:15 AM, Christian Biesinger via Gdb-patches wrote:
> On Wed, Sep 23, 2020 at 6:26 AM Kamil Rytarowski <n54@gmx.com> wrote:
>>
>> In file included from ../../gdb/i386-nbsd-nat.c:26:
>> ../../gdb/i386-bsd-nat.h:34:53: error: expected template-name before '<' token
>> 34 | class i386_bsd_nat_target : public x86bsd_nat_target<BaseTarget>
>> | ^
>
> Seems like x86-bsd-nat.h should be included by i386-bsd-nat.h instead?

That might be a better fix yes. amd64-bsd-nat.h already includes x86-bsd-nat.h.

--
John Baldwin