SH3-E support from Allan Tajii <atajii@hmsi.com>:
[deliverable/binutils-gdb.git] / gdb / config / tm-magic.h
1 /* Definitions for General Magic target.
2 Copyright (C) 1995 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20 #include "gmagic.h"
21
22 #define TARGET_SYMFILE_POSTREAD(OBJFILE) init_magic ()
23
24 #define TARGET_CREATE_INFERIOR_HOOK(PID) magic_create_inferior_hook ()
25
26 /* Magic Cap method stepping support.
27 We use the shared library trampoline support to implement stepping over
28 the method dispatcher. We consider the entire dispatcher to be one big
29 trampoline, and use SKIP_TRAMPOLINE_CODE() to skip from a dispatcher
30 entry point to the dispatcher exit site, or from the exit site to the
31 first instruction of the dispatched-to method. */
32
33 #define DYNAMIC_TRAMPOLINE_NEXTPC(pc) \
34 magic_skip_dispatcher(pc)
35
36 #if 0
37 #define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \
38 magic_in_dispatcher(pc, name)
39
40 #define IN_SOLIB_RETURN_TRAMPOLINE(pc, name) \
41 magic_in_dispatcher(pc, name)
42 #endif
This page took 0.031616 seconds and 4 git commands to generate.