]> Git Repo - binutils.git/blame - gdb/config/tm-magic.h
* Makefile.in (init.c): Generate with prototypes.
[binutils.git] / gdb / config / tm-magic.h
CommitLineData
188c635f
SG
1/* Definitions for General Magic target.
2 Copyright (C) 1995 Free Software Foundation, Inc.
3
4This file is part of GDB.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
bfe8f516 20#include "gmagic.h"
188c635f
SG
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
78570d35 33#define DYNAMIC_TRAMPOLINE_NEXTPC(pc) \
188c635f
SG
34 magic_skip_dispatcher(pc)
35
78570d35 36#if 0
188c635f
SG
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)
78570d35 42#endif
This page took 0.130248 seconds and 4 git commands to generate.