diff options
author | Tom de Vries <tdevries@suse.de> | 2019-10-26 09:55:32 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-10-26 09:55:32 +0200 |
commit | 30baf67b6505d903bf678f9a0ba3645eb337ce49 (patch) | |
tree | 74390d021d1a425d2d92b1e0f3d8861290010bff /gdb/gdbserver | |
parent | 1cc3da765d24068ef9046c19c9d23b1e69e30f6e (diff) | |
download | gdb-30baf67b6505d903bf678f9a0ba3645eb337ce49.zip gdb-30baf67b6505d903bf678f9a0ba3645eb337ce49.tar.gz gdb-30baf67b6505d903bf678f9a0ba3645eb337ce49.tar.bz2 |
[gdb] Fix more typos in comments (2)
Fix typos in comments. NFC.
Tested on x86_64-linux.
gdb/ChangeLog:
2019-10-26 Tom de Vries <tdevries@suse.de>
* aarch64-linux-tdep.c: Fix typos in comments.
* aarch64-tdep.c: Same.
* ada-lang.c: Same.
* amd64-nat.c: Same.
* arc-tdep.c: Same.
* arch/aarch64-insn.c: Same.
* block.c: Same.
* breakpoint.h: Same.
* btrace.h: Same.
* c-varobj.c: Same.
* cli/cli-decode.c: Same.
* cli/cli-script.c: Same.
* cli/cli-utils.h: Same.
* coff-pe-read.c: Same.
* coffread.c: Same.
* compile/compile-cplus-symbols.c: Same.
* compile/compile-object-run.c: Same.
* completer.c: Same.
* corelow.c: Same.
* cp-support.c: Same.
* demangle.c: Same.
* dwarf-index-write.c: Same.
* dwarf2-frame.c: Same.
* dwarf2-frame.h: Same.
* eval.c: Same.
* frame-base.h: Same.
* frame.h: Same.
* gdbcmd.h: Same.
* gdbtypes.h: Same.
* gnu-nat.c: Same.
* guile/scm-objfile.c: Same.
* i386-tdep.c: Same.
* i386-tdep.h: Same.
* infcall.c: Same.
* infcall.h: Same.
* linux-nat.c: Same.
* m68k-tdep.c: Same.
* macroexp.c: Same.
* memattr.c: Same.
* mi/mi-cmd-disas.c: Same.
* mi/mi-getopt.h: Same.
* mi/mi-main.c: Same.
* minsyms.c: Same.
* nat/aarch64-sve-linux-sigcontext.h: Same.
* objfiles.h: Same.
* ppc-linux-nat.c: Same.
* ppc-linux-tdep.c: Same.
* ppc-tdep.h: Same.
* progspace.h: Same.
* prologue-value.h: Same.
* python/py-evtregistry.c: Same.
* python/py-instruction.h: Same.
* record-btrace.c: Same.
* record-full.c: Same.
* remote.c: Same.
* rs6000-tdep.c: Same.
* ser-tcp.c: Same.
* sol-thread.c: Same.
* sparc-sol2-tdep.c: Same.
* sparc64-tdep.c: Same.
* stabsread.c: Same.
* symfile.c: Same.
* symtab.h: Same.
* target.c: Same.
* tracepoint.c: Same.
* tui/tui-data.h: Same.
* tui/tui-io.c: Same.
* tui/tui-win.c: Same.
* tui/tui.c: Same.
* unittests/rsp-low-selftests.c: Same.
* user-regs.h: Same.
* utils.c: Same.
* utils.h: Same.
* valarith.c: Same.
* valops.c: Same.
* valprint.c: Same.
* valprint.h: Same.
* value.c: Same.
* value.h: Same.
* varobj.c: Same.
* x86-nat.h: Same.
* xtensa-tdep.c: Same.
gdb/gdbserver/ChangeLog:
2019-10-26 Tom de Vries <tdevries@suse.de>
* linux-aarch64-low.c: Fix typos in comments.
* linux-arm-low.c: Same.
* linux-low.c: Same.
* linux-ppc-low.c: Same.
* proc-service.c: Same.
* regcache.h: Same.
* server.c: Same.
* tracepoint.c: Same.
* win32-low.c: Same.
gdb/stubs/ChangeLog:
2019-10-26 Tom de Vries <tdevries@suse.de>
* ia64vms-stub.c: Fix typos in comments.
* m32r-stub.c: Same.
* m68k-stub.c: Same.
* sh-stub.c: Same.
gdb/testsuite/ChangeLog:
2019-10-26 Tom de Vries <tdevries@suse.de>
* gdb.base/bigcore.c: Fix typos in comments.
* gdb.base/ctf-ptype.c: Same.
* gdb.base/long_long.c: Same.
* gdb.dwarf2/dw2-op-out-param.S: Same.
* gdb.python/py-evthreads.c: Same.
* gdb.reverse/i387-stack-reverse.c: Same.
* gdb.trace/tfile.c: Same.
* lib/compiler.c: Same.
* lib/compiler.cc: Same.
Change-Id: I8573d84a577894270179ae30f46c48d806fc1beb
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 12 | ||||
-rw-r--r-- | gdb/gdbserver/linux-aarch64-low.c | 6 | ||||
-rw-r--r-- | gdb/gdbserver/linux-arm-low.c | 2 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 2 | ||||
-rw-r--r-- | gdb/gdbserver/linux-ppc-low.c | 2 | ||||
-rw-r--r-- | gdb/gdbserver/proc-service.c | 2 | ||||
-rw-r--r-- | gdb/gdbserver/regcache.h | 2 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 2 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 6 | ||||
-rw-r--r-- | gdb/gdbserver/win32-low.c | 4 |
10 files changed, 26 insertions, 14 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 5539479..d016549 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,15 @@ +2019-10-26 Tom de Vries <tdevries@suse.de> + + * linux-aarch64-low.c: Fix typos in comments. + * linux-arm-low.c: Same. + * linux-low.c: Same. + * linux-ppc-low.c: Same. + * proc-service.c: Same. + * regcache.h: Same. + * server.c: Same. + * tracepoint.c: Same. + * win32-low.c: Same. + 2019-10-25 Tom Tromey <tromey@adacore.com> * utils.c (xstrdup): Remove. diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c index ad04817..87a21a0 100644 --- a/gdb/gdbserver/linux-aarch64-low.c +++ b/gdb/gdbserver/linux-aarch64-low.c @@ -1948,7 +1948,7 @@ aarch64_install_fast_tracepoint_jump_pad (CORE_ADDR tpoint, for (i = 30; i >= 0; i -= 2) p += emit_stp_q_offset (p, i, i + 1, sp, i * 16); - /* Push general puspose registers on the stack. Note that we do not need + /* Push general purpose registers on the stack. Note that we do not need to push x31 as it represents the xzr register and not the stack pointer in a STR instruction. @@ -2116,7 +2116,7 @@ aarch64_install_fast_tracepoint_jump_pad (CORE_ADDR tpoint, ; This instruction is a normal store with memory ordering ; constraints. Thanks to this we do not have to put a data ; barrier instruction to make sure all data read and writes are done - ; before this instruction is executed. Furthermore, this instrucion + ; before this instruction is executed. Furthermore, this instruction ; will trigger an event, letting other threads know they can grab ; the lock. STLR xzr, [x0] @@ -2311,7 +2311,7 @@ aarch64_emit_prologue (void) the current stack pointer in the frame pointer. This way, it is not clobbered when calling C functions. - Finally, throughtout every operation, we are using register x0 as the + Finally, throughout every operation, we are using register x0 as the top of the stack, and x1 as a scratch register. */ p += emit_stp (p, x0, x1, sp, preindex_memory_operand (-2 * 16)); diff --git a/gdb/gdbserver/linux-arm-low.c b/gdb/gdbserver/linux-arm-low.c index 0e30af3..22b6be4 100644 --- a/gdb/gdbserver/linux-arm-low.c +++ b/gdb/gdbserver/linux-arm-low.c @@ -249,7 +249,7 @@ get_next_pcs_is_thumb (struct arm_get_next_pcs *self) return arm_is_thumb_mode (); } -/* Read memory from the inferiror. +/* Read memory from the inferior. BYTE_ORDER is ignored and there to keep compatiblity with GDB's read_memory_unsigned_integer. */ static ULONGEST diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 0e4b14e..d6b6ce7 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -1613,7 +1613,7 @@ linux_detach (process_info *process) complete_ongoing_step_over (); /* Stop all threads before detaching. First, ptrace requires that - the thread is stopped to sucessfully detach. Second, thread_db + the thread is stopped to successfully detach. Second, thread_db may need to uninstall thread event breakpoints from memory, which only works with a stopped process anyway. */ stop_all_lwps (0, NULL); diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c index c062282..d6c10c3 100644 --- a/gdb/gdbserver/linux-ppc-low.c +++ b/gdb/gdbserver/linux-ppc-low.c @@ -1588,7 +1588,7 @@ ppc_install_fast_tracepoint_jump_pad (CORE_ADDR tpoint, CORE_ADDR tpaddr, 6. Restore SP 7. Build a jump for back to the program 8. Copy/relocate original instruction - 9. Build a jump for replacing orignal instruction. */ + 9. Build a jump for replacing original instruction. */ /* Adjust stack pointer. */ if (is_64) diff --git a/gdb/gdbserver/proc-service.c b/gdb/gdbserver/proc-service.c index c5ebff2..512d6c6 100644 --- a/gdb/gdbserver/proc-service.c +++ b/gdb/gdbserver/proc-service.c @@ -21,7 +21,7 @@ #include "server.h" /* This file is currently tied to GNU/Linux. It should scale well to - another libthread_db implementation, with the approriate gdbserver + another libthread_db implementation, with the appropriate gdbserver hooks, but for now this means we can use GNU/Linux's target data. */ #include "linux-low.h" diff --git a/gdb/gdbserver/regcache.h b/gdb/gdbserver/regcache.h index d3a350a..4b2ea1b 100644 --- a/gdb/gdbserver/regcache.h +++ b/gdb/gdbserver/regcache.h @@ -42,7 +42,7 @@ struct regcache : public reg_buffer_common int registers_owned = 0; unsigned char *registers = nullptr; #ifndef IN_PROCESS_AGENT - /* One of REG_UNAVAILBLE or REG_VALID. */ + /* One of REG_UNAVAILABLE or REG_VALID. */ unsigned char *register_status = nullptr; #endif diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 25a2be8..59e8a55 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -79,7 +79,7 @@ static bool exit_requested; /* --once: Exit after the first connection has closed. */ bool run_once; -/* Whether to report TARGET_WAITKING_NO_RESUMED events. */ +/* Whether to report TARGET_WAITKIND_NO_RESUMED events. */ static bool report_no_resumed; bool non_stop; diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index 0d02639..2bd75df 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -1002,7 +1002,7 @@ EXTERN_C_POP /* Control structure holding the read/write/etc. pointers into the trace buffer. We need more than one of these to implement a - transaction-like mechanism to garantees that both GDBserver and the + transaction-like mechanism to guarantees that both GDBserver and the in-process agent can try to change the trace buffer simultaneously. */ @@ -5154,7 +5154,7 @@ traceframe_walk_blocks (unsigned char *database, unsigned int datasize, return NULL; } -/* Look for the block of type TYPE_WANTED in the trameframe starting +/* Look for the block of type TYPE_WANTED in the traceframe starting at DATABASE of DATASIZE bytes long. TFNUM is the traceframe number. */ @@ -6310,7 +6310,7 @@ download_trace_state_variables (void) into GDBserver's trace buffer. This always uploads either all or no trace frames. This is the counter part of `trace_alloc_trace_buffer'. See its description of the atomic - synching mechanism. */ + syncing mechanism. */ static void upload_fast_traceframes (void) diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c index 7088ba4..449ed5f 100644 --- a/gdb/gdbserver/win32-low.c +++ b/gdb/gdbserver/win32-low.c @@ -146,7 +146,7 @@ win32_set_thread_context (win32_thread_info *th) will often not be true. In those cases, the context returned by GetThreadContext will not be correct by the time the thread stops, hence we can't set that context back into the thread when - resuming - it will most likelly crash the inferior. + resuming - it will most likely crash the inferior. Unfortunately, there is no way to know when the thread will really stop. To work around it, we'll only write the context back to the thread when either the user or GDB explicitly change @@ -1426,7 +1426,7 @@ get_child_debug_event (struct target_waitstatus *ourstatus) else #endif { - /* Keep the wait time low enough for confortable remote + /* Keep the wait time low enough for comfortable remote interruption, but high enough so gdbserver doesn't become a bottleneck. */ if (!WaitForDebugEvent (¤t_event, 250)) |