aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/arm/nm-nbsd.h
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-12-17 16:23:02 +0000
committerFernando Nasser <fnasser@redhat.com>2001-12-17 16:23:02 +0000
commite7a42bc8939203328db61f21841fdc9325021078 (patch)
tree1fb2e330e4994e21ee96cc301049eb8612338246 /gdb/config/arm/nm-nbsd.h
parent7c0a2a0aaaa50578883ac33119084b503fdc7d83 (diff)
downloadgdb-e7a42bc8939203328db61f21841fdc9325021078.zip
gdb-e7a42bc8939203328db61f21841fdc9325021078.tar.gz
gdb-e7a42bc8939203328db61f21841fdc9325021078.tar.bz2
2001-12-17 Fernando Nasser <fnasser@redhat.com>
From Richard Earnshaw <rearnsha@arm.com>: * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h, config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files. * armbsd-nat.c: New file. * Makefile.in: Build it. * configure.host, configure.tgt: Support NetBSD/arm.
Diffstat (limited to 'gdb/config/arm/nm-nbsd.h')
-rw-r--r--gdb/config/arm/nm-nbsd.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/gdb/config/arm/nm-nbsd.h b/gdb/config/arm/nm-nbsd.h
new file mode 100644
index 0000000..981d960
--- /dev/null
+++ b/gdb/config/arm/nm-nbsd.h
@@ -0,0 +1,33 @@
+/* Native-dependent definitions for ARM running NetBSD, for GDB.
+ Copyright 1986, 1987, 1989, 1992, 1994, 1999 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 2 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, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef NM_NBSD_H
+#define NM_NBSD_H
+
+/* Get generic NetBSD native definitions. */
+#include "nm-nbsd.h"
+
+#define REGISTER_U_ADDR(addr, blockend, regno) \
+ (addr) = arm_register_u_addr ((blockend),(regno));
+
+extern int
+arm_register_u_addr PARAMS ((int, int));
+
+#endif /* NM_NBSD_H */