OLD | NEW |
1 /* Support code for various pieces of CGEN simulators. | 1 /* Support code for various pieces of CGEN simulators. |
2 Copyright (C) 1996-1999, 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 1996-1999, 2007-2012 Free Software Foundation, Inc. |
3 Contributed by Cygnus Support. | 3 Contributed by Cygnus Support. |
4 | 4 |
5 This file is part of GDB, the GNU debugger. | 5 This file is part of GDB, the GNU debugger. |
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. |
11 | 11 |
12 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 GNU General Public License for more details. | 15 GNU General Public License for more details. |
16 | 16 |
17 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
19 | 19 |
| 20 #include "config.h" |
20 #include "bfd.h" | 21 #include "bfd.h" |
21 #include "sim-main.h" | 22 #include "sim-main.h" |
22 #include "dis-asm.h" | 23 #include "dis-asm.h" |
23 | 24 |
24 #define MEMOPS_DEFINE_INLINE | 25 #define MEMOPS_DEFINE_INLINE |
25 #include "cgen-mem.h" | 26 #include "cgen-mem.h" |
26 | 27 |
27 #define SEMOPS_DEFINE_INLINE | 28 #define SEMOPS_DEFINE_INLINE |
28 #include "cgen-ops.h" | 29 #include "cgen-ops.h" |
29 | 30 |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 void | 431 void |
431 cgen_rtx_error (SIM_CPU *cpu, const char * msg) | 432 cgen_rtx_error (SIM_CPU *cpu, const char * msg) |
432 { | 433 { |
433 SIM_DESC sd = CPU_STATE (cpu); | 434 SIM_DESC sd = CPU_STATE (cpu); |
434 | 435 |
435 sim_io_printf (sd, msg); | 436 sim_io_printf (sd, msg); |
436 sim_io_printf (sd, "\n"); | 437 sim_io_printf (sd, "\n"); |
437 | 438 |
438 sim_engine_halt (sd, cpu, NULL, CIA_GET (cpu), sim_stopped, SIM_SIGTRAP); | 439 sim_engine_halt (sd, cpu, NULL, CIA_GET (cpu), sim_stopped, SIM_SIGTRAP); |
439 } | 440 } |
OLD | NEW |