diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-04-11 22:39:07 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-04-11 22:39:07 +0000 |
commit | 24f89b68802d886dc16ffc9984e28311916fa30e (patch) | |
tree | 5c798c8108518c4a5557d72fe8424a4c31fa0591 /gdb/config | |
parent | 21211521db16ceda99ca6424dc1df29f0746aabd (diff) | |
download | gdb-24f89b68802d886dc16ffc9984e28311916fa30e.zip gdb-24f89b68802d886dc16ffc9984e28311916fa30e.tar.gz gdb-24f89b68802d886dc16ffc9984e28311916fa30e.tar.bz2 |
Obsolete sun386i.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/nm-sun386.h | 60 | ||||
-rw-r--r-- | gdb/config/i386/sun386.mh | 10 | ||||
-rw-r--r-- | gdb/config/i386/sun386.mt | 6 | ||||
-rw-r--r-- | gdb/config/i386/tm-sun386.h | 408 | ||||
-rw-r--r-- | gdb/config/i386/xm-sun386.h | 44 |
5 files changed, 264 insertions, 264 deletions
diff --git a/gdb/config/i386/nm-sun386.h b/gdb/config/i386/nm-sun386.h index f3a5ea0..887ce69 100644 --- a/gdb/config/i386/nm-sun386.h +++ b/gdb/config/i386/nm-sun386.h @@ -1,30 +1,30 @@ -/* Native support for Sun 386i, for GDB, the GNU debugger. - Copyright 1986, 1987, 1989, 1992, 1996 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. */ - -#include "regcache.h" - -/* Do implement the attach and detach commands. */ - -#define ATTACH_DETACH - -/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ -#define FETCH_INFERIOR_REGISTERS - -#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES) +/* OBSOLETE /* Native support for Sun 386i, for GDB, the GNU debugger. */ +/* OBSOLETE Copyright 1986, 1987, 1989, 1992, 1996 Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #include "regcache.h" */ +/* OBSOLETE */ +/* OBSOLETE /* Do implement the attach and detach commands. */ */ +/* OBSOLETE */ +/* OBSOLETE #define ATTACH_DETACH */ +/* OBSOLETE */ +/* OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ */ +/* OBSOLETE #define FETCH_INFERIOR_REGISTERS */ +/* OBSOLETE */ +/* OBSOLETE #define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES) */ diff --git a/gdb/config/i386/sun386.mh b/gdb/config/i386/sun386.mh index d249661..f7b65d5 100644 --- a/gdb/config/i386/sun386.mh +++ b/gdb/config/i386/sun386.mh @@ -1,5 +1,5 @@ -# Host: Sun 386i -XDEPFILES= -XM_FILE= xm-sun386.h -NAT_FILE= nm-sun386.h -NATDEPFILES= infptrace.o inftarg.o fork-child.o sun386-nat.o +# OBSOLETE # Host: Sun 386i +# OBSOLETE XDEPFILES= +# OBSOLETE XM_FILE= xm-sun386.h +# OBSOLETE NAT_FILE= nm-sun386.h +# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o sun386-nat.o diff --git a/gdb/config/i386/sun386.mt b/gdb/config/i386/sun386.mt index 2cbe3cd..2102be0 100644 --- a/gdb/config/i386/sun386.mt +++ b/gdb/config/i386/sun386.mt @@ -1,3 +1,3 @@ -# Target: Sun 386i target configuration file. -TDEPFILES= i386-tdep.o solib.o solib-svr4.o solib-legacy.o -TM_FILE= tm-sun386.h +# OBSOLETE # Target: Sun 386i target configuration file. +# OBSOLETE TDEPFILES= i386-tdep.o solib.o solib-svr4.o solib-legacy.o +# OBSOLETE TM_FILE= tm-sun386.h diff --git a/gdb/config/i386/tm-sun386.h b/gdb/config/i386/tm-sun386.h index 01212af..bc18f17 100644 --- a/gdb/config/i386/tm-sun386.h +++ b/gdb/config/i386/tm-sun386.h @@ -1,204 +1,204 @@ -/* Parameters for a Sun 386i target machine, for GDB, the GNU debugger. - Copyright 1986, 1987, 1991, 1992, 1993, 1994, 1995, 1999, 2000 - 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. */ - -#if !defined (TM_SUN386_H) -#define TM_SUN386_H 1 - -#include "regcache.h" -#include "i386/tm-i386.h" - -#ifndef sun386 -#define sun386 -#endif -#define SUNOS4 -#define USE_MACHINE_REG_H - -/* Perhaps some day this will work even without the following #define */ -#define COFF_ENCAPSULATE - -#ifdef COFF_ENCAPSULATE -/* Avoid conflicts between our include files and <sys/exec.h> - (maybe not needed anymore). */ -#define _EXEC_ -#endif - -/* sun386 ptrace seems unable to change the frame pointer */ -#define PTRACE_FP_BUG - -/* Address of end of stack space. */ - -#define STACK_END_ADDR 0xfc000000 - -/* Number of machine registers */ - -#undef NUM_REGS -#define NUM_REGS 35 - -/* Initializer for an array of names of registers. There should be NUM_REGS - strings in this initializer. The order of the first 8 registers must match - the compiler's numbering scheme (which is the same as the 386 scheme) also, - this table must match regmap in i386-pinsn.c. */ - -#undef REGISTER_NAMES -#define REGISTER_NAMES { "gs", "fs", "es", "ds", \ - "edi", "esi", "ebp", "esp", \ - "ebx", "edx", "ecx", "eax", \ - "retaddr", "trapnum", "errcode", "ip", \ - "cs", "ps", "sp", "ss", \ - "fst0", "fst1", "fst2", "fst3", \ - "fst4", "fst5", "fst6", "fst7", \ - "fctrl", "fstat", "ftag", "fip", \ - "fcs", "fopoff", "fopsel" \ - } - -/* Register numbers of various important registers. - Note that some of these values are "real" register numbers, - and correspond to the general registers of the machine, - and some are "phony" register numbers which are too large - to be actual register numbers as far as the user is concerned - but do serve to get the desired values when passed to read_register. */ - -#undef FP_REGNUM -#define FP_REGNUM 6 /* (ebp) Contains address of executing stack frame */ -#undef SP_REGNUM -#define SP_REGNUM 18 /* (usp) Contains address of top of stack */ -#undef PS_REGNUM -#define PS_REGNUM 17 /* (ps) Contains processor status */ -#undef PC_REGNUM -#define PC_REGNUM 15 /* (eip) Contains program counter */ -#undef FP0_REGNUM -#define FP0_REGNUM 20 /* Floating point register 0 */ -#undef FPC_REGNUM -#define FPC_REGNUM 28 /* 80387 control register */ - -/* Total amount of space needed to store our copies of the machine's - register state, the array `registers'. */ - -#undef REGISTER_BYTES -#define REGISTER_BYTES (20*4+8*10+7*4) - -/* Index within `registers' of the first byte of the space for - register N. */ - -#undef REGISTER_BYTE -#define REGISTER_BYTE(N) \ - ((N) >= FPC_REGNUM ? (((N) - FPC_REGNUM) * 4) + 160 \ - : (N) >= FP0_REGNUM ? (((N) - FP0_REGNUM) * 10) + 80 \ - : (N) * 4) - -/* Number of bytes of storage in the actual machine representation - for register N. */ - -#undef REGISTER_RAW_SIZE -#define REGISTER_RAW_SIZE(N) (((unsigned)((N) - FP0_REGNUM)) < 8 ? 10 : 4) - -/* Number of bytes of storage in the program's representation - for register N. */ - -#undef REGISTER_VIRTUAL_SIZE -#define REGISTER_VIRTUAL_SIZE(N) (((unsigned)((N) - FP0_REGNUM)) < 8 ? 8 : 4) - -/* Nonzero if register N requires conversion - from raw format to virtual format. */ - -#undef REGISTER_CONVERTIBLE -#define REGISTER_CONVERTIBLE(N) (((unsigned)((N) - FP0_REGNUM)) < 8) - -/* Convert data from raw format for register REGNUM in buffer FROM - to virtual format with type TYPE in buffer TO. */ - -#undef REGISTER_CONVERT_TO_VIRTUAL -#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \ -{ \ - double val; \ - i387_to_double ((FROM), (char *)&val); \ - store_floating ((TO), TYPE_LENGTH (TYPE), val); \ -} -extern void i387_to_double (char *, char *); - -/* Convert data from virtual format with type TYPE in buffer FROM - to raw format for register REGNUM in buffer TO. */ - -#undef REGISTER_CONVERT_TO_RAW -#define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \ -{ \ - double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \ - double_to_i387((char *)&val, (TO)); \ -} -extern void double_to_i387 (char *, char *); - -/* Return the GDB type object for the "standard" data type - of data in register N. */ - -#undef REGISTER_VIRTUAL_TYPE -#define REGISTER_VIRTUAL_TYPE(N) \ - (((unsigned)((N) - FP0_REGNUM)) < 8 ? builtin_type_double : builtin_type_int) - -/* Extract from an array REGBUF containing the (raw) register state - a function return value of type TYPE, and copy that, in virtual format, - into VALBUF. */ - -#undef EXTRACT_RETURN_VALUE -#define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ - memcpy (VALBUF, REGBUF + REGISTER_BYTE (TYPE_CODE (TYPE) == TYPE_CODE_FLT ? FP0_REGNUM : 11), TYPE_LENGTH (TYPE)) - -/* Write into appropriate registers a function return value - of type TYPE, given in virtual format. */ - -#undef STORE_RETURN_VALUE -#define STORE_RETURN_VALUE(TYPE,VALBUF) \ - write_register_bytes (REGISTER_BYTE (TYPE_CODE (TYPE) == TYPE_CODE_FLT ? FP0_REGNUM : 11), VALBUF, TYPE_LENGTH (TYPE)) - -/* Describe the pointer in each stack frame to the previous stack frame - (its caller). */ - -/* FRAME_CHAIN takes a frame's nominal address - and produces the frame's chain-pointer. */ - -#undef FRAME_CHAIN -#define FRAME_CHAIN(thisframe) \ - (!inside_entry_file ((thisframe)->pc) ? \ - read_memory_integer ((thisframe)->frame, 4) :\ - 0) - -/* Define other aspects of the stack frame. */ - -/* A macro that tells us whether the function invocation represented - by FI does not have a frame on the stack associated with it. If it - does not, FRAMELESS is set to 1, else 0. */ - -#undef FRAMELESS_FUNCTION_INVOCATION -#define FRAMELESS_FUNCTION_INVOCATION(FI) \ - (frameless_look_for_prologue (FI)) - -#undef FRAME_SAVED_PC -#define FRAME_SAVED_PC(FRAME) (read_memory_integer ((FRAME)->frame + 4, 4)) - -/* Insert the specified number of args and function address - into a call sequence of the above form stored at DUMMYNAME. */ - -#undef FIX_CALL_DUMMY -#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ -{ \ - *(int *)((char *)(dummyname) + 1) = (int)(fun) - (pc) - 5; \ -} - -#endif /* !defined (TM_SUN386_H) */ +/* OBSOLETE /* Parameters for a Sun 386i target machine, for GDB, the GNU debugger. */ +/* OBSOLETE Copyright 1986, 1987, 1991, 1992, 1993, 1994, 1995, 1999, 2000 */ +/* OBSOLETE Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #if !defined (TM_SUN386_H) */ +/* OBSOLETE #define TM_SUN386_H 1 */ +/* OBSOLETE */ +/* OBSOLETE #include "regcache.h" */ +/* OBSOLETE #include "i386/tm-i386.h" */ +/* OBSOLETE */ +/* OBSOLETE #ifndef sun386 */ +/* OBSOLETE #define sun386 */ +/* OBSOLETE #endif */ +/* OBSOLETE #define SUNOS4 */ +/* OBSOLETE #define USE_MACHINE_REG_H */ +/* OBSOLETE */ +/* OBSOLETE /* Perhaps some day this will work even without the following #define */ */ +/* OBSOLETE #define COFF_ENCAPSULATE */ +/* OBSOLETE */ +/* OBSOLETE #ifdef COFF_ENCAPSULATE */ +/* OBSOLETE /* Avoid conflicts between our include files and <sys/exec.h> */ +/* OBSOLETE (maybe not needed anymore). */ */ +/* OBSOLETE #define _EXEC_ */ +/* OBSOLETE #endif */ +/* OBSOLETE */ +/* OBSOLETE /* sun386 ptrace seems unable to change the frame pointer */ */ +/* OBSOLETE #define PTRACE_FP_BUG */ +/* OBSOLETE */ +/* OBSOLETE /* Address of end of stack space. */ */ +/* OBSOLETE */ +/* OBSOLETE #define STACK_END_ADDR 0xfc000000 */ +/* OBSOLETE */ +/* OBSOLETE /* Number of machine registers */ */ +/* OBSOLETE */ +/* OBSOLETE #undef NUM_REGS */ +/* OBSOLETE #define NUM_REGS 35 */ +/* OBSOLETE */ +/* OBSOLETE /* Initializer for an array of names of registers. There should be NUM_REGS */ +/* OBSOLETE strings in this initializer. The order of the first 8 registers must match */ +/* OBSOLETE the compiler's numbering scheme (which is the same as the 386 scheme) also, */ +/* OBSOLETE this table must match regmap in i386-pinsn.c. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_NAMES */ +/* OBSOLETE #define REGISTER_NAMES { "gs", "fs", "es", "ds", \ */ +/* OBSOLETE "edi", "esi", "ebp", "esp", \ */ +/* OBSOLETE "ebx", "edx", "ecx", "eax", \ */ +/* OBSOLETE "retaddr", "trapnum", "errcode", "ip", \ */ +/* OBSOLETE "cs", "ps", "sp", "ss", \ */ +/* OBSOLETE "fst0", "fst1", "fst2", "fst3", \ */ +/* OBSOLETE "fst4", "fst5", "fst6", "fst7", \ */ +/* OBSOLETE "fctrl", "fstat", "ftag", "fip", \ */ +/* OBSOLETE "fcs", "fopoff", "fopsel" \ */ +/* OBSOLETE } */ +/* OBSOLETE */ +/* OBSOLETE /* Register numbers of various important registers. */ +/* OBSOLETE Note that some of these values are "real" register numbers, */ +/* OBSOLETE and correspond to the general registers of the machine, */ +/* OBSOLETE and some are "phony" register numbers which are too large */ +/* OBSOLETE to be actual register numbers as far as the user is concerned */ +/* OBSOLETE but do serve to get the desired values when passed to read_register. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef FP_REGNUM */ +/* OBSOLETE #define FP_REGNUM 6 /* (ebp) Contains address of executing stack frame */ */ +/* OBSOLETE #undef SP_REGNUM */ +/* OBSOLETE #define SP_REGNUM 18 /* (usp) Contains address of top of stack */ */ +/* OBSOLETE #undef PS_REGNUM */ +/* OBSOLETE #define PS_REGNUM 17 /* (ps) Contains processor status */ */ +/* OBSOLETE #undef PC_REGNUM */ +/* OBSOLETE #define PC_REGNUM 15 /* (eip) Contains program counter */ */ +/* OBSOLETE #undef FP0_REGNUM */ +/* OBSOLETE #define FP0_REGNUM 20 /* Floating point register 0 */ */ +/* OBSOLETE #undef FPC_REGNUM */ +/* OBSOLETE #define FPC_REGNUM 28 /* 80387 control register */ */ +/* OBSOLETE */ +/* OBSOLETE /* Total amount of space needed to store our copies of the machine's */ +/* OBSOLETE register state, the array `registers'. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_BYTES */ +/* OBSOLETE #define REGISTER_BYTES (20*4+8*10+7*4) */ +/* OBSOLETE */ +/* OBSOLETE /* Index within `registers' of the first byte of the space for */ +/* OBSOLETE register N. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_BYTE */ +/* OBSOLETE #define REGISTER_BYTE(N) \ */ +/* OBSOLETE ((N) >= FPC_REGNUM ? (((N) - FPC_REGNUM) * 4) + 160 \ */ +/* OBSOLETE : (N) >= FP0_REGNUM ? (((N) - FP0_REGNUM) * 10) + 80 \ */ +/* OBSOLETE : (N) * 4) */ +/* OBSOLETE */ +/* OBSOLETE /* Number of bytes of storage in the actual machine representation */ +/* OBSOLETE for register N. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_RAW_SIZE */ +/* OBSOLETE #define REGISTER_RAW_SIZE(N) (((unsigned)((N) - FP0_REGNUM)) < 8 ? 10 : 4) */ +/* OBSOLETE */ +/* OBSOLETE /* Number of bytes of storage in the program's representation */ +/* OBSOLETE for register N. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_VIRTUAL_SIZE */ +/* OBSOLETE #define REGISTER_VIRTUAL_SIZE(N) (((unsigned)((N) - FP0_REGNUM)) < 8 ? 8 : 4) */ +/* OBSOLETE */ +/* OBSOLETE /* Nonzero if register N requires conversion */ +/* OBSOLETE from raw format to virtual format. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_CONVERTIBLE */ +/* OBSOLETE #define REGISTER_CONVERTIBLE(N) (((unsigned)((N) - FP0_REGNUM)) < 8) */ +/* OBSOLETE */ +/* OBSOLETE /* Convert data from raw format for register REGNUM in buffer FROM */ +/* OBSOLETE to virtual format with type TYPE in buffer TO. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_CONVERT_TO_VIRTUAL */ +/* OBSOLETE #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \ */ +/* OBSOLETE { \ */ +/* OBSOLETE double val; \ */ +/* OBSOLETE i387_to_double ((FROM), (char *)&val); \ */ +/* OBSOLETE store_floating ((TO), TYPE_LENGTH (TYPE), val); \ */ +/* OBSOLETE } */ +/* OBSOLETE extern void i387_to_double (char *, char *); */ +/* OBSOLETE */ +/* OBSOLETE /* Convert data from virtual format with type TYPE in buffer FROM */ +/* OBSOLETE to raw format for register REGNUM in buffer TO. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_CONVERT_TO_RAW */ +/* OBSOLETE #define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \ */ +/* OBSOLETE { \ */ +/* OBSOLETE double val = extract_floating ((FROM), TYPE_LENGTH (TYPE)); \ */ +/* OBSOLETE double_to_i387((char *)&val, (TO)); \ */ +/* OBSOLETE } */ +/* OBSOLETE extern void double_to_i387 (char *, char *); */ +/* OBSOLETE */ +/* OBSOLETE /* Return the GDB type object for the "standard" data type */ +/* OBSOLETE of data in register N. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef REGISTER_VIRTUAL_TYPE */ +/* OBSOLETE #define REGISTER_VIRTUAL_TYPE(N) \ */ +/* OBSOLETE (((unsigned)((N) - FP0_REGNUM)) < 8 ? builtin_type_double : builtin_type_int) */ +/* OBSOLETE */ +/* OBSOLETE /* Extract from an array REGBUF containing the (raw) register state */ +/* OBSOLETE a function return value of type TYPE, and copy that, in virtual format, */ +/* OBSOLETE into VALBUF. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef EXTRACT_RETURN_VALUE */ +/* OBSOLETE #define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ */ +/* OBSOLETE memcpy (VALBUF, REGBUF + REGISTER_BYTE (TYPE_CODE (TYPE) == TYPE_CODE_FLT ? FP0_REGNUM : 11), TYPE_LENGTH (TYPE)) */ +/* OBSOLETE */ +/* OBSOLETE /* Write into appropriate registers a function return value */ +/* OBSOLETE of type TYPE, given in virtual format. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef STORE_RETURN_VALUE */ +/* OBSOLETE #define STORE_RETURN_VALUE(TYPE,VALBUF) \ */ +/* OBSOLETE write_register_bytes (REGISTER_BYTE (TYPE_CODE (TYPE) == TYPE_CODE_FLT ? FP0_REGNUM : 11), VALBUF, TYPE_LENGTH (TYPE)) */ +/* OBSOLETE */ +/* OBSOLETE /* Describe the pointer in each stack frame to the previous stack frame */ +/* OBSOLETE (its caller). */ */ +/* OBSOLETE */ +/* OBSOLETE /* FRAME_CHAIN takes a frame's nominal address */ +/* OBSOLETE and produces the frame's chain-pointer. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef FRAME_CHAIN */ +/* OBSOLETE #define FRAME_CHAIN(thisframe) \ */ +/* OBSOLETE (!inside_entry_file ((thisframe)->pc) ? \ */ +/* OBSOLETE read_memory_integer ((thisframe)->frame, 4) :\ */ +/* OBSOLETE 0) */ +/* OBSOLETE */ +/* OBSOLETE /* Define other aspects of the stack frame. */ */ +/* OBSOLETE */ +/* OBSOLETE /* A macro that tells us whether the function invocation represented */ +/* OBSOLETE by FI does not have a frame on the stack associated with it. If it */ +/* OBSOLETE does not, FRAMELESS is set to 1, else 0. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef FRAMELESS_FUNCTION_INVOCATION */ +/* OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(FI) \ */ +/* OBSOLETE (frameless_look_for_prologue (FI)) */ +/* OBSOLETE */ +/* OBSOLETE #undef FRAME_SAVED_PC */ +/* OBSOLETE #define FRAME_SAVED_PC(FRAME) (read_memory_integer ((FRAME)->frame + 4, 4)) */ +/* OBSOLETE */ +/* OBSOLETE /* Insert the specified number of args and function address */ +/* OBSOLETE into a call sequence of the above form stored at DUMMYNAME. */ */ +/* OBSOLETE */ +/* OBSOLETE #undef FIX_CALL_DUMMY */ +/* OBSOLETE #define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ */ +/* OBSOLETE { \ */ +/* OBSOLETE *(int *)((char *)(dummyname) + 1) = (int)(fun) - (pc) - 5; \ */ +/* OBSOLETE } */ +/* OBSOLETE */ +/* OBSOLETE #endif /* !defined (TM_SUN386_H) */ */ diff --git a/gdb/config/i386/xm-sun386.h b/gdb/config/i386/xm-sun386.h index a67adc5..0cd798b 100644 --- a/gdb/config/i386/xm-sun386.h +++ b/gdb/config/i386/xm-sun386.h @@ -1,22 +1,22 @@ -/* Host support for Sun 386i, for GDB, the GNU debugger. - Copyright 1986, 1987, 1989, 1992, 1994, 1996 - 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. */ - -#define HOST_BYTE_ORDER LITTLE_ENDIAN +/* OBSOLETE /* Host support for Sun 386i, for GDB, the GNU debugger. */ +/* OBSOLETE Copyright 1986, 1987, 1989, 1992, 1994, 1996 */ +/* OBSOLETE Free Software Foundation, Inc. */ +/* OBSOLETE */ +/* OBSOLETE This file is part of GDB. */ +/* OBSOLETE */ +/* OBSOLETE This program is free software; you can redistribute it and/or modify */ +/* OBSOLETE it under the terms of the GNU General Public License as published by */ +/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ +/* OBSOLETE (at your option) any later version. */ +/* OBSOLETE */ +/* OBSOLETE This program is distributed in the hope that it will be useful, */ +/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ +/* OBSOLETE GNU General Public License for more details. */ +/* OBSOLETE */ +/* OBSOLETE You should have received a copy of the GNU General Public License */ +/* OBSOLETE along with this program; if not, write to the Free Software */ +/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ +/* OBSOLETE Boston, MA 02111-1307, USA. */ */ +/* OBSOLETE */ +/* OBSOLETE #define HOST_BYTE_ORDER LITTLE_ENDIAN */ |