From 7788e8221fb425e5549e3219684fee88ad997e91 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 6 Apr 1993 22:09:33 +0000 Subject: [PATCH] (Changes and new files to make "none" a full fledged configuration) * config/none/{nm-none.h, tm-none.h, xm-none.h}: New files. Currently only tm-none.h has any meaningful contents. * config/none/none.mh (NAT_FILE): Use nm-none.h * config/none/none.mh (XM_FILE): Use xm-none.h * config/none/none.mt (TM_FILE): Use tm-none.h --- gdb/config/none/.Sanitize | 3 +++ gdb/config/none/nm-none.h | 18 ++++++++++++++++++ gdb/config/none/none.mh | 2 ++ gdb/config/none/none.mt | 1 + gdb/config/none/tm-none.h | 23 +++++++++++++++++++++++ gdb/config/none/xm-none.h | 18 ++++++++++++++++++ 6 files changed, 65 insertions(+) create mode 100644 gdb/config/none/nm-none.h create mode 100644 gdb/config/none/tm-none.h create mode 100644 gdb/config/none/xm-none.h diff --git a/gdb/config/none/.Sanitize b/gdb/config/none/.Sanitize index cd976ea739..fa7a90e043 100644 --- a/gdb/config/none/.Sanitize +++ b/gdb/config/none/.Sanitize @@ -23,6 +23,9 @@ Things-to-keep: none.mh none.mt +nm-none.h +tm-none.h +xm-none.h Do-last: diff --git a/gdb/config/none/nm-none.h b/gdb/config/none/nm-none.h new file mode 100644 index 0000000000..2a2322e502 --- /dev/null +++ b/gdb/config/none/nm-none.h @@ -0,0 +1,18 @@ +/* Defines needed when configuring for "none". + Copyright (C) 1993 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ diff --git a/gdb/config/none/none.mh b/gdb/config/none/none.mh index 2a833479e1..33d5e4a376 100644 --- a/gdb/config/none/none.mh +++ b/gdb/config/none/none.mh @@ -1,3 +1,5 @@ # Host: "no target". This can be used to build you # a Makefile that only runs administrative commands like 'clean', # 'gdb.tar.Z', etc. +NAT_FILE= nm-none.h +XM_FILE= xm-none.h diff --git a/gdb/config/none/none.mt b/gdb/config/none/none.mt index 9917e2b7ce..300e2dcd05 100644 --- a/gdb/config/none/none.mt +++ b/gdb/config/none/none.mt @@ -1,3 +1,4 @@ # Target: "no target". # This can be used to build you a Makefile that only runs administrative # commands like 'clean', 'gdb.tar.Z', etc. +TM_FILE= tm-none.h diff --git a/gdb/config/none/tm-none.h b/gdb/config/none/tm-none.h new file mode 100644 index 0000000000..431eebb1b4 --- /dev/null +++ b/gdb/config/none/tm-none.h @@ -0,0 +1,23 @@ +/* Defines needed when configuring for "none". + Copyright (C) 1993 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* This define is needed so that "gcc -MM" doesn't get errors and fail on + source files that use the value of INNER_THAN in preprocessor lines. */ + +#define INNER_THAN < diff --git a/gdb/config/none/xm-none.h b/gdb/config/none/xm-none.h new file mode 100644 index 0000000000..2a2322e502 --- /dev/null +++ b/gdb/config/none/xm-none.h @@ -0,0 +1,18 @@ +/* Defines needed when configuring for "none". + Copyright (C) 1993 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ -- 2.34.1