OLD | NEW |
1 /* GNU/Linux/PowerPC specific low level interface, for the remote server for | 1 /* GNU/Linux/PowerPC specific low level interface, for the remote server for |
2 GDB. | 2 GDB. |
3 Copyright (C) 1995-1996, 1998-2002, 2005, 2007-2012 Free Software | 3 Copyright (C) 1995-1996, 1998-2002, 2005, 2007-2012 Free Software |
4 Foundation, Inc. | 4 Foundation, Inc. |
5 | 5 |
6 This file is part of GDB. | 6 This file is part of GDB. |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 { PTRACE_GETEVRREGS, PTRACE_SETEVRREGS, 0, 32 * 4 + 8 + 4, EXTENDED_REGS, | 603 { PTRACE_GETEVRREGS, PTRACE_SETEVRREGS, 0, 32 * 4 + 8 + 4, EXTENDED_REGS, |
604 ppc_fill_evrregset, ppc_store_evrregset }, | 604 ppc_fill_evrregset, ppc_store_evrregset }, |
605 { 0, 0, 0, 0, GENERAL_REGS, ppc_fill_gregset, NULL }, | 605 { 0, 0, 0, 0, GENERAL_REGS, ppc_fill_gregset, NULL }, |
606 { 0, 0, 0, -1, -1, NULL, NULL } | 606 { 0, 0, 0, -1, -1, NULL, NULL } |
607 }; | 607 }; |
608 | 608 |
609 struct linux_target_ops the_low_target = { | 609 struct linux_target_ops the_low_target = { |
610 ppc_arch_setup, | 610 ppc_arch_setup, |
611 ppc_num_regs, | 611 ppc_num_regs, |
612 ppc_regmap, | 612 ppc_regmap, |
| 613 NULL, |
613 ppc_cannot_fetch_register, | 614 ppc_cannot_fetch_register, |
614 ppc_cannot_store_register, | 615 ppc_cannot_store_register, |
| 616 NULL, /* fetch_register */ |
615 ppc_get_pc, | 617 ppc_get_pc, |
616 ppc_set_pc, | 618 ppc_set_pc, |
617 (const unsigned char *) &ppc_breakpoint, | 619 (const unsigned char *) &ppc_breakpoint, |
618 ppc_breakpoint_len, | 620 ppc_breakpoint_len, |
619 NULL, | 621 NULL, |
620 0, | 622 0, |
621 ppc_breakpoint_at, | 623 ppc_breakpoint_at, |
622 NULL, | 624 NULL, |
623 NULL, | 625 NULL, |
624 NULL, | 626 NULL, |
625 NULL, | 627 NULL, |
626 ppc_collect_ptrace_register, | 628 ppc_collect_ptrace_register, |
627 ppc_supply_ptrace_register, | 629 ppc_supply_ptrace_register, |
628 }; | 630 }; |
OLD | NEW |