aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/xm-nbsd.h
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-09-01 18:20:42 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-09-01 18:20:42 +0000
commit46cf56faf154401f89c72e62a4127eba1240d456 (patch)
treec86f5f97557ba9b1ab0a3a46cb5e83626566c92a /gdb/config/xm-nbsd.h
parent331d515aca03df173cc02a2e8bc041a43dd98250 (diff)
downloadgdb-46cf56faf154401f89c72e62a4127eba1240d456.zip
gdb-46cf56faf154401f89c72e62a4127eba1240d456.tar.gz
gdb-46cf56faf154401f89c72e62a4127eba1240d456.tar.bz2
* config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/xm-nbsd.h: fix typo. * config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming conventions. * configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
Diffstat (limited to 'gdb/config/xm-nbsd.h')
-rw-r--r--gdb/config/xm-nbsd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/config/xm-nbsd.h b/gdb/config/xm-nbsd.h
index a0e2e84..d00f2c5 100644
--- a/gdb/config/xm-nbsd.h
+++ b/gdb/config/xm-nbsd.h
@@ -17,11 +17,12 @@ 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* for INT_MIN, to avoid "INT_MIN redefined" warnings from defs.h */
+/* We have to include these files now, so that GDB will not make
+ competing definitions in defs.h. */
#include <limits.h>
#include <machine/endian.h>
-#ifdef BYTE_ORDER == BIG_ENDIAN
+#if BYTE_ORDER == BIG_ENDIAN
#define HOST_BYTE_ORDER BIG_ENDIAN
#else
#define HOST_BYTE_ORDER LITTLE_ENDIAN