OLD | NEW |
1 /* Simulator for Motorola's MCore processor | 1 /* Simulator for Motorola's MCore processor |
2 Copyright (C) 1999-2000, 2002-2003, 2007-2012 Free Software | 2 Copyright (C) 1999-2000, 2002-2003, 2007-2012 Free Software |
3 Foundation, Inc. | 3 Foundation, Inc. |
4 Contributed by Cygnus Solutions. | 4 Contributed by Cygnus Solutions. |
5 | 5 |
6 This file is part of GDB, the GNU debugger. | 6 This file is part of GDB, the GNU debugger. |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
11 (at your option) any later version. | 11 (at your option) any later version. |
12 | 12 |
13 This program is distributed in the hope that it will be useful, | 13 This program is distributed in the hope that it will be useful, |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 GNU General Public License for more details. | 16 GNU General Public License for more details. |
17 | 17 |
18 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
20 | 20 |
| 21 #include "config.h" |
21 #include <signal.h> | 22 #include <signal.h> |
22 #include "sysdep.h" | 23 #include "sysdep.h" |
23 #include <sys/times.h> | 24 #include <sys/times.h> |
24 #include <sys/param.h> | 25 #include <sys/param.h> |
25 #include <netinet/in.h> /* for byte ordering macros */ | 26 #include <netinet/in.h> /* for byte ordering macros */ |
26 #include "bfd.h" | 27 #include "bfd.h" |
27 #include "gdb/callback.h" | 28 #include "gdb/callback.h" |
28 #include "libiberty.h" | 29 #include "libiberty.h" |
29 #include "gdb/remote-sim.h" | 30 #include "gdb/remote-sim.h" |
30 | 31 |
(...skipping 2176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2207 fprintf (stderr, " verbose\n"); | 2208 fprintf (stderr, " verbose\n"); |
2208 } | 2209 } |
2209 } | 2210 } |
2210 | 2211 |
2211 void | 2212 void |
2212 sim_set_callbacks (ptr) | 2213 sim_set_callbacks (ptr) |
2213 host_callback * ptr; | 2214 host_callback * ptr; |
2214 { | 2215 { |
2215 callback = ptr; | 2216 callback = ptr; |
2216 } | 2217 } |
OLD | NEW |