From 0fb34c3a109e4276e48f5999a59899b15f79c42c Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 8 Dec 2000 19:59:25 +0000 Subject: [PATCH] 2000-12-08 Michael Snyder * 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. --- gdb/ChangeLog | 7 +++++++ gdb/alpha-tdep.c | 4 ++-- gdb/dbxread.c | 2 +- gdb/fr30-tdep.c | 9 +++++---- gdb/mcore-tdep.c | 2 +- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fbbc3e61151..3a9447891fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2000-12-08 Michael Snyder + + * 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 * gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag): diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 45c4bc0f7aa..f54a11d02fd 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 e15539a5572..c8f9cfe1be3 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 c6a4b123ffc..c06542adf96 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 eedd1a15cd4..c99a2de34f7 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 -- 2.30.2