| 1 | /* Macro definitions for GDB on a Commodore Amiga running SVR4 (amix) |
| 2 | Copyright 1991, 1992 Free Software Foundation, Inc. |
| 3 | Written by Fred Fish at Cygnus Support (fnf@cygnus.com) |
| 4 | |
| 5 | This file is part of GDB. |
| 6 | |
| 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. |
| 11 | |
| 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. |
| 16 | |
| 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. */ |
| 20 | |
| 21 | /* Pick up most of what we need from the generic m68k host include file. */ |
| 22 | |
| 23 | #include "xm-m68k.h" |
| 24 | |
| 25 | /* Pick up more stuff from the generic SVR4 host include file. */ |
| 26 | |
| 27 | #include "xm-sysv4.h" |
| 28 | |
| 29 | /* The native AT&T compiler for m68k/SVR4 complains about using volatile |
| 30 | to indicate functions that never return. So shut it up by simply |
| 31 | defining away "NORETURN", which is normally defined to "volatile". */ |
| 32 | |
| 33 | #ifndef __GNUC__ |
| 34 | # define NORETURN /**/ |
| 35 | #endif |
| 36 | |
| 37 | /* If you expect to use the mmalloc package to obtain mapped symbol files, |
| 38 | for now you have to specify some parameters that determine how gdb places |
| 39 | the mappings in it's address space. See the comments in map_to_address() |
| 40 | for details. This is expected to only be a short term solution. Yes it |
| 41 | is a kludge. |
| 42 | FIXME: Make this more automatic. */ |
| 43 | |
| 44 | #define MMAP_BASE_ADDRESS 0xC2000000 /* First mapping here */ |
| 45 | #define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */ |