| OLD | NEW |
| 1 /* load.h --- interface to loading object files into the RX simulator. | 1 /* Convert string to wide string. |
| 2 Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 3 Written by Bruno Haible <bruno@clisp.org>, 2008. |
| 2 | 4 |
| 3 Copyright (C) 2008-2012 Free Software Foundation, Inc. | 5 This program is free software: you can redistribute it and/or modify |
| 4 Contributed by Red Hat, Inc. | |
| 5 | |
| 6 This file is part of the GNU simulators. | |
| 7 | |
| 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 | 6 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 | 7 the Free Software Foundation; either version 3 of the License, or |
| 11 (at your option) any later version. | 8 (at your option) any later version. |
| 12 | 9 |
| 13 This program is distributed in the hope that it will be useful, | 10 This program is distributed in the hope that it will be useful, |
| 14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 GNU General Public License for more details. | 13 GNU General Public License for more details. |
| 17 | 14 |
| 18 You should have received a copy of the GNU General Public License | 15 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/>. | 16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 20 */ | |
| 21 | 17 |
| 22 #ifndef SIM_RL78_LOAD_H_ | 18 #include <config.h> |
| 23 #define SIM_RL78_LOAD_H_ | |
| 24 | 19 |
| 25 #include "bfd.h" | 20 /* Specification. */ |
| 26 #include "gdb/callback.h" | 21 #include <wchar.h> |
| 27 | 22 |
| 28 void rl78_load (bfd *, host_callback *callbacks, const char * const simname); | 23 #include <errno.h> |
| 24 #include <limits.h> |
| 25 #include <stdlib.h> |
| 29 | 26 |
| 30 #endif | 27 #include "strnlen1.h" |
| 28 |
| 29 |
| 30 extern mbstate_t _gl_mbsrtowcs_state; |
| 31 |
| 32 #include "mbsrtowcs-impl.h" |
| OLD | NEW |