From 99cf6da66afc5240a77f2fc8ab081e21efa9d673 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Wed, 2 Sep 2020 18:53:41 +0200 Subject: [PATCH] Register a placeholder for NetBSD shared functions in gdb/nat gdb/ChangeLog: * netbsd-nat.h: New file. * netbsd-nat.c: Likewise. --- gdb/ChangeLog | 5 +++++ gdb/nat/netbsd-nat.c | 24 ++++++++++++++++++++++++ gdb/nat/netbsd-nat.h | 27 +++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 gdb/nat/netbsd-nat.c create mode 100644 gdb/nat/netbsd-nat.h diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b63fe897fdd..39a1a2187d2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-09-10 Kamil Rytarowski + + * netbsd-nat.h: New file. + * netbsd-nat.c: Likewise. + 2020-09-09 Tom Tromey * ada-lang.c (remove_extra_symbols): Do not increment when diff --git a/gdb/nat/netbsd-nat.c b/gdb/nat/netbsd-nat.c new file mode 100644 index 00000000000..2b5a4183e30 --- /dev/null +++ b/gdb/nat/netbsd-nat.c @@ -0,0 +1,24 @@ +/* Internal interfaces for the NetBSD code. + + Copyright (C) 2006-2020 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include "nat/netbsd-nat.h" + +namespace netbsd_nat +{ +} diff --git a/gdb/nat/netbsd-nat.h b/gdb/nat/netbsd-nat.h new file mode 100644 index 00000000000..5fa08746610 --- /dev/null +++ b/gdb/nat/netbsd-nat.h @@ -0,0 +1,27 @@ +/* Internal interfaces for the NetBSD code. + + Copyright (C) 2006-2020 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef NAT_NETBSD_NAT_H +#define NAT_NETBSD_NAT_H + +namespace netbsd_nat +{ +} + +#endif