| OLD | NEW |
| 1 /* GNU/Linux/CRIS specific low level interface, for the remote server for GDB. | 1 /* GNU/Linux/CRIS specific low level interface, for the remote server for GDB. |
| 2 Copyright (C) 1995-1996, 1998-2005, 2007-2012 Free Software | 2 Copyright (C) 1995-1996, 1998-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 struct regcache *regcache = get_thread_regcache (current_inferior, 1); | 105 struct regcache *regcache = get_thread_regcache (current_inferior, 1); |
| 106 unsigned long pc; | 106 unsigned long pc; |
| 107 collect_register_by_name (regcache, "srp", &pc); | 107 collect_register_by_name (regcache, "srp", &pc); |
| 108 return pc; | 108 return pc; |
| 109 } | 109 } |
| 110 | 110 |
| 111 struct linux_target_ops the_low_target = { | 111 struct linux_target_ops the_low_target = { |
| 112 init_registers_cris, | 112 init_registers_cris, |
| 113 cris_num_regs, | 113 cris_num_regs, |
| 114 cris_regmap, | 114 cris_regmap, |
| 115 NULL, |
| 115 cris_cannot_fetch_register, | 116 cris_cannot_fetch_register, |
| 116 cris_cannot_store_register, | 117 cris_cannot_store_register, |
| 118 NULL, /* fetch_register */ |
| 117 cris_get_pc, | 119 cris_get_pc, |
| 118 cris_set_pc, | 120 cris_set_pc, |
| 119 (const unsigned char *) &cris_breakpoint, | 121 (const unsigned char *) &cris_breakpoint, |
| 120 cris_breakpoint_len, | 122 cris_breakpoint_len, |
| 121 cris_reinsert_addr, | 123 cris_reinsert_addr, |
| 122 0, | 124 0, |
| 123 cris_breakpoint_at, | 125 cris_breakpoint_at, |
| 124 0, | 126 0, |
| 125 0, | 127 0, |
| 126 0, | 128 0, |
| 127 0, | 129 0, |
| 128 }; | 130 }; |
| OLD | NEW |