| OLD | NEW |
| 1 /* GNU/Linux/Xtensa specific low level interface, for the remote server for GDB. | 1 /* GNU/Linux/Xtensa specific low level interface, for the remote server for GDB. |
| 2 Copyright 2007-2012 Free Software Foundation, Inc. | 2 Copyright 2007-2012 Free Software Foundation, Inc. |
| 3 | 3 |
| 4 This file is part of GDB. | 4 This file is part of GDB. |
| 5 | 5 |
| 6 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
| 7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
| 8 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
| 9 (at your option) any later version. | 9 (at your option) any later version. |
| 10 | 10 |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 (*the_target->read_memory) (where, (unsigned char *) &insn, | 173 (*the_target->read_memory) (where, (unsigned char *) &insn, |
| 174 xtensa_breakpoint_len); | 174 xtensa_breakpoint_len); |
| 175 return memcmp((char *) &insn, | 175 return memcmp((char *) &insn, |
| 176 xtensa_breakpoint, xtensa_breakpoint_len) == 0; | 176 xtensa_breakpoint, xtensa_breakpoint_len) == 0; |
| 177 } | 177 } |
| 178 | 178 |
| 179 struct linux_target_ops the_low_target = { | 179 struct linux_target_ops the_low_target = { |
| 180 init_registers_xtensa, | 180 init_registers_xtensa, |
| 181 0, | 181 0, |
| 182 0, | 182 0, |
| 183 NULL, |
| 183 0, | 184 0, |
| 184 0, | 185 0, |
| 186 NULL, /* fetch_register */ |
| 185 xtensa_get_pc, | 187 xtensa_get_pc, |
| 186 xtensa_set_pc, | 188 xtensa_set_pc, |
| 187 xtensa_breakpoint, | 189 xtensa_breakpoint, |
| 188 xtensa_breakpoint_len, | 190 xtensa_breakpoint_len, |
| 189 NULL, | 191 NULL, |
| 190 0, | 192 0, |
| 191 xtensa_breakpoint_at, | 193 xtensa_breakpoint_at, |
| 192 }; | 194 }; |
| OLD | NEW |