diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 08786335f5f..5b757d9a93d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-03-14 Kamil Rytarowski + + * ppc-nbsd-nat.c: Define _KERNTYPES to get the declaration of + register_t. + 2020-03-14 Kamil Rytarowski * vax-bsd-nat.c: Define _KERNTYPES to get the declaration of diff --git a/gdb/ppc-nbsd-nat.c b/gdb/ppc-nbsd-nat.c index a2a0c0b958e..86a20a97329 100644 --- a/gdb/ppc-nbsd-nat.c +++ b/gdb/ppc-nbsd-nat.c @@ -19,6 +19,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +/* We define this to get types like register_t. */ +#define _KERNTYPES #include "defs.h" #include