aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/alpha-tdep.c4
-rw-r--r--gdb/dbxread.c2
-rw-r--r--gdb/fr30-tdep.c9
-rw-r--r--gdb/mcore-tdep.c2
5 files changed, 16 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fbbc3e6..3a94478 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com>
+
+ * alpha-tdep.c: Fix typo in comment.
+ * dbxread.c: Fix typo in comment.
+ * fr30-tdep.c: Fix typo: newline missing after comment.
+ * mcore-tdep.c: Fix typo in comment.
+
2000-12-07 J.T. Conklin <jtc@redback.com>
* gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 45c4bc0..f54a11d 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -1164,8 +1164,8 @@ alpha_pop_frame (void)
LENIENT, then we must skip everything which is involved in setting
up the frame (it's OK to skip more, just so long as we don't skip
anything which might clobber the registers which are being saved.
- Currently we must not skip more on the alpha, but we might the lenient
- stuff some day. */
+ Currently we must not skip more on the alpha, but we might need the
+ lenient stuff some day. */
CORE_ADDR
alpha_skip_prologue (CORE_ADDR pc, int lenient)
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index e15539a..c8f9cfe 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -788,7 +788,7 @@ static int symbuf_end;
completed after all the stabs are read. */
struct cont_elem
{
- /* sym and stabsstring for continuing information in cfront */
+ /* sym and stabstring for continuing information in cfront */
struct symbol *sym;
char *stabs;
/* state dependencies (statics that must be preserved) */
diff --git a/gdb/fr30-tdep.c b/gdb/fr30-tdep.c
index c6a4b12..c06542a 100644
--- a/gdb/fr30-tdep.c
+++ b/gdb/fr30-tdep.c
@@ -476,10 +476,11 @@ fr30_init_extra_frame_info (struct frame_info *fi)
fi->frame = read_register (fi->framereg);
else
/* not the innermost frame */
- /* If we have an FP, the callee saved it. */ if (fi->framereg == FP_REGNUM)
- if (fi->next->fsr.regs[fi->framereg] != 0)
- fi->frame = read_memory_integer (fi->next->fsr.regs[fi->framereg],
- 4);
+ /* If we have an FP, the callee saved it. */
+ if (fi->framereg == FP_REGNUM)
+ if (fi->next->fsr.regs[fi->framereg] != 0)
+ fi->frame = read_memory_integer (fi->next->fsr.regs[fi->framereg], 4);
+
/* Calculate actual addresses of saved registers using offsets determined
by fr30_scan_prologue. */
for (reg = 0; reg < NUM_REGS; reg++)
diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c
index eedd1a1..c99a2de 100644
--- a/gdb/mcore-tdep.c
+++ b/gdb/mcore-tdep.c
@@ -217,7 +217,7 @@ analyze_dummy_frame (CORE_ADDR pc, CORE_ADDR frame)
return dummy;
}
-/* Function prologues on the Motorol MCore processors consist of:
+/* Function prologues on the Motorola MCore processors consist of:
- adjustments to the stack pointer (r1 used as scratch register)
- store word/multiples that use r0 as the base address