* 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.
-------------------------------------------------------------------
This commit is contained in:
J.T. Conklin 2000-10-30 21:50:58 +00:00
parent e8860ec2cf
commit 8e1a459b89
21 changed files with 53 additions and 34 deletions

View file

@ -1,3 +1,22 @@
2000-10-30 J.T. Conklin <jtc@redback.com>
* 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 <taylor@redhat.com> Mon Oct 30 10:19:01 2000 David Taylor <taylor@redhat.com>
* eval.c (parse_and_eval_long): New function. * eval.c (parse_and_eval_long): New function.
@ -23,9 +42,9 @@ Mon Oct 30 10:19:01 2000 David Taylor <taylor@redhat.com>
2000-10-27 J.T. Conklin <jtc@redback.com> 2000-10-27 J.T. Conklin <jtc@redback.com>
* arch-utils.c (set_architecture, set_architecture_from_arch_mach, * 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. * 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. * gdbarch.c, gdbarch.h: Regenerate.
* ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers, * ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,

View file

@ -4025,8 +4025,8 @@ gdbarch_register (enum bfd_architecture bfd_architecture,
(*curr)->dump_tdep = dump_tdep; (*curr)->dump_tdep = dump_tdep;
(*curr)->arches = NULL; (*curr)->arches = NULL;
(*curr)->next = NULL; (*curr)->next = NULL;
/* When non- multi-arch, install what ever target dump routine we've /* When non- multi-arch, install whatever target dump routine we've
been provided - hopefully that routine has been writen correct been provided - hopefully that routine has been written correctly
and works regardless of multi-arch. */ and works regardless of multi-arch. */
if (!GDB_MULTI_ARCH && dump_tdep != NULL if (!GDB_MULTI_ARCH && dump_tdep != NULL
&& startup_gdbarch.dump_tdep == NULL) && startup_gdbarch.dump_tdep == NULL)

View file

@ -1723,8 +1723,8 @@ gdbarch_register (enum bfd_architecture bfd_architecture,
(*curr)->dump_tdep = dump_tdep; (*curr)->dump_tdep = dump_tdep;
(*curr)->arches = NULL; (*curr)->arches = NULL;
(*curr)->next = NULL; (*curr)->next = NULL;
/* When non- multi-arch, install what ever target dump routine we've /* When non- multi-arch, install whatever target dump routine we've
been provided - hopefully that routine has been writen correct been provided - hopefully that routine has been written correctly
and works regardless of multi-arch. */ and works regardless of multi-arch. */
if (!GDB_MULTI_ARCH && dump_tdep != NULL if (!GDB_MULTI_ARCH && dump_tdep != NULL
&& startup_gdbarch.dump_tdep == NULL) && startup_gdbarch.dump_tdep == NULL)

View file

@ -1659,13 +1659,13 @@ S_exception_raise_request (mach_port_t port, mach_port_t reply_port,
{ {
if (thread->exc_port == 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); thread->saved_exc_port);
inf->wait.exc.handler = thread->saved_exc_port; inf->wait.exc.handler = thread->saved_exc_port;
} }
else 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->task->saved_exc_port);
inf->wait.exc.handler = inf->task->saved_exc_port; inf->wait.exc.handler = inf->task->saved_exc_port;
assert (inf->task->exc_port == port); assert (inf->task->exc_port == port);

View file

@ -70,7 +70,7 @@ static struct partial_symtab *hpread_end_psymtab
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
/* check for the existance of a file, given its full pathname */ /* check for the existence of a file, given its full pathname */
int int
file_exists (char *filename) file_exists (char *filename)
{ {
@ -103,7 +103,7 @@ static char main_string[] = "main";
/* Call PXDB to process our file. /* Call PXDB to process our file.
Approach copied from DDE's "dbgk_run_pxdb". Note: we 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. of pxdb itself, etc.
NOTE: uses system function and string functions directly. 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 /* Get the low address associated with some symbol (typically the start
of a particular source file or module). Since that information is not 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 stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we
the existance of DNTT_TYPE_FUNCTION symbols. */ must infer it from the existence of DNTT_TYPE_FUNCTION symbols. */
static unsigned long static unsigned long
hpread_get_textlow (int global, int index, struct objfile *objfile, hpread_get_textlow (int global, int index, struct objfile *objfile,

View file

@ -658,8 +658,8 @@ hpread_get_slt (int index, struct objfile *objfile)
/* Get the low address associated with some symbol (typically the start /* Get the low address associated with some symbol (typically the start
of a particular source file or module). Since that information is not 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 stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we
the existance of DNTT_TYPE_FUNCTION symbols. */ must infer it from the existence of DNTT_TYPE_FUNCTION symbols. */
static unsigned long static unsigned long
hpread_get_textlow (int global, int index, struct objfile *objfile) hpread_get_textlow (int global, int index, struct objfile *objfile)

View file

@ -692,7 +692,7 @@ intercept_exec_calls (int exec_counter)
CHK ("mach_port_extract_right (bsd server send)", ret); CHK ("mach_port_extract_right (bsd server send)", ret);
if (acquired != MACH_MSG_TYPE_PORT_SEND) 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, ret = mach_port_insert_right (inferior_task,
original_server_port_name, original_server_port_name,
@ -719,7 +719,7 @@ intercept_exec_calls (int exec_counter)
CHK ("mach_port_extract_right (exec_reply)", ret); CHK ("mach_port_extract_right (exec_reply)", ret);
if (acquired != MACH_MSG_TYPE_PORT_SEND_ONCE) 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 (), ret = mach_port_move_member (mach_task_self (),
fake_server, fake_server,
@ -1540,7 +1540,7 @@ mach_thread_parse_id (char *arg)
{ {
int mid; int mid;
if (arg == 0) if (arg == 0)
error ("thread id excpected"); error ("thread id expected");
mid = parse_thread_id (arg, 0, 1); mid = parse_thread_id (arg, 0, 1);
return mid; return mid;

View file

@ -118,7 +118,7 @@ struct frame_extra_info
/* The base of the current frame is in a frame pointer register. /* The base of the current frame is in a frame pointer register.
This register is noted in frame_extra_info->fp_regnum. 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. */ function has called alloca. */
#define MY_FRAME_IN_FP 0x2 #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)) if (IS_SUBI0 (insn))
{ {
int offset = 1 + ((insn >> 4) & 0x1f); 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; framesize += offset;
continue; continue;
} }

View file

@ -1117,10 +1117,10 @@ mips16_next_pc (CORE_ADDR pc)
pc += 2; pc += 2;
break; break;
case 30: /* This is an extend instruction */ 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; break;
default: 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; pc += 2;
break; break;
} }
@ -4565,7 +4565,7 @@ This option can be set to one of:\n\
"Select single-precision MIPS floating-point coprocessor.", "Select single-precision MIPS floating-point coprocessor.",
&mipsfpulist); &mipsfpulist);
add_cmd ("double", class_support, set_mipsfpu_double_command, add_cmd ("double", class_support, set_mipsfpu_double_command,
"Select double-precision MIPS floating-point coprocessor .", "Select double-precision MIPS floating-point coprocessor.",
&mipsfpulist); &mipsfpulist);
add_alias_cmd ("on", "double", class_support, 1, &mipsfpulist); add_alias_cmd ("on", "double", class_support, 1, &mipsfpulist);
add_alias_cmd ("yes", "double", class_support, 1, &mipsfpulist); add_alias_cmd ("yes", "double", class_support, 1, &mipsfpulist);

View file

@ -23,7 +23,7 @@
/* This file was derived from various remote-* modules. It is a collection /* 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 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 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 This module talks to a debug monitor called 'MONITOR', which
We communicate with MONITOR via either a direct serial line, or a TCP We communicate with MONITOR via either a direct serial line, or a TCP

View file

@ -717,7 +717,7 @@ supply_register (int regno, char *val)
Ditto for write_pc. Ditto for write_pc.
1999-06-08: The following were re-written so that it assumes the 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. version of that macro is made available where needed.
Since the ``TARGET_READ_PC'' et.al. macro is going to be controlled Since the ``TARGET_READ_PC'' et.al. macro is going to be controlled

View file

@ -627,7 +627,7 @@ e7000_start_remote (void *dummy)
if (!sync) if (!sync)
{ {
fprintf_unfiltered (gdb_stderr, "Giving up after %d tries...\n", try); 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"); puts_e7000debug ("\r");

View file

@ -1158,7 +1158,7 @@ verify_break (int vec)
/* get_break_addr () /* get_break_addr ()
find address of breakpint routine find address of breakpoint routine
vec - trap vector used for breakpoints vec - trap vector used for breakpoints
addrp - store the address here */ addrp - store the address here */

View file

@ -970,7 +970,7 @@ handle_swi (void)
break; break;
default: default:
error ("Unimplented SWI argument"); error ("Unimplemented SWI argument");
} }
type = type >> 2; type = type >> 2;

View file

@ -713,7 +713,7 @@ vx_load_command (char *arg_string, int from_tty)
Kill the target task? ")) Kill the target task? "))
target_kill (); target_kill ();
else else
error ("Load cancelled."); error ("Load canceled.");
} }
QUIT; QUIT;

