OLD | NEW |
1 /* Target-dependent code for GDB, the GNU debugger. | 1 /* Target-dependent code for GDB, the GNU debugger. |
2 | 2 |
3 Copyright (C) 2000-2005, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2000-2005, 2007-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 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 | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 10 matching lines...) Expand all Loading... |
21 #define PPC_TDEP_H | 21 #define PPC_TDEP_H |
22 | 22 |
23 struct gdbarch; | 23 struct gdbarch; |
24 struct frame_info; | 24 struct frame_info; |
25 struct value; | 25 struct value; |
26 struct regcache; | 26 struct regcache; |
27 struct type; | 27 struct type; |
28 | 28 |
29 /* From ppc-sysv-tdep.c ... */ | 29 /* From ppc-sysv-tdep.c ... */ |
30 enum return_value_convention ppc_sysv_abi_return_value (struct gdbarch *gdbarch, | 30 enum return_value_convention ppc_sysv_abi_return_value (struct gdbarch *gdbarch, |
31 » » » » » » » struct type *func_type, | 31 » » » » » » » struct value *function, |
32 struct type *valtype, | 32 struct type *valtype, |
33 struct regcache *regcach
e, | 33 struct regcache *regcach
e, |
34 gdb_byte *readbuf, | 34 gdb_byte *readbuf, |
35 const gdb_byte *writebuf
); | 35 const gdb_byte *writebuf
); |
36 enum return_value_convention ppc_sysv_abi_broken_return_value (struct gdbarch *g
dbarch, | 36 enum return_value_convention ppc_sysv_abi_broken_return_value (struct gdbarch *g
dbarch, |
37 » » » » » » » struct type *func
_type, | 37 » » » » » » » struct value *fun
ction, |
38 struct type *valt
ype, | 38 struct type *valt
ype, |
39 struct regcache *
regcache, | 39 struct regcache *
regcache, |
40 gdb_byte *readbuf
, | 40 gdb_byte *readbuf
, |
41 const gdb_byte *w
ritebuf); | 41 const gdb_byte *w
ritebuf); |
42 CORE_ADDR ppc_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, | 42 CORE_ADDR ppc_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, |
43 struct value *function, | 43 struct value *function, |
44 struct regcache *regcache, | 44 struct regcache *regcache, |
45 CORE_ADDR bp_addr, int nargs, | 45 CORE_ADDR bp_addr, int nargs, |
46 struct value **args, CORE_ADDR sp, | 46 struct value **args, CORE_ADDR sp, |
47 int struct_return, | 47 int struct_return, |
48 CORE_ADDR struct_addr); | 48 CORE_ADDR struct_addr); |
49 CORE_ADDR ppc64_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, | 49 CORE_ADDR ppc64_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, |
50 struct value *function, | 50 struct value *function, |
51 struct regcache *regcache, | 51 struct regcache *regcache, |
52 CORE_ADDR bp_addr, int nargs, | 52 CORE_ADDR bp_addr, int nargs, |
53 struct value **args, CORE_ADDR sp, | 53 struct value **args, CORE_ADDR sp, |
54 int struct_return, | 54 int struct_return, |
55 CORE_ADDR struct_addr); | 55 CORE_ADDR struct_addr); |
56 enum return_value_convention ppc64_sysv_abi_return_value (struct gdbarch *gdbarc
h, | 56 enum return_value_convention ppc64_sysv_abi_return_value (struct gdbarch *gdbarc
h, |
57 » » » » » » » struct type *func_type
, | 57 » » » » » » » struct value *function
, |
58 struct type *valtype, | 58 struct type *valtype, |
59 struct regcache *regca
che, | 59 struct regcache *regca
che, |
60 gdb_byte *readbuf, | 60 gdb_byte *readbuf, |
61 const gdb_byte *writeb
uf); | 61 const gdb_byte *writeb
uf); |
62 | 62 |
63 /* From rs6000-tdep.c... */ | 63 /* From rs6000-tdep.c... */ |
64 int altivec_register_p (struct gdbarch *gdbarch, int regno); | 64 int altivec_register_p (struct gdbarch *gdbarch, int regno); |
65 int vsx_register_p (struct gdbarch *gdbarch, int regno); | 65 int vsx_register_p (struct gdbarch *gdbarch, int regno); |
66 int spe_register_p (struct gdbarch *gdbarch, int regno); | 66 int spe_register_p (struct gdbarch *gdbarch, int regno); |
67 | 67 |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 }; | 292 }; |
293 | 293 |
294 | 294 |
295 /* Instruction size. */ | 295 /* Instruction size. */ |
296 #define PPC_INSN_SIZE 4 | 296 #define PPC_INSN_SIZE 4 |
297 | 297 |
298 /* Estimate for the maximum number of instrctions in a function epilogue. */ | 298 /* Estimate for the maximum number of instrctions in a function epilogue. */ |
299 #define PPC_MAX_EPILOGUE_INSTRUCTIONS 52 | 299 #define PPC_MAX_EPILOGUE_INSTRUCTIONS 52 |
300 | 300 |
301 #endif /* ppc-tdep.h */ | 301 #endif /* ppc-tdep.h */ |
OLD | NEW |