Include the x86-bsd-nat.h header and fix the NetBSD/i386 build
authorKamil Rytarowski <n54@gmx.com>
Wed, 23 Sep 2020 01:56:46 +0000 (03:56 +0200)
committerKamil Rytarowski <n54@gmx.com>
Thu, 1 Oct 2020 22:37:38 +0000 (00:37 +0200)
commit1eb6eb795fd3479c97d8aadc4f70d6afad5f8511
treea24af9a1323ce465d6c4d55240848e9ca2f9abf8
parent642f545a93326f570ef4718e9a26c29285943f27
Include the x86-bsd-nat.h header and fix the NetBSD/i386 build

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>
      |                                                     ^
../../gdb/i386-bsd-nat.h:34:53: error: expected '{' before '<' token
../../gdb/i386-nbsd-nat.c:74:45: error: aggregate 'i386_bsd_nat_target<nbsd_nat_target> the_i386_nbsd_nat_target' has incomplete type and cannot be defined
   74 | static i386_bsd_nat_target<nbsd_nat_target> the_i386_nbsd_nat_target;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~

gdb/ChangeLog:

* i386-bsd-nat.c: Include "x86-bsd-nat.h".
gdb/ChangeLog
gdb/i386-bsd-nat.h