aboutsummaryrefslogtreecommitdiff
path: root/sim/microblaze
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-29 16:43:48 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-29 16:45:49 -0400
commit191ec03314b005b8189ecea7296f2f6cad534d09 (patch)
tree6f349c9e22f91966fb7e8dbbc84acb9cdeb18fe6 /sim/microblaze
parent744b9a190b9b5b83d83f43d35b6ab6d20f49af8f (diff)
downloadgdb-191ec03314b005b8189ecea7296f2f6cad534d09.zip
gdb-191ec03314b005b8189ecea7296f2f6cad534d09.tar.gz
gdb-191ec03314b005b8189ecea7296f2f6cad534d09.tar.bz2
sim: microblaze: start a testsuite
Since the sim doesn't have any debug support in it, we can only exit cleanly. But this is still better than nothing. Change the default microblaze sim to not dump the debug load output when running. No other does this, and it breaks the testsuite.
Diffstat (limited to 'sim/microblaze')
-rw-r--r--sim/microblaze/ChangeLog4
-rw-r--r--sim/microblaze/interp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index 7ee66c5..b2a5150 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,5 +1,9 @@
2015-03-29 Mike Frysinger <vapier@gentoo.org>
+ * interp.c (sim_load): Set verbose to 0 when calling sim_load_file.
+
+2015-03-29 Mike Frysinger <vapier@gentoo.org>
+
* configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
SIM_AC_OPTION_INLINE.
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index ad6faaa..4e64932 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -820,7 +820,7 @@ sim_load (SIM_DESC sd, const char *prog, bfd *abfd, int from_tty)
/* from sh -- dac */
prog_bfd = sim_load_file (sd, myname, callback, prog, abfd,
/* sim_kind == SIM_OPEN_DEBUG, */
- 1,
+ 0,
0, sim_write);
if (prog_bfd == NULL)
return SIM_RC_FAIL;