| OLD | NEW |
| 1 /* GNU/Linux/SH specific low level interface, for the remote server for GDB. | 1 /* GNU/Linux/SH specific low level interface, for the remote server for GDB. |
| 2 Copyright (C) 1995-1996, 1998-2003, 2005, 2007-2012 Free Software | 2 Copyright (C) 1995-1996, 1998-2003, 2005, 2007-2012 Free Software |
| 3 Foundation, Inc. | 3 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 struct regset_info target_regsets[] = { | 106 struct regset_info target_regsets[] = { |
| 107 { 0, 0, 0, 0, GENERAL_REGS, sh_fill_gregset, NULL }, | 107 { 0, 0, 0, 0, GENERAL_REGS, sh_fill_gregset, NULL }, |
| 108 { 0, 0, 0, -1, -1, NULL, NULL } | 108 { 0, 0, 0, -1, -1, NULL, NULL } |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 struct linux_target_ops the_low_target = { | 111 struct linux_target_ops the_low_target = { |
| 112 init_registers_sh, | 112 init_registers_sh, |
| 113 sh_num_regs, | 113 sh_num_regs, |
| 114 sh_regmap, | 114 sh_regmap, |
| 115 NULL, |
| 115 sh_cannot_fetch_register, | 116 sh_cannot_fetch_register, |
| 116 sh_cannot_store_register, | 117 sh_cannot_store_register, |
| 118 NULL, /* fetch_register */ |
| 117 sh_get_pc, | 119 sh_get_pc, |
| 118 sh_set_pc, | 120 sh_set_pc, |
| 119 (const unsigned char *) &sh_breakpoint, | 121 (const unsigned char *) &sh_breakpoint, |
| 120 sh_breakpoint_len, | 122 sh_breakpoint_len, |
| 121 NULL, | 123 NULL, |
| 122 0, | 124 0, |
| 123 sh_breakpoint_at, | 125 sh_breakpoint_at, |
| 124 }; | 126 }; |
| OLD | NEW |