This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
remove warnings in sim/arm
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Mon, 24 Nov 2008 15:11:13 -0600
- Subject: remove warnings in sim/arm
Hi,
a couple of files in arm/sim had warnings because
they did not include <string.h>. Simple patch
to include <string.h>
Ok to commit?
2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* arminit.c, iwmmxt.c: Include <string.h> to
eliminate warning.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
? .iwmmxt.c.swp
Index: arminit.c
===================================================================
RCS file: /cvs/src/src/sim/arm/arminit.c,v
retrieving revision 1.12
diff -u -r1.12 arminit.c
--- arminit.c 12 May 2005 07:36:58 -0000 1.12
+++ arminit.c 24 Nov 2008 21:08:18 -0000
@@ -15,6 +15,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+#include <string.h>
+
#include "armdefs.h"
#include "armemu.h"
#include "dbg_rdi.h"
Index: iwmmxt.c
===================================================================
RCS file: /cvs/src/src/sim/arm/iwmmxt.c,v
retrieving revision 1.6
diff -u -r1.6 iwmmxt.c
--- iwmmxt.c 1 Jan 2008 22:53:23 -0000 1.6
+++ iwmmxt.c 24 Nov 2008 21:08:19 -0000
@@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include <string.h>
+
#include "armdefs.h"
#include "armos.h"
#include "armemu.h"