From 33b5899fc0c31059377e9bdf76d889ff0c803ae1 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sat, 3 Jun 2023 22:43:57 +0200 Subject: [gdb] Fix typos Fix a few typos: - implemention -> implementation - convertion(s) -> conversion(s) - backlashes -> backslashes - signoring -> ignoring - (un)ambigious -> (un)ambiguous - occured -> occurred - hidding -> hiding - temporarilly -> temporarily - immediatelly -> immediately - sillyness -> silliness - similiar -> similar - porkuser -> pokeuser - thats -> that - alway -> always - supercede -> supersede - accomodate -> accommodate - aquire -> acquire - priveleged -> privileged - priviliged -> privileged - priviledges -> privileges - privilige -> privilege - recieve -> receive - (p)refered -> (p)referred - succesfully -> successfully - successfuly -> successfully - responsability -> responsibility - wether -> whether - wich -> which - disasbleable -> disableable - descriminant -> discriminant - construcstor -> constructor - underlaying -> underlying - underyling -> underlying - structureal -> structural - appearences -> appearances - terciarily -> tertiarily - resgisters -> registers - reacheable -> reachable - likelyhood -> likelihood - intepreter -> interpreter - disassemly -> disassembly - covnersion -> conversion - conviently -> conveniently - atttribute -> attribute - struction -> struct - resonable -> reasonable - popupated -> populated - namespaxe -> namespace - intialize -> initialize - identifer(s) -> identifier(s) - expection -> exception - exectuted -> executed - dungerous -> dangerous - dissapear -> disappear - completly -> completely - (inter)changable -> (inter)changeable - beakpoint -> breakpoint - automativ -> automatic - alocating -> allocating - agressive -> aggressive - writting -> writing - reguires -> requires - registed -> registered - recuding -> reducing - opeartor -> operator - ommitted -> omitted - modifing -> modifying - intances -> instances - imbedded -> embedded - gdbaarch -> gdbarch - exection -> execution - direcive -> directive - demanged -> demangled - decidely -> decidedly - argments -> arguments - agrument -> argument - amespace -> namespace - targtet -> target - supress(ed) -> suppress(ed) - startum -> stratum - squence -> sequence - prompty -> prompt - overlow -> overflow - memember -> member - languge -> language - geneate -> generate - funcion -> function - exising -> existing - dinking -> syncing - destroh -> destroy - clenaed -> cleaned - changep -> changedp (name of variable) - arround -> around - aproach -> approach - whould -> would - symobl -> symbol - recuse -> recurse - outter -> outer - freeds -> frees - contex -> context Tested on x86_64-linux. Reviewed-By: Tom Tromey --- gdbserver/ax.cc | 2 +- gdbserver/inferiors.h | 2 +- gdbserver/linux-arc-low.cc | 2 +- gdbserver/linux-csky-low.cc | 2 +- gdbserver/linux-ppc-low.cc | 2 +- gdbserver/mem-break.cc | 2 +- gdbserver/remote-utils.cc | 2 +- gdbserver/server.cc | 2 +- gdbserver/server.h | 2 +- gdbserver/tracepoint.cc | 2 +- gdbserver/win32-low.cc | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) (limited to 'gdbserver') diff --git a/gdbserver/ax.cc b/gdbserver/ax.cc index fba5b4a..abc2d1f 100644 --- a/gdbserver/ax.cc +++ b/gdbserver/ax.cc @@ -985,7 +985,7 @@ gdb_eval_agent_expr (struct eval_agent_expr_context *ctx, } /* Cache the stack top in its own variable. Much of the time we can - operate on this variable, rather than dinking with the stack. It + operate on this variable, rather than syncing with the stack. It needs to be copied to the stack when sp changes. */ top = 0; diff --git a/gdbserver/inferiors.h b/gdbserver/inferiors.h index a0ba990..813f632 100644 --- a/gdbserver/inferiors.h +++ b/gdbserver/inferiors.h @@ -70,7 +70,7 @@ struct process_info /* Private target data. */ struct process_info_private *priv = NULL; - /* DLLs thats are loaded for this proc. */ + /* DLLs that are loaded for this proc. */ std::list all_dlls; /* Flag to mark that the DLL list has changed. */ diff --git a/gdbserver/linux-arc-low.cc b/gdbserver/linux-arc-low.cc index f028847..e4ee149 100644 --- a/gdbserver/linux-arc-low.cc +++ b/gdbserver/linux-arc-low.cc @@ -221,7 +221,7 @@ arc_fill_gregset (struct regcache *regcache, void *buf) /* Currently ARC Linux ptrace doesn't allow writes to status32 because some of its bits are kernel mode-only and shoudn't be writable from user-space. Writing status32 from debugger could be useful, though, - so ability to write non-priviliged bits will be added to kernel + so ability to write non-privileged bits will be added to kernel sooner or later. */ /* BTA. */ diff --git a/gdbserver/linux-csky-low.cc b/gdbserver/linux-csky-low.cc index 809a4ed..3117556 100644 --- a/gdbserver/linux-csky-low.cc +++ b/gdbserver/linux-csky-low.cc @@ -278,7 +278,7 @@ static struct regsets_info csky_regsets_info = static struct regs_info csky_regs_info = { NULL, /* FIXME: what's this */ - NULL, /* PEEKUSER/PORKUSR isn't supported by kernel > 4.x */ + NULL, /* PEEKUSER/POKEUSR isn't supported by kernel > 4.x */ &csky_regsets_info }; diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc index f8dd770..86fbc8f 100644 --- a/gdbserver/linux-ppc-low.cc +++ b/gdbserver/linux-ppc-low.cc @@ -1872,7 +1872,7 @@ emit_insns (uint32_t *buf, int n) /* Regardless of endian, register 3 is always high part, 4 is low part. These defines are used when the register pair is stored/loaded. - Likewise, to simplify code, have a similiar define for 5:6. */ + Likewise, to simplify code, have a similar define for 5:6. */ #if __BYTE_ORDER == __LITTLE_ENDIAN #define TOP_FIRST "4" diff --git a/gdbserver/mem-break.cc b/gdbserver/mem-break.cc index c669842..897b9a2 100644 --- a/gdbserver/mem-break.cc +++ b/gdbserver/mem-break.cc @@ -70,7 +70,7 @@ software breakpoints, a buffer holding a copy of the instructions that would be in memory had not been a breakpoint there (we call that the shadow memory of the breakpoint). We occasionally need to - temporarilly uninsert a breakpoint without the client knowing about + temporarily uninsert a breakpoint without the client knowing about it (e.g., to step over an internal breakpoint), so we keep an `inserted' state associated with this low level breakpoint structure. There can only be one such object for a given address. diff --git a/gdbserver/remote-utils.cc b/gdbserver/remote-utils.cc index 80310bc..f54bbab 100644 --- a/gdbserver/remote-utils.cc +++ b/gdbserver/remote-utils.cc @@ -1198,7 +1198,7 @@ prepare_resume_reply (char *buf, ptid_t ptid, const target_waitstatus &status) we would not burden it with a thread status response. This was for the benefit of GDB 4.13 and older. However, in recent GDB versions the check (``if (cont_thread != 0)'') - does not have the desired effect because of sillyness in + does not have the desired effect because of silliness in the way that the remote protocol handles specifying a thread. Since thread support relies on qSymbol support anyway, assume GDB can handle threads. */ diff --git a/gdbserver/server.cc b/gdbserver/server.cc index 949849b..c572701 100644 --- a/gdbserver/server.cc +++ b/gdbserver/server.cc @@ -3197,7 +3197,7 @@ handle_v_requests (char *own_buf, int packet_len, int *new_packet_len) } /* Resume thread and wait for another event. In non-stop mode, - don't really wait here, but return immediatelly to the event + don't really wait here, but return immediately to the event loop. */ static void myresume (char *own_buf, int step, int sig) diff --git a/gdbserver/server.h b/gdbserver/server.h index 730ec14..fde7dfe 100644 --- a/gdbserver/server.h +++ b/gdbserver/server.h @@ -102,7 +102,7 @@ extern int in_queued_stop_replies (ptid_t ptid); #define MAXBUFBYTES(N) (((N)-32)/2) /* Buffer sizes for transferring memory, registers, etc. Set to a constant - value to accomodate multiple register formats. This value must be at least + value to accommodate multiple register formats. This value must be at least as large as the largest register set supported by gdbserver. */ #define PBUFSIZ 18432 diff --git a/gdbserver/tracepoint.cc b/gdbserver/tracepoint.cc index 125a384..1f31e0c 100644 --- a/gdbserver/tracepoint.cc +++ b/gdbserver/tracepoint.cc @@ -6338,7 +6338,7 @@ upload_fast_traceframes (void) unsigned int prev, counter; /* Update the token, with new counters, and the GDBserver stamp - bit. Alway reuse the current TBC index. */ + bit. Always reuse the current TBC index. */ prev = ipa_trace_buffer_ctrl_curr & GDBSERVER_FLUSH_COUNT_MASK_CURR; counter = (prev + 0x100) & GDBSERVER_FLUSH_COUNT_MASK_CURR; diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc index 7565077..3246957 100644 --- a/gdbserver/win32-low.cc +++ b/gdbserver/win32-low.cc @@ -1039,7 +1039,7 @@ get_child_debug_event (DWORD *continue_status, if (e == ERROR_PIPE_NOT_CONNECTED) { - /* This will happen if the loader fails to succesfully + /* This will happen if the loader fails to successfully load the application, e.g., if the main executable tries to pull in a non-existing export from a DLL. */ -- cgit v1.1