View file

@ -1277,7 +1277,7 @@ ser_unix_async (serial_t scb,
if (SERIAL_DEBUG_P (scb)) if (SERIAL_DEBUG_P (scb))
fprintf_unfiltered (gdb_stdlog, "[fd%d->synchronous]\n", fprintf_unfiltered (gdb_stdlog, "[fd%d->synchronous]\n",
scb->fd); scb->fd);
/* De-schedule what ever tasks are currently scheduled. */ /* De-schedule whatever tasks are currently scheduled. */
switch (scb->async_state) switch (scb->async_state)
{ {
case FD_SCHEDULED: case FD_SCHEDULED:

View file

@ -1661,7 +1661,7 @@ static void
sh_do_pseudo_register (int regnum) sh_do_pseudo_register (int regnum)
{ {
if (regnum < NUM_REGS || regnum >= NUM_REGS + NUM_PSEUDO_REGS) 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 && else if (regnum >= NUM_REGS &&
regnum < gdbarch_tdep (current_gdbarch)->FV0_REGNUM) regnum < gdbarch_tdep (current_gdbarch)->FV0_REGNUM)
do_dr_register_info (regnum); do_dr_register_info (regnum);

View file

@ -217,7 +217,7 @@ td_err_string (td_err_e errcode)
{TD_NOAPLIC, "Operation not applicable to"}, {TD_NOAPLIC, "Operation not applicable to"},
{TD_NOTSD, "No thread specific data for this thread"}, {TD_NOTSD, "No thread specific data for this thread"},
{TD_MALLOC, "Malloc failed"}, {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"} {TD_NOXREGS, "X register set not available for given thread"}
}; };
const int td_err_size = sizeof td_err_table / sizeof (struct string_map); const int td_err_size = sizeof td_err_table / sizeof (struct string_map);

View file

@ -115,7 +115,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile,
There's nothing in the header which easily allows us to do 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 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 /* The code below is not a reliable way to check whether an
* executable is dynamic, so I commented it out - RT * executable is dynamic, so I commented it out - RT
* shlib_info = bfd_get_section_by_name (objfile->obfd, "$SHLIB_INFO$"); * shlib_info = bfd_get_section_by_name (objfile->obfd, "$SHLIB_INFO$");

View file

@ -3328,7 +3328,7 @@ decode_line_2 (struct symbol *sym_arr[], int nelts, int funfirstline,
num = atoi (args); num = atoi (args);
if (num == 0) if (num == 0)
error ("cancelled"); error ("canceled");
else if (num == 1) else if (num == 1)
{ {
if (canonical_arr) if (canonical_arr)

View file

@ -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)); printf_filtered ("Don't know LOC_UNRESOLVED %s\n", SYMBOL_NAME (sym));
break; break;
case LOC_OPTIMIZED_OUT: 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)); SYMBOL_NAME (sym));
break; break;
} }