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".
This commit is contained in:
parent
642f545a93
commit
1eb6eb795f
@ -1,3 +1,7 @@
|
|||||||
|
2020-10-01 Kamil Rytarowski <n54@gmx.com>
|
||||||
|
|
||||||
|
* i386-bsd-nat.c: Include "x86-bsd-nat.h".
|
||||||
|
|
||||||
2020-09-30 Tom de Vries <tdevries@suse.de>
|
2020-09-30 Tom de Vries <tdevries@suse.de>
|
||||||
|
|
||||||
PR symtab/26683
|
PR symtab/26683
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#ifndef I386_BSD_NAT_H
|
#ifndef I386_BSD_NAT_H
|
||||||
#define I386_BSD_NAT_H
|
#define I386_BSD_NAT_H
|
||||||
|
|
||||||
|
#include "x86-bsd-nat.h"
|
||||||
|
|
||||||
/* Helper functions. See definitions. */
|
/* Helper functions. See definitions. */
|
||||||
extern void i386bsd_fetch_inferior_registers (struct regcache *regcache,
|
extern void i386bsd_fetch_inferior_registers (struct regcache *regcache,
|
||||||
int regnum);
|
int regnum);
|
||||||
|
Loading…
Reference in New Issue
Block a user