This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[5.3] Fix -Werror problems in sim directory


FYI,

Committed the attached.  Equivalent is already in the mainline.
(yes the branch is still frozen).

Andrew
common/ChangeLog
2002-11-25  Andrew Cagney  <cagney@redhat.com>

	* run.c (main): Delete token after #endif.

Index: d10v/ChangeLog
2002-11-25  Andrew Cagney  <cagney@redhat.com>

	* simops.c: Include <string.h>

Index: common/run.c
===================================================================
RCS file: /cvs/src/src/sim/common/run.c,v
retrieving revision 1.11
diff -u -r1.11 run.c
--- common/run.c	9 Jun 2002 15:45:45 -0000	1.11
+++ common/run.c	3 Dec 2002 16:29:13 -0000
@@ -156,7 +156,7 @@
            target.  */
 	operating_p = 1;
 	break;
-#endif SIM_HAVE_ENVIRONMENT
+#endif
 #ifdef SIM_HAVE_PROFILE
       case 'p':
 	sim_set_profile (atoi (optarg));
Index: d10v/simops.c
===================================================================
RCS file: /cvs/src/src/sim/d10v/simops.c,v
retrieving revision 1.3
diff -u -r1.3 simops.c
--- d10v/simops.c	28 May 2002 15:49:52 -0000	1.3
+++ d10v/simops.c	3 Dec 2002 16:29:15 -0000
@@ -7,6 +7,9 @@
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
 
 #include "d10v_sim.h"
 #include "simops.h"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]