From 48db5b5ec271343feec45e5e90cc3543831da21a Mon Sep 17 00:00:00 2001 From: msnyder Date: Sat, 10 Jul 2004 01:17:51 +0000 Subject: [PATCH] 2004-07-10 Michael Snyder * symfile.c (generic_load): Comment typo. * stack.c (get_selected_block): Ditto. * regcache.c (regcache_cooked_read): Ditto. * monitor.c (monitor_debug): Ditto. * mips-tdep.c (mips_read_pc): Ditto. * i386-linux-nat.c (ps_get_thread_area): Ditto. * gdb_mbuild.sh: Ditto. * gdbarch.sh: Ditto. * gdbarch.h: Ditto. --- gdb/ChangeLog | 12 ++++++++++++ gdb/gdb_mbuild.sh | 2 +- gdb/gdbarch.h | 2 +- gdb/gdbarch.sh | 2 +- gdb/i386-linux-nat.c | 2 +- gdb/mips-tdep.c | 2 +- gdb/monitor.c | 2 +- gdb/regcache.c | 2 +- gdb/stack.c | 2 +- gdb/symfile.c | 2 +- 10 files changed, 21 insertions(+), 9 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 76c89d9a2f..ac60c6e5e6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +2004-07-10 Michael Snyder + + * symfile.c (generic_load): Comment typo. + * stack.c (get_selected_block): Ditto. + * regcache.c (regcache_cooked_read): Ditto. + * monitor.c (monitor_debug): Ditto. + * mips-tdep.c (mips_read_pc): Ditto. + * i386-linux-nat.c (ps_get_thread_area): Ditto. + * gdb_mbuild.sh: Ditto. + * gdbarch.sh: Ditto. + * gdbarch.h: Ditto. + 2004-07-09 Paul N. Hilfinger Remove ARI problems: diff --git a/gdb/gdb_mbuild.sh b/gdb/gdb_mbuild.sh index fc1721904b..f7037a3c6e 100755 --- a/gdb/gdb_mbuild.sh +++ b/gdb/gdb_mbuild.sh @@ -205,7 +205,7 @@ do trap "exit 1" 1 2 15 dir=${builddir}/${target} - # Should a scratch rebuild be forced, for perhaphs the entire + # Should a scratch rebuild be forced, for perhaps the entire # build be skipped? if ${force} diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index ae4e70b106..c87886cab2 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1749,7 +1749,7 @@ extern void set_gdbarch_software_single_step (struct gdbarch *gdbarch, gdbarch_s #endif /* FIXME: cagney/2003-08-28: Need to find a better way of selecting the - disassembler. Perhaphs objdump can handle it? */ + disassembler. Perhaps objdump can handle it? */ typedef int (gdbarch_print_insn_ftype) (bfd_vma vma, struct disassemble_info *info); extern int gdbarch_print_insn (struct gdbarch *gdbarch, bfd_vma vma, struct disassemble_info *info); diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 59d7f74fb6..0183fae0a3 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -667,7 +667,7 @@ f:=:CORE_ADDR:smash_text_address:CORE_ADDR addr:addr:::core_addr_identity::0 # single step. If not, then implement single step using breakpoints. F:=:void:software_single_step:enum target_signal sig, int insert_breakpoints_p:sig, insert_breakpoints_p # FIXME: cagney/2003-08-28: Need to find a better way of selecting the -# disassembler. Perhaphs objdump can handle it? +# disassembler. Perhaps objdump can handle it? f:TARGET_PRINT_INSN:int:print_insn:bfd_vma vma, struct disassemble_info *info:vma, info:::0: f:=:CORE_ADDR:skip_trampoline_code:CORE_ADDR pc:pc:::generic_skip_trampoline_code::0 diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 128e719f36..061f645c8c 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -738,7 +738,7 @@ ps_get_thread_area (const struct ps_prochandle *ph, Is this function needed? I'm guessing that the `base' is the address of a a descriptor that libthread_db uses to find the - thread local address base that GDB needs. Perhaphs that + thread local address base that GDB needs. Perhaps that descriptor is defined by the ABI. Anyway, given that libthread_db calls this function without prompting (gdb requesting tls base) I guess it needs info in there anyway. */ diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 454296d603..a98dd3c7d6 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -825,7 +825,7 @@ pc_is_mips16 (bfd_vma memaddr) return 0; } -/* MIPS believes that the PC has a sign extended value. Perhaphs the +/* MIPS believes that the PC has a sign extended value. Perhaps the all registers should be sign extended for simplicity? */ static CORE_ADDR diff --git a/gdb/monitor.c b/gdb/monitor.c index a3f6672f74..6d97ca0b9c 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -153,7 +153,7 @@ static void monitor_debug (const char *fmt, ...) ATTR_FORMAT(printf, 1, 2); static int monitor_debug_p = 0; /* NOTE: This file alternates between monitor_debug_p and remote_debug - when determining if debug information is printed. Perhaphs this + when determining if debug information is printed. Perhaps this could be simplified. */ static void diff --git a/gdb/regcache.c b/gdb/regcache.c index ceeaca63fe..4928170fdd 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -845,7 +845,7 @@ regcache_cooked_read (struct regcache *regcache, int regnum, void *buf) else if (regcache->readonly_p && regnum < regcache->descr->nr_cooked_registers && regcache->register_valid_p[regnum]) - /* Read-only register cache, perhaphs the cooked value was cached? */ + /* Read-only register cache, perhaps the cooked value was cached? */ memcpy (buf, register_buffer (regcache, regnum), regcache->descr->sizeof_register[regnum]); else diff --git a/gdb/stack.c b/gdb/stack.c index ce986c79e8..e650d070a4 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1578,7 +1578,7 @@ get_selected_block (CORE_ADDR *addr_in_block) return 0; /* NOTE: cagney/2002-11-28: Why go to all this effort to not create - a selected/current frame? Perhaphs this function is called, + a selected/current frame? Perhaps this function is called, indirectly, by WFI in "infrun.c" where avoiding the creation of an inner most frame is very important (it slows down single step). I suspect, though that this was true in the deep dark diff --git a/gdb/symfile.c b/gdb/symfile.c index f3108a3c70..31de4ba601 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1532,7 +1532,7 @@ generic_load (char *args, int from_tty) to a comment from remote-mips.c (where a call to symbol_file_add was commented out), making the call confuses GDB if more than one file is loaded in. Some targets do (e.g., remote-vx.c) but - others don't (or didn't - perhaphs they have all been deleted). */ + others don't (or didn't - perhaps they have all been deleted). */ print_transfer_performance (gdb_stdout, cbdata.data_count, cbdata.write_count, end_time - start_time); -- 2.11.0