diff options
author | Fred Fish <fnf@specifix.com> | 1993-03-23 01:57:27 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-03-23 01:57:27 +0000 |
commit | 9a07ddf2afbf5c29c74b62da8feccd97afea597e (patch) | |
tree | a709d8fe231b87384640a38af63bbb2af832e48b /gdb/tm-altos.h | |
parent | 5076de826cefc4cd828a8cf4cd6940d9a82f9e70 (diff) | |
download | gdb-9a07ddf2afbf5c29c74b62da8feccd97afea597e.zip gdb-9a07ddf2afbf5c29c74b62da8feccd97afea597e.tar.gz gdb-9a07ddf2afbf5c29c74b62da8feccd97afea597e.tar.bz2 |
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
Diffstat (limited to 'gdb/tm-altos.h')
-rw-r--r-- | gdb/tm-altos.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/gdb/tm-altos.h b/gdb/tm-altos.h deleted file mode 100644 index db7a6eb..0000000 --- a/gdb/tm-altos.h +++ /dev/null @@ -1,54 +0,0 @@ -/* Target definitions for GDB on an Altos 3068 (m68k running SVR2) - Copyright 1987, 1989, 1991, 1993 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* Define BPT_VECTOR if it is different than the default. - This is the vector number used by traps to indicate a breakpoint. */ - -#define BPT_VECTOR 0xe - -/* Address of end of stack space. */ - -/*#define STACK_END_ADDR (0xffffff)*/ -#define STACK_END_ADDR (0x1000000) - -/* Amount PC must be decremented by after a breakpoint. - On the Altos, the kernel resets the pc to the trap instr */ - -#define DECR_PC_AFTER_BREAK 0 - -/* The only reason this is here is the tm-altos.h reference below. It - was moved back here from tm-68k.h. FIXME? */ - -#define SKIP_PROLOGUE(pc) \ -{ register int op = read_memory_integer (pc, 2); \ - if (op == 0047126) \ - pc += 4; /* Skip link #word */ \ - else if (op == 0044016) \ - pc += 6; /* Skip link #long */ \ - /* Not sure why branches are here. */ \ - /* From tm-isi.h, tm-altos.h */ \ - else if (op == 0060000) \ - pc += 4; /* Skip bra #word */ \ - else if (op == 00600377) \ - pc += 6; /* skip bra #long */ \ - else if ((op & 0177400) == 0060000) \ - pc += 2; /* skip bra #char */ \ -} - -#include "tm-68k.h" |