aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-09-02 18:53:41 +0200
committerKamil Rytarowski <n54@gmx.com>2020-09-10 15:35:51 +0200
commit99cf6da66afc5240a77f2fc8ab081e21efa9d673 (patch)
tree904a5b45fca3357bbe8497c7fac69b3d64bbdf59
parent48c9b4333270c9b4e9c43ba78aea92765e68ccbc (diff)
downloadbinutils-99cf6da66afc5240a77f2fc8ab081e21efa9d673.zip
binutils-99cf6da66afc5240a77f2fc8ab081e21efa9d673.tar.gz
binutils-99cf6da66afc5240a77f2fc8ab081e21efa9d673.tar.bz2
Register a placeholder for NetBSD shared functions in gdb/nat
gdb/ChangeLog: * netbsd-nat.h: New file. * netbsd-nat.c: Likewise.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/nat/netbsd-nat.c24
-rw-r--r--gdb/nat/netbsd-nat.h27
3 files changed, 56 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b63fe89..39a1a21 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2020-09-10 Kamil Rytarowski <n54@gmx.com>
+
+ * netbsd-nat.h: New file.
+ * netbsd-nat.c: Likewise.
+
2020-09-09 Tom Tromey <tromey@adacore.com>
* 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 0000000..2b5a418
--- /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 <http://www.gnu.org/licenses/>. */
+
+#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 0000000..5fa0874
--- /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 <http://www.gnu.org/licenses/>. */
+
+#ifndef NAT_NETBSD_NAT_H
+#define NAT_NETBSD_NAT_H
+
+namespace netbsd_nat
+{
+}
+
+#endif