+Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com)
+
+ * 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.
+
Wed Nov 6 17:21:59 1991 John Gilmore (gnu at cygnus.com)
* coffread.c: Eliminate c_nsyms in favor of c_naux.
/* Parameters for targeting to a 3b1.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in COFF format. */
+/* Debugger information will be in COFF format, without long filenames. */
-#define COFF_FORMAT
#define COFF_NO_LONG_FILE_NAMES
/* Address of end of stack space. */
/* Definitions to make GDB run on an Altos 3068 (m68k running SVR2)
- Copyright (C) 1987,1989 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#undef NAMES_HAVE_UNDERSCORE
-/* Exec files and symbol tables are in COFF format */
+/* COFF files don't have long filenames. */
-#define COFF_FORMAT
#define COFF_NO_LONG_FILE_NAMES
/* Address of end of stack space. */
#define STACK_END_ADDR (0x1000000)
/* Amount PC must be decremented by after a breakpoint.
- This is often the number of bytes in BREAKPOINT
- but not always.
On the Altos, the kernel resets the pc to the trap instr */
#define DECR_PC_AFTER_BREAK 0
-\f
-/* Things needed for making the inferior call functions. */
-
-/* Push an empty stack frame, to record the current PC, etc. */
-
-#define PUSH_DUMMY_FRAME \
-{ register CORE_ADDR sp = read_register (SP_REGNUM); \
- register int regnum; \
- char raw_buffer[12]; \
- sp = push_word (sp, read_register (PC_REGNUM)); \
- sp = push_word (sp, read_register (FP_REGNUM)); \
- write_register (FP_REGNUM, sp); \
- for (regnum = FP0_REGNUM + 7; regnum >= FP0_REGNUM; regnum--) \
- { read_register_bytes (REGISTER_BYTE (regnum), raw_buffer, 12); \
- sp = push_bytes (sp, raw_buffer, 12); } \
- for (regnum = FP_REGNUM - 1; regnum >= 0; regnum--) \
- sp = push_word (sp, read_register (regnum)); \
- sp = push_word (sp, read_register (PS_REGNUM)); \
- write_register (SP_REGNUM, sp); }
-
-/* Discard from the stack the innermost frame,
- restoring all saved registers. */
-
-#define POP_FRAME \
-{ register FRAME frame = get_current_frame (); \
- register CORE_ADDR fp; \
- register int regnum; \
- struct frame_saved_regs fsr; \
- struct frame_info *fi; \
- char raw_buffer[12]; \
- fi = get_frame_info (frame); \
- fp = fi->frame; \
- get_frame_saved_regs (fi, &fsr); \
- for (regnum = FP0_REGNUM + 7; regnum >= FP0_REGNUM; regnum--) \
- if (fsr.regs[regnum]) \
- { read_memory (fsr.regs[regnum], raw_buffer, 12); \
- write_register_bytes (REGISTER_BYTE (regnum), raw_buffer, 12); }\
- for (regnum = FP_REGNUM - 1; regnum >= 0; regnum--) \
- if (fsr.regs[regnum]) \
- write_register (regnum, read_memory_integer (fsr.regs[regnum], 4)); \
- if (fsr.regs[PS_REGNUM]) \
- write_register (PS_REGNUM, read_memory_integer (fsr.regs[PS_REGNUM], 4)); \
- write_register (FP_REGNUM, read_memory_integer (fp, 4)); \
- write_register (PC_REGNUM, read_memory_integer (fp + 4, 4)); \
- write_register (SP_REGNUM, fp + 8); \
- flush_cached_frames (); \
- set_current_frame (create_new_frame (read_register (FP_REGNUM), \
- read_pc ())); }
-
-\f
#include "tm-68k.h"
/* Definitions to make GDB run on an Altos 3068 using COFF encapsulation.
- Copyright (C) 1989 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#include "m-altos.h"
-#undef COFF_FORMAT
-#undef COFF_NO_LONG_FILE_NAMES
#define NAMES_HAVE_UNDERSCORE
-
-#define READ_DBX_FORMAT
/* Definitions to make GDB target for an ARM under RISCiX (4.3bsd).
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */
/* Definitions to make GDB run on Convex Unix (4bsd)
- Copyright (C) 1989 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* There is come problem with the debugging symbols generated by the
compiler such that the debugging symbol for the first line of a
function overlap with the function prologue. */
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
#define TARGET_NBPG 4096
#define TARGET_UPAGES 3
/* Parameters for execution on an HP 9000 model 320, for GDB, the GNU debugger.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Address of end of stack space. */
#define STACK_END_ADDR 0xFFF00000
/* Macro definitions for i386 using the GNU object file format.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#include "tm-i386v.h"
#define NAMES_HAVE_UNDERSCORE
-
-#undef COFF_FORMAT
-#define READ_DBX_FORMAT
/* Macro defintions for i386.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define COFF_NO_LONG_FILE_NAMES
/* turn this on when rest of gdb is ready */
-/* #define IEEE_FLOAT */
+#define IEEE_FLOAT
/* Define this if the C compiler puts an underscore at the front
of external names before giving them to the linker. */
/* #define NAMES_HAVE_UNDERSCORE */
-/* Specify debugger information format. */
-
-/* #define READ_DBX_FORMAT */
-#define COFF_FORMAT
-
/* number of traps that happen between exec'ing the shell
* to run an inferior, and when we finally get to
* the inferior code. This is 2 on most implementations.
-/* Copyright (C) 1990 Free Software Foundation, Inc.
+/* Target machine description for SGI Iris under Irix, for GDB.
+ Copyright 1990, 1991 Free Software Foundation, Inc.
This file is part of GDB.
/*#define NAMES_HAVE_UNDERSCORE*/
-/* Debugger information will be in mips' format */
-
-#define READ_MIPS_FORMAT
-
-/* File format is coff, but with additions */
-
-#define COFF_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */
/* Definitions to target GDB on an ISI Optimum V (3.05) under 4.3bsd.
- Copyright (C) 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Address of end of stack space. */
#define STACK_END_ADDR 0xfffe000
/* Definitions to target GDB to a merlin under utek 2.1
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */
/* Definitions to make GDB run on a mips box under 4.3bsd.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
- Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
- and by Alessandro Forin(af@cs.cmu.edu) at CMU
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
+ Contributed by Per Bothner (bothner@cs.wisc.edu) at U.Wisconsin
+ and by Alessandro Forin (af@cs.cmu.edu) at CMU.
This file is part of GDB.
/* Parameters for execution on a Sony/NEWS, for GDB, the GNU debugger.
- Copyright (C) 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Symbols on this machine are in DBX format. */
-#define READ_DBX_FORMAT
-
/* Use to compute STACK_END_ADDR. */
#define TARGET_UPAGES 2
#define TARGET_NBPG 4096
/* Parameters for targeting on a Gould NP1, for GDB, the GNU debugger.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
of external names before giving them to the linker. */
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-#define READ_DBX_FORMAT
-
/* Address of blocks in N_LBRAC and N_RBRAC symbols are absolute addresses,
not relative to start of source address. */
#define BLOCK_ADDRESS_ABSOLUTE
/* Parameters for targe of a Gould Powernode, for GDB, the GNU debugger.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
of external names before giving them to the linker. */
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-#define READ_DBX_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */
#define FUNCTION_START_OFFSET 4
-/* Definitions to make GDB run on a Pyramidax under OSx 4.0 (4.2bsd).
- Copyright (C) 1988, 1989 Free Software Foundation, Inc.
+/* Definitions to make GDB run on a Pyramid under OSx 4.0 (4.2bsd).
+ Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */
/* Parameters for target machine of Sun 4, for GDB, the GNU debugger.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@mcc.com)
+
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* When passing a structure to a function, Sun cc passes the address
in a register, not the structure itself. It (under SunOS4) creates
two symbols, so we get a LOC_ARG saying the address is on the stack
/* Parameters for execution on a Sun, for GDB, the GNU debugger.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 199 Free Software Foundation, Inc.
This file is part of GDB.
#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. */
#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
#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. */
#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); }
/* Parameters for execution on a Sun 386i, for GDB, the GNU debugger.
- Copyright (C) 1986, 1987 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1991 Free Software Foundation, Inc.
This file is part of GDB.
/* sun386 ptrace seems unable to change the frame pointer */
#define PTRACE_FP_BUG
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */
/* Definitions to make GDB run on a Sequent Symmetry under dynix 3.0,
with Weitek 1167 and i387 support.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */
/* Definitions to make GDB run on an encore under umax 4.2
- Copyright (C) 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Exec files and symbol tables are in COFF format */
-
-#define COFF_FORMAT
-
/* Need to get function ends by adding this to epilogue address from .bf
record, not using x_fsize field. */
#define FUNCTION_EPILOGUE_SIZE 4
/* Definitions to make GDB run on a vax under 4.2bsd.
- Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
#define NAMES_HAVE_UNDERSCORE
-/* Debugger information will be in DBX format. */
-
-#define READ_DBX_FORMAT
-
/* Offset from address of function to start of its code.
Zero on most machines. */