This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gdb / config / powerpc / tm-ppc-aix.h
1 /* Macro definitions for Power PC running AIX.
2 Copyright 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,
19 Boston, MA 02111-1307, USA. */
20
21 #ifndef TM_PPC_AIX_H
22 #define TM_PPC_AIX_H
23
24 /* Use generic RS6000 definitions. */
25 #include "rs6000/tm-rs6000.h"
26
27 #define GDB_TARGET_POWERPC
28
29 #undef PUSH_DUMMY_FRAME
30 #define PUSH_DUMMY_FRAME generic_push_dummy_frame ()
31
32 #define PUSH_RETURN_ADDRESS(PC, SP) ppc_push_return_address (PC, SP)
33
34 /* override the standard get_saved_register function with
35 one that takes account of generic CALL_DUMMY frames */
36 #define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \
37 generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval)
38
39 #define USE_GENERIC_DUMMY_FRAMES 1
40 #define CALL_DUMMY_BREAKPOINT_OFFSET (0)
41 #define CALL_DUMMY_LOCATION AT_ENTRY_POINT
42 #define CALL_DUMMY_ADDRESS() entry_point_address ()
43 #undef CALL_DUMMY_START_OFFSET
44 #define CALL_DUMMY_START_OFFSET 0
45
46 #endif /* TM_PPC_AIX_H */
This page took 0.036688 seconds and 5 git commands to generate.