This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Fix remaining fallout from bfd include-config.h-first changes: sim/mcore
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gdb-patches at sourceware dot org
- Cc: nickc at redhat dot com
- Date: Sun, 20 May 2012 07:40:26 +0200
- Subject: Fix remaining fallout from bfd include-config.h-first changes: sim/mcore
Looks like this one slipped through. Committed.
This simulator doesn't have a test-suite but "sim/mcore/run
--help" works FWIW...
sim/mcore:
PR 14072
* interp.c: Include config.h before system header files.
Index: interp.c
===================================================================
RCS file: /cvs/src/src/sim/mcore/interp.c,v
retrieving revision 1.15
diff -p -u -r1.15 interp.c
--- interp.c 4 Jan 2012 08:28:14 -0000 1.15
+++ interp.c 20 May 2012 05:33:59 -0000
@@ -18,6 +18,7 @@ GNU General Public License for more deta
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 "config.h"
#include <signal.h>
#include "sysdep.h"
#include <sys/times.h>
brgds, H-P