aboutsummaryrefslogtreecommitdiff
path: root/sim/mcore
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-05-05 14:45:51 +0000
committerStan Shebs <shebs@codesourcery.com>1999-05-05 14:45:51 +0000
commitb83266a0e1813b7f4891d5d6b0ed6b7302a3fe98 (patch)
treec59a94fbe917e0839329b872139198c2a7a05ab1 /sim/mcore
parente1346c8d0969dad58ddc13c9c741cb0f4e6345a5 (diff)
downloadgdb-b83266a0e1813b7f4891d5d6b0ed6b7302a3fe98.zip
gdb-b83266a0e1813b7f4891d5d6b0ed6b7302a3fe98.tar.gz
gdb-b83266a0e1813b7f4891d5d6b0ed6b7302a3fe98.tar.bz2
import gdb-19990504 snapshot
Diffstat (limited to 'sim/mcore')
-rw-r--r--sim/mcore/ChangeLog5
-rw-r--r--sim/mcore/interp.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index 51e976c..1585c65 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,3 +1,8 @@
+1999-04-29 Nick Clifton <nickc@cygnus.com>
+
+ * interp.c (set_initial_gprs): Only display memory range if
+ verbose option has been set.
+
1999-04-22 Nick Clifton <nickc@cygnus.com>
* interp.c: Add tracing and verbose options.
diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c
index e6d5c1a..a5d188b 100644
--- a/sim/mcore/interp.c
+++ b/sim/mcore/interp.c
@@ -405,7 +405,7 @@ set_initial_gprs ()
memsize = cpu.asregs.msize / (1024 * 1024);
- if (issue_messages)
+ if (issue_messages > 1)
fprintf (stderr, "Simulated memory of %d Mbytes (0x0 .. 0x%08x)\n",
memsize, cpu.asregs.msize - 1);
@@ -2107,7 +2107,7 @@ sim_do_command (sd, cmd)
}
else if (strcmp (simargv[0], "verbose") == 0)
{
- issue_messages = 1;
+ issue_messages = 2;
}
else
{