| OLD | NEW |
| 1 /* Simulator for the moxie processor | 1 /* Simulator for the moxie processor |
| 2 Copyright (C) 2008-2012 Free Software Foundation, Inc. | 2 Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 3 Contributed by Anthony Green | 3 Contributed by Anthony Green |
| 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" |
| 21 #include <fcntl.h> |
| 20 #include <signal.h> | 22 #include <signal.h> |
| 21 #include <stdlib.h> | 23 #include <stdlib.h> |
| 22 #include "sysdep.h" | 24 #include "sysdep.h" |
| 23 #include <sys/times.h> | 25 #include <sys/times.h> |
| 24 #include <sys/param.h> | 26 #include <sys/param.h> |
| 25 #include <netinet/in.h> /* for byte ordering macros */ | 27 #include <netinet/in.h> /* for byte ordering macros */ |
| 26 #include "bfd.h" | 28 #include "bfd.h" |
| 27 #include "gdb/callback.h" | 29 #include "gdb/callback.h" |
| 28 #include "libiberty.h" | 30 #include "libiberty.h" |
| 29 #include "gdb/remote-sim.h" | 31 #include "gdb/remote-sim.h" |
| (...skipping 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1366 "Error: \"%s\" is not a valid moxie simulator command.\n", | 1368 "Error: \"%s\" is not a valid moxie simulator command.\n", |
| 1367 cmd); | 1369 cmd); |
| 1368 } | 1370 } |
| 1369 | 1371 |
| 1370 void | 1372 void |
| 1371 sim_set_callbacks (ptr) | 1373 sim_set_callbacks (ptr) |
| 1372 host_callback * ptr; | 1374 host_callback * ptr; |
| 1373 { | 1375 { |
| 1374 callback = ptr; | 1376 callback = ptr; |
| 1375 } | 1377 } |
| OLD | NEW |