| OLD | NEW |
| 1 /* XML target description support for GDB. | 1 /* Common target-dependent code for ppc64. |
| 2 | 2 |
| 3 Copyright (C) 2006, 2008-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1986-2013 Free Software Foundation, Inc. |
| 4 | |
| 5 Contributed by CodeSourcery. | |
| 6 | 4 |
| 7 This file is part of GDB. | 5 This file is part of GDB. |
| 8 | 6 |
| 9 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 |
| 10 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 |
| 11 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 12 (at your option) any later version. | 10 (at your option) any later version. |
| 13 | 11 |
| 14 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
| 15 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 GNU General Public License for more details. | 15 GNU General Public License for more details. |
| 18 | 16 |
| 19 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
| 20 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 21 | 19 |
| 20 #ifndef PPC64_TDEP_H |
| 21 #define PPC64_TDEP_H |
| 22 |
| 23 struct gdbarch; |
| 24 struct frame_info; |
| 22 struct target_ops; | 25 struct target_ops; |
| 23 struct target_desc; | |
| 24 | 26 |
| 25 /* Read an XML target description from FILENAME. Parse it, and return | 27 extern CORE_ADDR ppc64_skip_trampoline_code (struct frame_info *frame, |
| 26 the parsed description. */ | 28 » » » » » CORE_ADDR pc); |
| 27 | 29 |
| 28 const struct target_desc *file_read_description_xml (const char *filename); | 30 extern CORE_ADDR ppc64_convert_from_func_ptr_addr (struct gdbarch *gdbarch, |
| 31 » » » » » » CORE_ADDR addr, |
| 32 » » » » » » struct target_ops *targ); |
| 29 | 33 |
| 30 /* Read an XML target description using OPS. Parse it, and return the | 34 extern void ppc64_elf_make_msymbol_special (asymbol *, |
| 31 parsed description. */ | 35 » » » » » struct minimal_symbol *); |
| 32 | 36 #endif /* PPC64_TDEP_H */ |
| 33 const struct target_desc *target_read_description_xml (struct target_ops *); | |
| OLD | NEW |