Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: gdb/gnulib/import/mbsrtowcs.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/gnulib/import/mbsinit.c ('k') | gdb/gnulib/import/mbsrtowcs-impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/gnulib/import/mbsrtowcs.c
diff --git a/sim/rl78/load.h b/gdb/gnulib/import/mbsrtowcs.c
similarity index 61%
copy from sim/rl78/load.h
copy to gdb/gnulib/import/mbsrtowcs.c
index daf735ea3c6a5145a624b7cbd01ef04986935ef7..e3ec8767c33a7280b4a641b15a22873f40b27548 100644
--- a/sim/rl78/load.h
+++ b/gdb/gnulib/import/mbsrtowcs.c
@@ -1,11 +1,8 @@
-/* load.h --- interface to loading object files into the RX simulator.
-
+/* Convert string to wide string.
Copyright (C) 2008-2012 Free Software Foundation, Inc.
- Contributed by Red Hat, Inc.
-
- This file is part of the GNU simulators.
+ Written by Bruno Haible <bruno@clisp.org>, 2008.
- This program is free software; you can redistribute it and/or modify
+ This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
@@ -16,15 +13,20 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+#include <config.h>
+
+/* Specification. */
+#include <wchar.h>
+
+#include <errno.h>
+#include <limits.h>
+#include <stdlib.h>
-#ifndef SIM_RL78_LOAD_H_
-#define SIM_RL78_LOAD_H_
+#include "strnlen1.h"
-#include "bfd.h"
-#include "gdb/callback.h"
-void rl78_load (bfd *, host_callback *callbacks, const char * const simname);
+extern mbstate_t _gl_mbsrtowcs_state;
-#endif
+#include "mbsrtowcs-impl.h"
« no previous file with comments | « gdb/gnulib/import/mbsinit.c ('k') | gdb/gnulib/import/mbsrtowcs-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698