* command.c (shell_escape, make_command, _initialze_command):
[deliverable/binutils-gdb.git] / gdb / tm-68k-noun.h
1 /* Target machine parameters for an embedded m68k, for GDB, the GNU debugger.
2 This is for object file formats that don't have underlines on symbols.
3 Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc.
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 #define HAVE_68881
22
23 #include "tm-68k.h"
24
25 /* Longjmp info comes from the Sun-3 machine description. Might as well
26 guess... */
27
28 /* Offsets (in target ints) into jmp_buf. Not defined by Sun, but at least
29 documented in a comment in <machine/setjmp.h>! */
30
31 #define JB_ELEMENT_SIZE 4
32
33 #define JB_ONSSTACK 0
34 #define JB_SIGMASK 1
35 #define JB_SP 2
36 #define JB_PC 3
37 #define JB_PSL 4
38 #define JB_D2 5
39 #define JB_D3 6
40 #define JB_D4 7
41 #define JB_D5 8
42 #define JB_D6 9
43 #define JB_D7 10
44 #define JB_A2 11
45 #define JB_A3 12
46 #define JB_A4 13
47 #define JB_A5 14
48 #define JB_A6 15
49
50 /* Figure out where the longjmp will land. Slurp the args out of the stack.
51 We expect the first arg to be a pointer to the jmp_buf structure from which
52 we extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
53 This routine returns true on success */
54
55 #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
56
57 /* Where is the PC after a call? */
58
59 #ifdef __STDC__
60 struct frame_info;
61 #endif
62
63 extern CORE_ADDR m68k_saved_pc_after_call PARAMS ((struct frame_info *));
64
65 #undef SAVED_PC_AFTER_CALL
66 #define SAVED_PC_AFTER_CALL(frame) \
67 m68k_saved_pc_after_call(frame)
This page took 0.030695 seconds and 4 git commands to generate.