OSDN Git Service

Copyright updates for 2007.
[pf3gnuchains/pf3gnuchains3x.git] / gdb / config / m68k / tm-os68k.h
1 /* Parameters for execution on os68k's, for GDB, the GNU debugger.
2    Copyright 1986, 1987, 1989, 1991, 1998, 2003, 2007
3    Free Software Foundation, Inc.
4    Contributed by Cygnus Support.
5
6    This file is part of GDB.
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 59 Temple Place - Suite 330,
21    Boston, MA 02111-1307, USA.  */
22
23 #define GDBINIT_FILENAME        ".os68gdbinit"
24
25 #define DEFAULT_PROMPT          "(os68k) "
26
27 /* We have more complex, useful breakpoints on the target.  */
28 #undef DECR_PC_AFTER_BREAK
29 #define DECR_PC_AFTER_BREAK     0
30
31 /* Takes the current frame-struct pointer and returns the chain-pointer
32    to get to the calling frame.
33
34    If our current frame pointer is zero, we're at the top; else read out
35    the saved FP from memory pointed to by the current FP.  */
36
37 #undef  DEPRECATED_FRAME_CHAIN
38 #define DEPRECATED_FRAME_CHAIN(thisframe) ((thisframe)->frame? read_memory_integer ((thisframe)->frame, 4): 0)