From: jtc Date: Mon, 30 Oct 2000 21:50:57 +0000 (+0000) Subject: * gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c, X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f2208fb9b2c0008f5b5db7140ae051dd17939377;p=pf3gnuchains%2Fsourceware.git * gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c, mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c, somread.c, tracepoint.c: Fix spelling errors in comments. * gdbarch.c: Regenerate. * gnu-nat.c (S_exception_raise_request): Fix typos and spelling errors in strings. * m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise. * mcore-tdep.c (mcore_analyze_prologue): Likewise. * mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise. * remote-e7000.c (e7000_start_remote): Likewise. * remote-rdp.c (handle_swi): Likewise. * remote-vx.c (vx_load_command): Likewise. * sh-tdep.c (sh_do_pseudo_register): Likewise. * sol-thread.c (td_err_string): Likewise. * symtab.c (decode_line_2): Likewise. ------------------------------------------------------------------- --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d741bc5e4c..747d5439f8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,22 @@ +2000-10-30 J.T. Conklin + + * gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c, + mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c, + somread.c, tracepoint.c: Fix spelling errors in comments. + * gdbarch.c: Regenerate. + + * gnu-nat.c (S_exception_raise_request): Fix typos and spelling + errors in strings. + * m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise. + * mcore-tdep.c (mcore_analyze_prologue): Likewise. + * mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise. + * remote-e7000.c (e7000_start_remote): Likewise. + * remote-rdp.c (handle_swi): Likewise. + * remote-vx.c (vx_load_command): Likewise. + * sh-tdep.c (sh_do_pseudo_register): Likewise. + * sol-thread.c (td_err_string): Likewise. + * symtab.c (decode_line_2): Likewise. + Mon Oct 30 10:19:01 2000 David Taylor * eval.c (parse_and_eval_long): New function. @@ -23,9 +42,9 @@ Mon Oct 30 10:19:01 2000 David Taylor 2000-10-27 J.T. Conklin * arch-utils.c (set_architecture, set_architecture_from_arch_mach, - set_gdbarch_from_file): Fix spelling error. + set_gdbarch_from_file): Fix spelling error in string. * v850-tdep.c (v850_target_architecture_hook): Likewise. - * gdbarch.sh: Fix spelling errors in comment. + * gdbarch.sh: Fix spelling errors in comments. * gdbarch.c, gdbarch.h: Regenerate. * ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers, diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 7e1959d72d..ad7b3f7963 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -4025,8 +4025,8 @@ gdbarch_register (enum bfd_architecture bfd_architecture, (*curr)->dump_tdep = dump_tdep; (*curr)->arches = NULL; (*curr)->next = NULL; - /* When non- multi-arch, install what ever target dump routine we've - been provided - hopefully that routine has been writen correct + /* When non- multi-arch, install whatever target dump routine we've + been provided - hopefully that routine has been written correctly and works regardless of multi-arch. */ if (!GDB_MULTI_ARCH && dump_tdep != NULL && startup_gdbarch.dump_tdep == NULL) diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 3273dc5acb..541250f236 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -1723,8 +1723,8 @@ gdbarch_register (enum bfd_architecture bfd_architecture, (*curr)->dump_tdep = dump_tdep; (*curr)->arches = NULL; (*curr)->next = NULL; - /* When non- multi-arch, install what ever target dump routine we've - been provided - hopefully that routine has been writen correct + /* When non- multi-arch, install whatever target dump routine we've + been provided - hopefully that routine has been written correctly and works regardless of multi-arch. */ if (!GDB_MULTI_ARCH && dump_tdep != NULL && startup_gdbarch.dump_tdep == NULL) diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 6ab6abce71..dbdcfb1572 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -1659,13 +1659,13 @@ S_exception_raise_request (mach_port_t port, mach_port_t reply_port, { if (thread->exc_port == port) { - inf_debug (waiting_inf, "Handler is thread exeption port <%d>", + inf_debug (waiting_inf, "Handler is thread exception port <%d>", thread->saved_exc_port); inf->wait.exc.handler = thread->saved_exc_port; } else { - inf_debug (waiting_inf, "Handler is task exeption port <%d>", + inf_debug (waiting_inf, "Handler is task exception port <%d>", inf->task->saved_exc_port); inf->wait.exc.handler = inf->task->saved_exc_port; assert (inf->task->exc_port == port); diff --git a/gdb/hp-psymtab-read.c b/gdb/hp-psymtab-read.c index e6718d658d..0054644f70 100644 --- a/gdb/hp-psymtab-read.c +++ b/gdb/hp-psymtab-read.c @@ -70,7 +70,7 @@ static struct partial_symtab *hpread_end_psymtab #include #include -/* check for the existance of a file, given its full pathname */ +/* check for the existence of a file, given its full pathname */ int file_exists (char *filename) { @@ -103,7 +103,7 @@ static char main_string[] = "main"; /* Call PXDB to process our file. Approach copied from DDE's "dbgk_run_pxdb". Note: we - don't check for BSD location of pxdb, nor for existance + don't check for BSD location of pxdb, nor for existence of pxdb itself, etc. NOTE: uses system function and string functions directly. @@ -2104,8 +2104,8 @@ hpread_get_slt (int index, struct objfile *objfile) /* Get the low address associated with some symbol (typically the start of a particular source file or module). Since that information is not - stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we must infer it from - the existance of DNTT_TYPE_FUNCTION symbols. */ + stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we + must infer it from the existence of DNTT_TYPE_FUNCTION symbols. */ static unsigned long hpread_get_textlow (int global, int index, struct objfile *objfile, diff --git a/gdb/hpread.c b/gdb/hpread.c index 4e25083e16..d87edd6539 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -658,8 +658,8 @@ hpread_get_slt (int index, struct objfile *objfile) /* Get the low address associated with some symbol (typically the start of a particular source file or module). Since that information is not - stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we must infer it from - the existance of DNTT_TYPE_FUNCTION symbols. */ + stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we + must infer it from the existence of DNTT_TYPE_FUNCTION symbols. */ static unsigned long hpread_get_textlow (int global, int index, struct objfile *objfile) diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c index 0e56fb5952..b63b75fe80 100644 --- a/gdb/m3-nat.c +++ b/gdb/m3-nat.c @@ -692,7 +692,7 @@ intercept_exec_calls (int exec_counter) CHK ("mach_port_extract_right (bsd server send)", ret); if (acquired != MACH_MSG_TYPE_PORT_SEND) - error ("Incorrect right extracted, send right to bsd server excpected"); + error ("Incorrect right extracted, send right to bsd server expected"); ret = mach_port_insert_right (inferior_task, original_server_port_name, @@ -719,7 +719,7 @@ intercept_exec_calls (int exec_counter) CHK ("mach_port_extract_right (exec_reply)", ret); if (acquired != MACH_MSG_TYPE_PORT_SEND_ONCE) - error ("Incorrect right extracted, send once excpected for exec reply"); + error ("Incorrect right extracted, send once expected for exec reply"); ret = mach_port_move_member (mach_task_self (), fake_server, @@ -1540,7 +1540,7 @@ mach_thread_parse_id (char *arg) { int mid; if (arg == 0) - error ("thread id excpected"); + error ("thread id expected"); mid = parse_thread_id (arg, 0, 1); return mid; diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c index c47a1b58fb..eedd1a15cd 100644 --- a/gdb/mcore-tdep.c +++ b/gdb/mcore-tdep.c @@ -118,7 +118,7 @@ struct frame_extra_info /* The base of the current frame is in a frame pointer register. This register is noted in frame_extra_info->fp_regnum. - Note that the existance of an FP might also indicate that the + Note that the existence of an FP might also indicate that the function has called alloca. */ #define MY_FRAME_IN_FP 0x2 @@ -336,7 +336,7 @@ mcore_analyze_prologue (struct frame_info *fi, CORE_ADDR pc, int skip_prologue) if (IS_SUBI0 (insn)) { int offset = 1 + ((insn >> 4) & 0x1f); - mcore_insn_debug (("MCORE: got subi r0,%d; contnuing\n", offset)); + mcore_insn_debug (("MCORE: got subi r0,%d; continuing\n", offset)); framesize += offset; continue; } diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index dc6ecf8a66..daac3636da 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -1117,10 +1117,10 @@ mips16_next_pc (CORE_ADDR pc) pc += 2; break; case 30: /* This is an extend instruction */ - pc += 4; /* Dont be setting breakpints on the second half */ + pc += 4; /* Dont be setting breakpoints on the second half */ break; default: - printf ("Filtered - next PC probably incorrrect due to jump inst\n"); + printf ("Filtered - next PC probably incorrect due to jump inst\n"); pc += 2; break; } @@ -4565,7 +4565,7 @@ This option can be set to one of:\n\ "Select single-precision MIPS floating-point coprocessor.", &mipsfpulist); add_cmd ("double", class_support, set_mipsfpu_double_command, - "Select double-precision MIPS floating-point coprocessor .", + "Select double-precision MIPS floating-point coprocessor.", &mipsfpulist); add_alias_cmd ("on", "double", class_support, 1, &mipsfpulist); add_alias_cmd ("yes", "double", class_support, 1, &mipsfpulist); diff --git a/gdb/monitor.c b/gdb/monitor.c index 869a91e292..3206470bbf 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -23,7 +23,7 @@ /* This file was derived from various remote-* modules. It is a collection of generic support functions so GDB can talk directly to a ROM based monitor. This saves use from having to hack an exception based handler - into existance, and makes for quick porting. + into existence, and makes for quick porting. This module talks to a debug monitor called 'MONITOR', which We communicate with MONITOR via either a direct serial line, or a TCP diff --git a/gdb/regcache.c b/gdb/regcache.c index b46a242892..2326b3485b 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -717,7 +717,7 @@ supply_register (int regno, char *val) Ditto for write_pc. 1999-06-08: The following were re-written so that it assumes the - existance of a TARGET_READ_PC et.al. macro. A default generic + existence of a TARGET_READ_PC et.al. macro. A default generic version of that macro is made available where needed. Since the ``TARGET_READ_PC'' et.al. macro is going to be controlled diff --git a/gdb/remote-e7000.c b/gdb/remote-e7000.c index be88feff52..90aa746318 100644 --- a/gdb/remote-e7000.c +++ b/gdb/remote-e7000.c @@ -627,7 +627,7 @@ e7000_start_remote (void *dummy) if (!sync) { fprintf_unfiltered (gdb_stderr, "Giving up after %d tries...\n", try); - error ("Unable to syncronize with target.\n"); + error ("Unable to synchronize with target.\n"); } puts_e7000debug ("\r"); diff --git a/gdb/remote-es.c b/gdb/remote-es.c index 3053fe93c6..0bd6f6bd87 100644 --- a/gdb/remote-es.c +++ b/gdb/remote-es.c @@ -1158,7 +1158,7 @@ verify_break (int vec) /* get_break_addr () - find address of breakpint routine + find address of breakpoint routine vec - trap vector used for breakpoints addrp - store the address here */ diff --git a/gdb/remote-rdp.c b/gdb/remote-rdp.c index 62e10139d8..767e0ee4e6 100644 --- a/gdb/remote-rdp.c +++ b/gdb/remote-rdp.c @@ -970,7 +970,7 @@ handle_swi (void) break; default: - error ("Unimplented SWI argument"); + error ("Unimplemented SWI argument"); } type = type >> 2; diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index 87c0c5ec7d..adf17712e5 100644 --- a/gdb/remote-vx.c +++ b/gdb/remote-vx.c @@ -713,7 +713,7 @@ vx_load_command (char *arg_string, int from_tty) Kill the target task? ")) target_kill (); else - error ("Load cancelled."); + error ("Load canceled."); } QUIT; diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c index a6c7b04555..791c3fae3d 100644 --- a/gdb/ser-unix.c +++ b/gdb/ser-unix.c @@ -1277,7 +1277,7 @@ ser_unix_async (serial_t scb, if (SERIAL_DEBUG_P (scb)) fprintf_unfiltered (gdb_stdlog, "[fd%d->synchronous]\n", scb->fd); - /* De-schedule what ever tasks are currently scheduled. */ + /* De-schedule whatever tasks are currently scheduled. */ switch (scb->async_state) { case FD_SCHEDULED: diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 640ea4006a..b2b4d2fd49 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -1661,7 +1661,7 @@ static void sh_do_pseudo_register (int regnum) { if (regnum < NUM_REGS || regnum >= NUM_REGS + NUM_PSEUDO_REGS) - internal_error ("Invalid pasudo register number %d\n", regnum); + internal_error ("Invalid pseudo register number %d\n", regnum); else if (regnum >= NUM_REGS && regnum < gdbarch_tdep (current_gdbarch)->FV0_REGNUM) do_dr_register_info (regnum); diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index d78f8e609c..be51710ffe 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -217,7 +217,7 @@ td_err_string (td_err_e errcode) {TD_NOAPLIC, "Operation not applicable to"}, {TD_NOTSD, "No thread specific data for this thread"}, {TD_MALLOC, "Malloc failed"}, - {TD_PARTIALREG, "Only part of register set was writen/read"}, + {TD_PARTIALREG, "Only part of register set was written/read"}, {TD_NOXREGS, "X register set not available for given thread"} }; const int td_err_size = sizeof td_err_table / sizeof (struct string_map); diff --git a/gdb/somread.c b/gdb/somread.c index 4605c26e4a..fb804a3b45 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -115,7 +115,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile, There's nothing in the header which easily allows us to do this. The only reliable way I know of is to check for the - existance of a $SHLIB_INFO$ section with a non-zero size. */ + existence of a $SHLIB_INFO$ section with a non-zero size. */ /* The code below is not a reliable way to check whether an * executable is dynamic, so I commented it out - RT * shlib_info = bfd_get_section_by_name (objfile->obfd, "$SHLIB_INFO$"); diff --git a/gdb/symtab.c b/gdb/symtab.c index f47d1b0b12..11aa9c5e63 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -3328,7 +3328,7 @@ decode_line_2 (struct symbol *sym_arr[], int nelts, int funfirstline, num = atoi (args); if (num == 0) - error ("cancelled"); + error ("canceled"); else if (num == 1) { if (canonical_arr) diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 0f52a170fe..8c229d4da4 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -1265,7 +1265,7 @@ collect_symbol (struct collection_list *collect, struct symbol *sym, printf_filtered ("Don't know LOC_UNRESOLVED %s\n", SYMBOL_NAME (sym)); break; case LOC_OPTIMIZED_OUT: - printf_filtered ("%s has been optimized out of existance.\n", + printf_filtered ("%s has been optimized out of existence.\n", SYMBOL_NAME (sym)); break; }