summaryrefslogtreecommitdiff
path: root/sim
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
commit6a2356013997450c52905b390e255630ca7d75e3 (patch)
tree191a6754a11862c9a371fe9ad3268f961fb41f99 /sim
parent5229acf54c9c325cec75298804dde435b673af99 (diff)
downloadgdb-6a2356013997450c52905b390e255630ca7d75e3.tar.gz
* comment tweaks
Diffstat (limited to 'sim')
-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 c1a39e7b83d..456e4811cd4 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);