1 /* Macro definitions for GDB on a Commodore Amiga running SVR4 (amix).
2 Copyright (C) 1991, Free Software Foundation, Inc.
3 Written by Fred Fish at Cygnus Support (fnf@cygint)
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
21 /* All Amiga's (so far) running UNIX have come standard with the floating
24 #define HAVE_68881 /* Amiga has floating point coprocessor */
26 /* Sequence of bytes for breakpoint instruction.
27 This is a TRAP instruction. The last 4 bits (0x1 below) is the
30 #define BREAKPOINT {0x4e, 0x41 } /* Trap using vector 0x1 */
32 /* How much to decrement the PC after a trap. Depends on kernel. */
34 #define DECR_PC_AFTER_BREAK 0 /* No decrement required */
40 /* Address of end of stack space. (actually one byte past it).
41 This value is typically very OS dependent.
42 FIXME: Check to see if SVR4 offers some machine independent way
43 of discovering this value and use it if so, and if we need it. */
45 /* #define STACK_END_ADDR 0xc0800000 */
47 /* Use the alternate method of avoiding running up off the end of
48 the frame chain or following frames back into the startup code.
49 See the comments in blockframe.c */
51 #undef FRAME_CHAIN_VALID
52 #define FRAME_CHAIN_VALID(chain, thisframe) \
54 && !(inside_main_scope ((thisframe)->pc)) \
55 && !(inside_entry_scope ((thisframe)->pc)))
This page took 0.029626 seconds and 4 git commands to generate.