aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-sun3.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-07 13:14:59 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-07 13:14:59 +0000
commitfbcb5095622e1b8ab973c2e90295506818f5a523 (patch)
treeb97f0908bd1a88e4489e1630edb1d83658fe85ba /gdb/tm-sun3.h
parenta297b8cead0e8ca3c940ad7433d466b9c451bbc4 (diff)
downloadgdb-fbcb5095622e1b8ab973c2e90295506818f5a523.zip
gdb-fbcb5095622e1b8ab973c2e90295506818f5a523.tar.gz
gdb-fbcb5095622e1b8ab973c2e90295506818f5a523.tar.bz2
* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
READ_MIPS_FORMAT, which have been unused since BFD. Still remaining is COFF_NO_LONG_FILE_NAMES. * tm-sun3.h, tm-altos.h: Remove detritus accidentally left from function calling code moved to m68k-tdep.c.
Diffstat (limited to 'gdb/tm-sun3.h')
-rw-r--r--gdb/tm-sun3.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/gdb/tm-sun3.h b/gdb/tm-sun3.h
index 5b6aa91..d7e403f 100644
--- a/gdb/tm-sun3.h
+++ b/gdb/tm-sun3.h
@@ -19,8 +19,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HAVE_68881
-/* TARGET_SUN3 might be a more logical name, but that's used by
- ../include/target.h (included by ../include/a.out.gnu.h). */
+/* Let native-versus-cross support code know we are targeting sun3,
+ and modify registers to include sun3 fpustate register. */
+
#define GDB_TARGET_IS_SUN3 1
/* Define this if the C compiler puts an underscore at the front
@@ -28,10 +29,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Address of the end of stack space. We get this from the system
include files. */
@@ -40,8 +37,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define STACK_END_ADDR USRSTACK
#include "tm-68k.h"
- SWAP_TARGET_AND_HOST (temp, 4); \
- bcopy ((char *)&temp, (char *)(dummyname) + 20, 4); \
- temp = fun; \
- SWAP_TARGET_AND_HOST (temp, 4); \
- bcopy ((char *)&temp, (char *)(dummyname) + 14, 4); }