| OLD | NEW |
| 1 /* Target dependent code for GDB on TI C6x systems. | 1 /* Target dependent code for GDB on TI C6x systems. |
| 2 | 2 |
| 3 Copyright (C) 2010-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2010-2012 Free Software Foundation, Inc. |
| 4 Contributed by Andrew Jenner <andrew@codesourcery.com> | 4 Contributed by Andrew Jenner <andrew@codesourcery.com> |
| 5 Contributed by Yao Qi <yao@codesourcery.com> | 5 Contributed by Yao Qi <yao@codesourcery.com> |
| 6 | 6 |
| 7 This file is part of GDB. | 7 This file is part of GDB. |
| 8 | 8 |
| 9 This program is free software; you can redistribute it and/or modify | 9 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 | 10 it under the terms of the GNU General Public License as published by |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 struct regset_info target_regsets[] = { | 314 struct regset_info target_regsets[] = { |
| 315 { PTRACE_GETREGS, PTRACE_SETREGS, 0, TIC6X_NUM_REGS * 4, GENERAL_REGS, | 315 { PTRACE_GETREGS, PTRACE_SETREGS, 0, TIC6X_NUM_REGS * 4, GENERAL_REGS, |
| 316 tic6x_fill_gregset, tic6x_store_gregset }, | 316 tic6x_fill_gregset, tic6x_store_gregset }, |
| 317 { 0, 0, 0, -1, -1, NULL, NULL } | 317 { 0, 0, 0, -1, -1, NULL, NULL } |
| 318 }; | 318 }; |
| 319 | 319 |
| 320 struct linux_target_ops the_low_target = { | 320 struct linux_target_ops the_low_target = { |
| 321 tic6x_arch_setup, | 321 tic6x_arch_setup, |
| 322 TIC6X_NUM_REGS, | 322 TIC6X_NUM_REGS, |
| 323 0, | 323 0, |
| 324 NULL, |
| 324 tic6x_cannot_fetch_register, | 325 tic6x_cannot_fetch_register, |
| 325 tic6x_cannot_store_register, | 326 tic6x_cannot_store_register, |
| 327 NULL, /* fetch_register */ |
| 326 tic6x_get_pc, | 328 tic6x_get_pc, |
| 327 tic6x_set_pc, | 329 tic6x_set_pc, |
| 328 (const unsigned char *) &tic6x_breakpoint, | 330 (const unsigned char *) &tic6x_breakpoint, |
| 329 tic6x_breakpoint_len, | 331 tic6x_breakpoint_len, |
| 330 NULL, | 332 NULL, |
| 331 0, | 333 0, |
| 332 tic6x_breakpoint_at, | 334 tic6x_breakpoint_at, |
| 333 }; | 335 }; |
| OLD | NEW |