aboutsummaryrefslogtreecommitdiff
path: root/sim/mcore
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2000-03-02 22:42:51 +0000
committerFrank Ch. Eigler <fche@redhat.com>2000-03-02 22:42:51 +0000
commit4cd93614802ac28d41e97262ca172ab8f98016fe (patch)
tree1c1b3977522cdf90dec504145ec74b3515e39d55 /sim/mcore
parentb7b8f32709d3b96122e0732c07560ae57d0aa06d (diff)
downloadgdb-4cd93614802ac28d41e97262ca172ab8f98016fe.zip
gdb-4cd93614802ac28d41e97262ca172ab8f98016fe.tar.gz
gdb-4cd93614802ac28d41e97262ca172ab8f98016fe.tar.bz2
* comment tweaks
Diffstat (limited to 'sim/mcore')
-rw-r--r--sim/mcore/interp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sim/mcore/interp.c b/sim/mcore/interp.c
index c1a39e7..456e481 100644
--- a/sim/mcore/interp.c
+++ b/sim/mcore/interp.c
@@ -287,7 +287,7 @@ what (x, v)
}
}
-/* Read functions */
+/* Read functions. */
static int INLINE
rbat (x)
word x;
@@ -389,7 +389,7 @@ IOMEM (addr, write, value)
{
}
-/* default to a 8 Mbyte (== 2^23) memory space */
+/* Default to a 8 Mbyte (== 2^23) memory space. */
static int sim_memory_size = 23;
#define MEM_SIZE_FLOOR 64
@@ -403,9 +403,9 @@ sim_size (power)
if (cpu.mem)
free (cpu.mem);
- /* watch out for the '0 count' problem. There's probably a better
- way.. e.g., why do we use 64 here? */
- if (cpu.asregs.msize < 64) /* ensure a boundary */
+ /* Watch out for the '0 count' problem. There's probably a better
+ way.. e.g., why do we use 64 here? */
+ if (cpu.asregs.msize < 64) /* Ensure a boundary. */
cpu.mem = (unsigned char *) calloc (64, (64 + cpu.asregs.msize) / 64);
else
cpu.mem = (unsigned char *) calloc (64, cpu.asregs.msize / 64);