From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed] [gdb] Fix typo setup -> set up
Date: Wed, 25 Nov 2026 21:04:14 +0100 [thread overview]
Message-ID: <20261125200414.2252930-1-tdevries@suse.de> (raw)
Fix typo:
- setup -> set up
---
gdb/aarch64-linux-tdep.c | 4 ++--
gdb/amd64-tdep.c | 4 ++--
gdb/avr-tdep.c | 2 +-
gdb/bfin-tdep.c | 2 +-
gdb/coffread.c | 4 ++--
gdb/completer.c | 4 ++--
gdb/corelow.c | 6 +++---
gdb/disasm.c | 2 +-
gdb/disasm.h | 2 +-
gdb/doc/gdb.texinfo | 2 +-
gdb/elfread.c | 4 ++--
gdb/f-exp-parser.h | 2 +-
gdb/h8300-tdep.c | 4 ++--
gdb/i386-tdep.c | 4 ++--
gdb/ia64-tdep.h | 2 +-
gdb/infcall.c | 6 +++---
gdb/infcmd.c | 2 +-
gdb/inferior.c | 2 +-
gdb/infrun.c | 2 +-
gdb/linespec.c | 4 ++--
gdb/linux-nat.c | 2 +-
gdb/lm32-tdep.c | 4 ++--
gdb/m68hc11-tdep.c | 2 +-
gdb/m68k-tdep.c | 2 +-
gdb/machoread.c | 2 +-
gdb/mips-netbsd-tdep.c | 2 +-
gdb/nat/aarch64-linux-hw-point.c | 2 +-
gdb/ppc-linux-tdep.c | 2 +-
gdb/python/py-connection.c | 2 +-
gdb/python/python-internal.h | 4 ++--
gdb/remote.c | 8 ++++----
gdb/riscv-tdep.c | 10 +++++-----
gdb/rs6000-tdep.c | 2 +-
gdb/sh-tdep.c | 4 ++--
gdb/symtab.c | 2 +-
gdb/testsuite/README | 4 ++--
gdb/testsuite/gdb.ada/scoped_watch.exp | 2 +-
gdb/testsuite/gdb.ada/watch_arg.exp | 2 +-
gdb/testsuite/gdb.ada/watch_minus_l.exp | 2 +-
gdb/testsuite/gdb.base/infcall-failure.exp | 4 ++--
gdb/testsuite/gdb.debuginfod/crc_mismatch.exp | 2 +-
.../gdb.debuginfod/fetch_src_and_symbols.exp | 2 +-
.../gdb.dwarf2/dw2-symtab-includes-lookup.exp | 2 +-
gdb/testsuite/gdb.multi/multi-remote-target.exp | 4 ++--
gdb/testsuite/gdb.reverse/finish-reverse-next.c | 2 +-
gdb/testsuite/lib/gdb.exp | 2 +-
gdb/tid-parse.c | 2 +-
gdb/tui/tui-io.c | 10 +++++-----
gdb/tui/tui-io.h | 2 +-
gdb/tui/tui-winsource.c | 2 +-
gdb/tui/tui.c | 4 ++--
gdb/v850-tdep.c | 6 +++---
gdb/value.h | 10 +++++-----
gdb/xcoffread.c | 2 +-
gdb/xstormy16-tdep.c | 2 +-
gdbserver/linux-aarch64-low.cc | 2 +-
gdbserver/linux-ppc-low.cc | 14 +++++++-------
gdbserver/mem-break.cc | 2 +-
gdbserver/server.cc | 2 +-
59 files changed, 101 insertions(+), 101 deletions(-)
diff --git a/gdb/aarch64-linux-tdep.c b/gdb/aarch64-linux-tdep.c
index 85e617565d3..ae3ec028cf4 100644
--- a/gdb/aarch64-linux-tdep.c
+++ b/gdb/aarch64-linux-tdep.c
@@ -99,7 +99,7 @@
+------------+
On signal delivery, the kernel will create a signal handler stack
- frame and setup the return address in LR to point at restorer stub.
+ frame and set up the return address in LR to point at restorer stub.
The signal stack frame is defined by:
struct rt_sigframe
@@ -1618,7 +1618,7 @@ aarch64_linux_iterate_over_regset_sections (struct gdbarch *gdbarch,
if (tdep->has_sme ())
{
- /* Setup the register set information for a ZA register set core
+ /* Set up the register set information for a ZA register set core
dump. */
/* Create this on the fly in order to handle the ZA register size. */
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 60c89bf5e7f..ccf31f39155 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -3018,7 +3018,7 @@ amd64_frame_cache_1 (const frame_info_ptr &this_frame,
{
/* We didn't find a valid frame. If we're at the start of a
function, or somewhere half-way its prologue, the function's
- frame probably hasn't been fully setup yet. Try to
+ frame probably hasn't been fully set up yet. Try to
reconstruct the base address for the stack frame by looking
at the stack pointer. For truly "frameless" functions this
might work too. */
@@ -4174,7 +4174,7 @@ amd64_supply_xsave (struct regcache *regcache, int regnum,
/* If the FISEG and FOSEG registers have not been initialised yet
(their CLEAR_BV bit is set) then their default values of zero will
- have already been setup by I387_SUPPLY_XSAVE. */
+ have already been set up by I387_SUPPLY_XSAVE. */
if (!(clear_bv & X86_XSTATE_X87))
{
if (regnum == -1 || regnum == I387_FISEG_REGNUM (tdep))
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index 95726d3eb0f..9485d6f63f9 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -1223,7 +1223,7 @@ pop_stack_item (struct avr_stack_item *si)
return si;
}
-/* Setup the function arguments for calling a function in the inferior.
+/* Set up the function arguments for calling a function in the inferior.
On the AVR architecture, there are 18 registers (R25 to R8) which are
dedicated for passing function arguments. Up to the first 18 arguments
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index a2094044beb..8ca397f802c 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -549,7 +549,7 @@ bfin_push_dummy_call (struct gdbarch *gdbarch,
regcache_cooked_write_unsigned (regcache, BFIN_P0_REGNUM, struct_addr);
/* Set the dummy return value to bp_addr.
- A dummy breakpoint will be setup to execute the call. */
+ A dummy breakpoint will be set up to execute the call. */
regcache_cooked_write_unsigned (regcache, BFIN_RETS_REGNUM, bp_addr);
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 6319d91da32..7b67fe42a11 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -658,8 +658,8 @@ coff_reader::getsymname (struct internal_syment *symbol_entry)
static const struct sym_fns coff_sym_fns =
{
- [] (objfile *) { }, /* sym_init: read initial info, setup
- for sym_read() */
+ [] (objfile *) { }, /* sym_init: read initial info, set up
+ for sym_read () */
coff_symfile_read, /* sym_read: read a symbol file into
symtab */
default_symfile_offsets, /* sym_offsets: xlate external to
diff --git a/gdb/completer.c b/gdb/completer.c
index 09b1c8054d3..d2ea0e9090c 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -3504,12 +3504,12 @@ skip_over_slash_fmt (completion_tracker &tracker, const char **args)
INIT_GDB_FILE (completer)
{
- /* Setup some readline completion globals. */
+ /* Set up some readline completion globals. */
rl_completion_word_break_hook = gdb_completion_word_break_characters;
rl_attempted_completion_function = gdb_rl_attempted_completion_function;
set_rl_completer_word_break_characters (default_word_break_characters ());
- /* Setup readline globals relating to filename completion. */
+ /* Set up readline globals relating to filename completion. */
rl_filename_quote_characters = " \t\n\\\"'";
rl_filename_dequoting_function = gdb_completer_file_name_dequote;
rl_filename_quoting_function = gdb_completer_file_name_quote;
diff --git a/gdb/corelow.c b/gdb/corelow.c
index 081fbe96023..c4396b0f702 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -360,7 +360,7 @@ core_target::core_target (gdb_bfd_ref_ptr cbfd_ref)
: m_core_bfd (std::move (cbfd_ref))
{
/* Find a first arch based on the BFD. We need the initial gdbarch so
- we can setup the hooks to find a target description. */
+ we can set up the hooks to find a target description. */
m_core_gdbarch = gdbarch_from_bfd (this->core_bfd ());
/* If the arch is able to read a target description from the core, it
@@ -2041,11 +2041,11 @@ mapped_file_info::add (const char *soname,
gdb_assert (inserted);
}
- /* Setup the reverse build-id to file name map. */
+ /* Set up the reverse build-id to file name map. */
if (actual_filename != nullptr)
m_build_id_to_filename_map.emplace (build_id, actual_filename);
- /* Setup the list of memory range to build-id objects. */
+ /* Set up the list of memory range to build-id objects. */
for (mem_range &r : ranges)
m_address_to_build_id_list.emplace_back (std::move (r), build_id);
diff --git a/gdb/disasm.c b/gdb/disasm.c
index 6ad16c9dcb2..abf362460bc 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -1213,7 +1213,7 @@ gdb_non_printing_disassembler::null_fprintf_styled_func
}
/* A non-printing disassemble_info management class. The disassemble_info
- setup by this class will not print anything to the output stream (there
+ set up by this class will not print anything to the output stream (there
is no output stream), and the instruction to be disassembled will be
read from a buffer passed to the constructor. */
diff --git a/gdb/disasm.h b/gdb/disasm.h
index 57195564ca8..5b8e837840b 100644
--- a/gdb/disasm.h
+++ b/gdb/disasm.h
@@ -220,7 +220,7 @@ struct gdb_disassembler_memory_reader
};
/* A non-printing disassemble_info management class. The disassemble_info
- setup by this class will not print anything to the output stream (there
+ set up by this class will not print anything to the output stream (there
is no output stream), and the instruction to be disassembled will be
read from target memory. */
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 78458054c21..d8942a51359 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -22642,7 +22642,7 @@ colons:
@end smallexample
This makes it possible to have a system root that mirrors a target
-with more than one drive. E.g., you may want to setup your local
+with more than one drive. E.g., you may want to set up your local
copies of the target system shared libraries like so (note @samp{c} vs
@samp{z}):
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 0a738aa6335..cb213291841 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -220,7 +220,7 @@ record_minimal_symbol (minimal_symbol_reader &reader,
= unrelocated_addr (gdbarch_addr_bits_remove (gdbarch,
CORE_ADDR (address)));
- /* We only setup section information for allocatable sections. Usually
+ /* We only set up section information for allocatable sections. Usually
we'd only expect to find msymbols for allocatable sections, but if the
ELF is malformed then this might not be the case. In that case don't
create an msymbol that references an uninitialised section object. */
@@ -1337,7 +1337,7 @@ static const struct sym_probe_fns elf_probe_fns =
static const struct sym_fns elf_sym_fns =
{
- elf_symfile_init, /* read initial info, setup for sym_read() */
+ elf_symfile_init, /* read initial info, set up for sym_read () */
elf_symfile_read, /* read a symbol file into symtab */
default_symfile_offsets, /* Translate ext. to int. relocation */
elf_symfile_segments, /* Get segment information from a file. */
diff --git a/gdb/f-exp-parser.h b/gdb/f-exp-parser.h
index 8f504b6e8a8..a8ef49b8d93 100644
--- a/gdb/f-exp-parser.h
+++ b/gdb/f-exp-parser.h
@@ -69,7 +69,7 @@ void wrap_ternop_intrinsic (exp_opcode opcode);
int parse_number (struct parser_state *par_state, const char *p, int len,
int parsed_float, f_exp_parser_YYSTYPE *putithere);
-/* Called to setup the type stack when we encounter a '(kind=N)' type
+/* Called to set up the type stack when we encounter a '(kind=N)' type
modifier, performs some bounds checking on 'N' and then pushes this to
the type stack followed by the 'tp_kind' marker. */
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index 084b7adc170..cb348d8cf35 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -440,7 +440,7 @@ h8300_frame_cache (const frame_info_ptr &this_frame, void **this_cache)
currently holds the frame pointer for our calling frame. If
we're at the start of a function, or somewhere half-way its
prologue, the function's frame probably hasn't been fully
- setup yet. Try to reconstruct the base address for the stack
+ set up yet. Try to reconstruct the base address for the stack
frame by looking at the stack pointer. For truly "frameless"
functions this might work too. */
@@ -550,7 +550,7 @@ h8300_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
}
/* Function: push_dummy_call
- Setup the function arguments for calling a function in the inferior.
+ Set up the function arguments for calling a function in the inferior.
In this discussion, a `word' is 16 bits on the H8/300s, and 32 bits
on the H8/300H.
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index ff9ccf8afa9..ae2a3e6345d 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -1383,7 +1383,7 @@ i386_match_insn_block (CORE_ADDR pc, struct i386_insn *insn_patterns)
/* Some special instructions that might be migrated by GCC into the
part of the prologue that sets up the new stack frame. Because the
- stack frame hasn't been setup yet, no registers have been saved
+ stack frame hasn't been set up yet, no registers have been saved
yet, and only the scratch registers %eax, %ecx and %edx can be
touched. */
@@ -1933,7 +1933,7 @@ i386_frame_cache_1 (const frame_info_ptr &this_frame,
currently holds the frame pointer for our calling frame. If
we're at the start of a function, or somewhere half-way its
prologue, the function's frame probably hasn't been fully
- setup yet. Try to reconstruct the base address for the stack
+ set up yet. Try to reconstruct the base address for the stack
frame by looking at the stack pointer. For truly "frameless"
functions this might work too. */
diff --git a/gdb/ia64-tdep.h b/gdb/ia64-tdep.h
index 1548060fdb2..cc9439bbcf7 100644
--- a/gdb/ia64-tdep.h
+++ b/gdb/ia64-tdep.h
@@ -205,7 +205,7 @@ class frame_info_ptr;
struct regcache;
/* A struct containing pointers to all the target-dependent operations
- performed to setup an inferior function call. */
+ performed to set up an inferior function call. */
struct ia64_infcall_ops
{
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 5f27f5ad259..54d07c58d47 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -722,7 +722,7 @@ call_thread_fsm::should_notify_stop ()
during an inferior call. */
struct infcall_timer_controller
{
- /* Setup an event-loop timer that will interrupt PTID if the inferior
+ /* Set up an event-loop timer that will interrupt PTID if the inferior
call takes too long. DIRECT_CALL_P is true when this inferior call is
a result of the user using a 'print' or 'call' command, and false when
this inferior call is a result of e.g. a conditional breakpoint
@@ -863,7 +863,7 @@ run_inferior_call (std::unique_ptr<call_thread_fsm> sm,
infrun_debug_show_threads ("non-exited threads after proceed for inferior-call",
all_non_exited_threads ());
- /* Setup a timer (if possible, and if the settings allow) to prevent
+ /* Set up a timer (if possible, and if the settings allow) to prevent
the inferior call running forever. */
bool direct_call_p = !call_thread->control.in_cond_eval;
infcall_timer_controller infcall_timer (call_thread, direct_call_p);
@@ -1563,7 +1563,7 @@ call_function_by_hand_dummy (struct value *function,
/* The stopped_by_random_signal variable is global. If we are here
as part of a breakpoint condition check then the global will have
- already been setup as part of the original breakpoint stop. By
+ already been set up as part of the original breakpoint stop. By
making the inferior call the global will be changed when GDB
handles the stop after the inferior call. Avoid confusion by
restoring the current value after the inferior call. */
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 6592d1b3299..dce88e3acf4 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1021,7 +1021,7 @@ step_1 (int skip_subroutines, int single_inst, const char *count_string)
clear_proceed_status (1);
- /* Setup the execution command state machine to handle all the COUNT
+ /* Set up the execution command state machine to handle all the COUNT
steps. */
thr = inferior_thread ();
step_sm = new step_command_fsm (command_interp ());
diff --git a/gdb/inferior.c b/gdb/inferior.c
index 6f63c602050..753808e8b7b 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -910,7 +910,7 @@ add_inferior_with_spaces (void)
inf->pspace = pspace;
inf->aspace = pspace->aspace;
- /* Setup the inferior's initial arch, based on information obtained
+ /* Set up the inferior's initial arch, based on information obtained
from the global "set ..." options. */
gdbarch_info info;
inf->set_arch (gdbarch_find_by_info (info));
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 82c685583ec..5c31daa15dc 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2413,7 +2413,7 @@ set_schedlock_func (const char *args, int from_tty, struct cmd_list_element *c)
process. */
bool sched_multi = false;
-/* Try to setup for software single stepping. Return true if target_resume()
+/* Try to set up for software single stepping. Return true if target_resume()
should use hardware single step.
GDBARCH the current gdbarch. */
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 95ad0b048d2..a01fd417311 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1650,7 +1650,7 @@ linespec_parse_line_offset (const char *string)
/* In completion mode, if the user is still typing the number, there's
no possible completion to offer. But if there's already input past
- the number, setup to expect NEXT. */
+ the number, set up to expect NEXT. */
static void
set_completion_after_number (linespec_parser *parser,
@@ -2638,7 +2638,7 @@ parse_linespec (linespec_parser *parser, const char *arg,
unexpected_linespec_error (parser);
else if (token.type == LSTOKEN_KEYWORD)
{
- /* Setup the completion word past the keyword. Lexing never
+ /* Set up the completion word past the keyword. Lexing never
advances past a keyword automatically, so skip it
manually. */
parser->completion_word
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index ab9f6ade55d..30718ce6a4a 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -4682,7 +4682,7 @@ maintenance_info_lwps (const char *arg, int from_tty)
for (lwp_info &lp : all_lwps ())
ptid_width = std::max (ptid_width, lp.ptid.to_string ().size ());
- /* Setup the table headers. */
+ /* Set up the table headers. */
struct ui_out *uiout = current_uiout;
ui_out_emit_table table_emitter (uiout, 2, -1, "linux-lwps");
uiout->table_header (ptid_width, ui_left, "lwp-ptid", _("LWP Ptid"));
diff --git a/gdb/lm32-tdep.c b/gdb/lm32-tdep.c
index 2e2ca4d21d3..f2773b805ff 100644
--- a/gdb/lm32-tdep.c
+++ b/gdb/lm32-tdep.c
@@ -210,7 +210,7 @@ constexpr gdb_byte lm32_break_insn[4] = { OP_RAISE << 2, 0, 0, 2 };
using lm32_breakpoint = BP_MANIPULATION (lm32_break_insn);
-/* Setup registers and stack for faking a call to a function in the
+/* Set up registers and stack for faking a call to a function in the
inferior. */
static CORE_ADDR
@@ -238,7 +238,7 @@ lm32_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
sp -= 4;
}
- /* Setup parameters. */
+ /* Set up parameters. */
for (i = 0; i < nargs; i++)
{
struct value *arg = args[i];
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index 9ec8cebd9f4..6c36aee83c1 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -444,7 +444,7 @@ enum m6811_seq_type
{
P_LAST = 0,
P_SAVE_REG, /* Save a register on the stack. */
- P_SET_FRAME, /* Setup the frame pointer. */
+ P_SET_FRAME, /* Set up the frame pointer. */
P_LOCAL_1, /* Allocate 1 byte for locals. */
P_LOCAL_2, /* Allocate 2 bytes for locals. */
P_LOCAL_N /* Allocate N bytes for locals. */
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index 71bd0bd9338..45fbbb99462 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -952,7 +952,7 @@ m68k_frame_cache (const frame_info_ptr &this_frame, void **this_cache)
currently holds the frame pointer for our calling frame. If
we're at the start of a function, or somewhere half-way its
prologue, the function's frame probably hasn't been fully
- setup yet. Try to reconstruct the base address for the stack
+ set up yet. Try to reconstruct the base address for the stack
frame by looking at the stack pointer. For truly "frameless"
functions this might work too. */
diff --git a/gdb/machoread.c b/gdb/machoread.c
index 7fb5444829c..e96f9504fe6 100644
--- a/gdb/machoread.c
+++ b/gdb/machoread.c
@@ -919,7 +919,7 @@ macho_symfile_offsets (struct objfile *objfile,
}
static const struct sym_fns macho_sym_fns = {
- macho_symfile_init, /* read initial info, setup for sym_read() */
+ macho_symfile_init, /* read initial info, set up for sym_read () */
macho_symfile_read, /* read a symbol file into symtab */
macho_symfile_offsets, /* xlate external to internal form */
default_symfile_segments, /* Get segment information from a file. */
diff --git a/gdb/mips-netbsd-tdep.c b/gdb/mips-netbsd-tdep.c
index a5bcde20e46..671f02c0527 100644
--- a/gdb/mips-netbsd-tdep.c
+++ b/gdb/mips-netbsd-tdep.c
@@ -242,7 +242,7 @@ static const unsigned char sigtramp_retcode_mipseb[RETCODE_SIZE] =
#endif
/* Figure out where the longjmp will land. We expect that we have
- just entered longjmp and haven't yet setup the stack frame, so the
+ just entered longjmp and haven't yet set up the stack frame, so the
args are still in the argument regs. MIPS_A0_REGNUM points at the
jmp_buf structure from which we extract the PC that we will land
at. The PC is copied into *pc. This routine returns true on
diff --git a/gdb/nat/aarch64-linux-hw-point.c b/gdb/nat/aarch64-linux-hw-point.c
index b4d74ab8dc2..c8a9c4e64be 100644
--- a/gdb/nat/aarch64-linux-hw-point.c
+++ b/gdb/nat/aarch64-linux-hw-point.c
@@ -115,7 +115,7 @@ aarch64_notify_debug_reg_change (ptid_t ptid,
KERNEL_SUPPORTS_ANY_CONTIGUOUS_RANGE transitions to false. Note we
don't try to support combining watchpoints with matching (and thus
shared) masks, as it's too late when we get here. On buggy
- kernels, GDB will try to first setup the perfect matching ranges,
+ kernels, GDB will try to first set up the perfect matching ranges,
which will run out of registers before this function can merge
them. It doesn't look like worth the effort to improve that, given
eventually buggy kernels will be phased out. */
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index 53baebdf080..9fb3757d529 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -2418,7 +2418,7 @@ ppc_linux_init_abi (struct gdbarch_info info,
ppc_init_linux_record_tdep (&ppc_linux_record_tdep, 4);
ppc_init_linux_record_tdep (&ppc64_linux_record_tdep, 8);
- /* Setup displaced stepping. */
+ /* Set up displaced stepping. */
set_gdbarch_displaced_step_prepare (gdbarch,
ppc_linux_displaced_step_prepare);
diff --git a/gdb/python/py-connection.c b/gdb/python/py-connection.c
index 8e771f620a1..ab059f6e35c 100644
--- a/gdb/python/py-connection.c
+++ b/gdb/python/py-connection.c
@@ -308,7 +308,7 @@ struct py_send_packet_callbacks : public send_remote_packet_callbacks
/* Return the resulting Python object. It is invalid to call this
before sending a packet to the remote and processing the reply.
- The result value is setup in the RECEIVED call above. */
+ The result value is set up in the RECEIVED call above. */
gdbpy_ref<> &&result ()
{
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index b28950e93a4..f515bfc6d3b 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -659,8 +659,8 @@ extern struct program_space *progspace_object_to_program_space (PyObject *obj);
class gdbpy_initialize_file
{
- /* The type of a function that can be called just after GDB has setup the
- Python interpreter. This function will setup any additional Python
+ /* The type of a function that can be called just after GDB has set up the
+ Python interpreter. This function will set up any additional Python
state required by a particular subsystem. Return 0 if the setup was
successful, or return -1 if setup failed, in which case a Python
exception should have been raised. */
diff --git a/gdb/remote.c b/gdb/remote.c
index abe6cf6d4be..689e083a369 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -4197,7 +4197,7 @@ remote_target::remote_threadlist_iterator (rmt_thread_action stepfunction,
break;
/* Clear for later iterations. */
startflag = 0;
- /* Setup to resume next batch of thread references, set nextthread. */
+ /* Set up to resume next batch of thread references, set nextthread. */
if (result_count >= 1)
copy_threadref (&rs->nextthread,
&rs->resultthreadlist[result_count - 1]);
@@ -5223,7 +5223,7 @@ remote_target::process_initial_stop_replies (int from_tty)
}
/* If all threads of an inferior were already stopped, we
- haven't setup the inferior yet. */
+ haven't set up the inferior yet. */
for (inferior *inf : all_non_exited_inferiors (this))
{
if (inf->needs_setup)
@@ -5344,7 +5344,7 @@ get_semicolon_delimited_hex_as_string (const char **ptr)
remote_exec_and_args_info
remote_target::fetch_remote_executable_and_arguments ()
{
- /* Setup some constants. This helps keep the return lines shorter in the
+ /* Set up some constants. This helps keep the return lines shorter in the
rest of this function. */
constexpr remote_exec_and_args_info::state UNKNOWN
= remote_exec_and_args_info::state::UNKNOWN;
@@ -16507,7 +16507,7 @@ test_memory_tagging_functions ()
config->support = PACKET_ENABLE;
SELF_CHECK (remote.supports_memory_tagging () == true);
- /* Setup testing. */
+ /* Set up testing. */
gdb::char_vector packet;
gdb::byte_vector tags, bv;
std::string expected, reply;
diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c
index 1da804710a5..731d3728742 100644
--- a/gdb/riscv-tdep.c
+++ b/gdb/riscv-tdep.c
@@ -1090,7 +1090,7 @@ riscv_fpreg_d_type (struct gdbarch *gdbarch)
}
/* Implement the register_type gdbarch method. This is installed as an
- for the override setup by TDESC_USE_REGISTERS, for most registers we
+ for the override set up by TDESC_USE_REGISTERS, for most registers we
delegate the type choice to the target description, but for a few
registers we try to improve the types if the target description has
taken a simplistic approach. */
@@ -3579,7 +3579,7 @@ riscv_push_dummy_call (struct gdbarch *gdbarch,
}
/* Set the dummy return value to bp_addr.
- A dummy breakpoint will be setup to execute the call. */
+ A dummy breakpoint will be set up to execute the call. */
riscv_infcall_debug_printf ("writing $ra = %s",
core_addr_to_string (bp_addr));
@@ -4399,12 +4399,12 @@ riscv_gdbarch_init (struct gdbarch_info info,
set_gdbarch_num_pseudo_regs (gdbarch, num_pseudo_regs);
- /* Override the register type callback setup by the target description
+ /* Override the register type callback set up by the target description
mechanism. This allows us to provide special type for floating point
registers. */
set_gdbarch_register_type (gdbarch, riscv_register_type);
- /* Override the register name callback setup by the target description
+ /* Override the register name callback set up by the target description
mechanism. This allows us to force our preferred names for the
registers, no matter what the target description called them. */
set_gdbarch_register_name (gdbarch, riscv_register_name);
@@ -4412,7 +4412,7 @@ riscv_gdbarch_init (struct gdbarch_info info,
/* Tell GDB which RISC-V registers are read-only. */
set_gdbarch_cannot_store_register (gdbarch, riscv_cannot_store_register);
- /* Override the register group callback setup by the target description
+ /* Override the register group callback set up by the target description
mechanism. This allows us to force registers into the groups we
want, ignoring what the target tells us. */
set_gdbarch_register_reggroup_p (gdbarch, riscv_register_reggroup_p);
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index b626f5046fc..9fe0823befb 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -8441,7 +8441,7 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Frame handling. */
dwarf2_frame_set_init_reg (gdbarch, ppc_dwarf2_frame_init_reg);
- /* Setup displaced stepping. */
+ /* Set up displaced stepping. */
set_gdbarch_displaced_step_copy_insn (gdbarch,
ppc_displaced_step_copy_insn);
set_gdbarch_displaced_step_hw_singlestep (gdbarch,
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 8ef2ae5e7da..59fed7222d8 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -821,7 +821,7 @@ sh_frame_align (struct gdbarch *ignore, CORE_ADDR sp)
}
/* Function: push_dummy_call (formerly push_arguments)
- Setup the function arguments for calling a function in the inferior.
+ Set up the function arguments for calling a function in the inferior.
On the Renesas SH architecture, there are four registers (R4 to R7)
which are dedicated for passing function arguments. Up to the first
@@ -1891,7 +1891,7 @@ sh_frame_cache (const frame_info_ptr &this_frame, void **this_cache)
currently holds the frame pointer for our calling frame. If
we're at the start of a function, or somewhere half-way its
prologue, the function's frame probably hasn't been fully
- setup yet. Try to reconstruct the base address for the stack
+ set up yet. Try to reconstruct the base address for the stack
frame by looking at the stack pointer. For truly "frameless"
functions this might work too. */
cache->base = get_frame_register_unsigned
diff --git a/gdb/symtab.c b/gdb/symtab.c
index dc40fbfadf6..058de4248d5 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -4249,7 +4249,7 @@ info_sources_filter::info_sources_filter (match_on match_type,
: m_match_type (match_type),
m_regexp (regexp)
{
- /* Setup the compiled regular expression M_C_REGEXP based on M_REGEXP. */
+ /* Set up the compiled regular expression M_C_REGEXP based on M_REGEXP. */
if (m_regexp != nullptr && *m_regexp != '\0')
{
gdb_assert (m_regexp != nullptr);
diff --git a/gdb/testsuite/README b/gdb/testsuite/README
index f354144b872..9f0fec45597 100644
--- a/gdb/testsuite/README
+++ b/gdb/testsuite/README
@@ -352,7 +352,7 @@ both of which the current user can ssh to without a password.
These users will be used by board files that simulate remote targets
by switching to a different user on the same machine. These users
will have random files copied into their $HOME directories, so it is a
-good idea to setup new users just for this purpose.
+good idea to set up new users just for this purpose.
Testing All Simple Boards
*************************
@@ -375,7 +375,7 @@ The 'remote-target' and 'remote-host' can be replaced with any user
names on the local machine, the only requirements are that the current
user must be able to ssh to these users without a password, and these
users must be happy to have arbitrary files copied into their $HOME
-directory. Ideally, these users would be setup just for GDB testing.
+directory. Ideally, these users would be set up just for GDB testing.
The check-all-boards target requires that TESTS be defined, though it
is fine to include multiple tests.
diff --git a/gdb/testsuite/gdb.ada/scoped_watch.exp b/gdb/testsuite/gdb.ada/scoped_watch.exp
index 67737ae5aee..122842cafc7 100644
--- a/gdb/testsuite/gdb.ada/scoped_watch.exp
+++ b/gdb/testsuite/gdb.ada/scoped_watch.exp
@@ -54,7 +54,7 @@ gdb_test "cont" \
"continuing to watchpoint hit"
# Continue again. We should be stopped at the (internal) breakpoint
-# that we setup to delete the watchpoint as soon as the program leaves
+# that we set up to delete the watchpoint as soon as the program leaves
# the current scope.
gdb_test \
diff --git a/gdb/testsuite/gdb.ada/watch_arg.exp b/gdb/testsuite/gdb.ada/watch_arg.exp
index 6a767d0be92..d81ac8e47e6 100644
--- a/gdb/testsuite/gdb.ada/watch_arg.exp
+++ b/gdb/testsuite/gdb.ada/watch_arg.exp
@@ -41,7 +41,7 @@ gdb_test "break watch.adb:$bp_location" \
"insert second breakpoint in watch.adb"
# Continue again. We should be stopped at the (internal) breakpoint
-# that we setup to delete the watchpoint as soon as the program leaves
+# that we set up to delete the watchpoint as soon as the program leaves
# the watchpoint scope.
gdb_test \
diff --git a/gdb/testsuite/gdb.ada/watch_minus_l.exp b/gdb/testsuite/gdb.ada/watch_minus_l.exp
index 19c6af1ab53..8d685fcc956 100644
--- a/gdb/testsuite/gdb.ada/watch_minus_l.exp
+++ b/gdb/testsuite/gdb.ada/watch_minus_l.exp
@@ -34,7 +34,7 @@ gdb_test "watch -location pck.global_var" \
".*atchpoint ${::decimal}: -location pck.global_var"
# Continue again. We should be stopped at the (internal) breakpoint
-# that we setup to delete the watchpoint as soon as the program leaves
+# that we set up to delete the watchpoint as soon as the program leaves
# the watchpoint scope.
gdb_test "continue" \
diff --git a/gdb/testsuite/gdb.base/infcall-failure.exp b/gdb/testsuite/gdb.base/infcall-failure.exp
index d8362f6cd41..0da19b6cda6 100644
--- a/gdb/testsuite/gdb.base/infcall-failure.exp
+++ b/gdb/testsuite/gdb.base/infcall-failure.exp
@@ -49,7 +49,7 @@ proc start_gdb_and_runto_main { target_async target_non_stop } {
return 0
}
-# Start GDB according to ASYNC_P and NON_STOP_P, then setup a
+# Start GDB according to ASYNC_P and NON_STOP_P, then set up a
# conditional breakpoint. The breakpoint condition includes an
# inferior function call that will itself hit a breakpoint. Check how
# GDB reports this to the user.
@@ -106,7 +106,7 @@ proc_with_prefix run_call_hits_breakpoint_test { async_p non_stop_p } {
"When the function is done executing, GDB will silently stop\\."]
}
-# Start GDB according to ASYNC_P and NON_STOP_P, then setup a
+# Start GDB according to ASYNC_P and NON_STOP_P, then set up a
# conditional breakpoint. The breakpoint condition includes an
# inferior function call that segfaults. Check how GDB reports this
# to the user.
diff --git a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp
index 9ba70f5aa89..6bd2c9d4067 100644
--- a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp
+++ b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp
@@ -16,7 +16,7 @@
# This test compiles two executables: crc_mismatch and crc_mismatch-2
# and then strips them of debuginfo creating separate debug files. The test
# then replaces crc_mismatch-2.debug with crc_mismatch.debug to trigger
-# "CRC mismatch" warning. A local debuginfod server is setup to supply
+# "CRC mismatch" warning. A local debuginfod server is set up to supply
# the correct debug file, now when GDB looks up the debug info no warning
# is given.
diff --git a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp
index 518f9d32a94..feabe2eb0fe 100644
--- a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp
+++ b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp
@@ -199,7 +199,7 @@ proc test_urls {urls pattern_re test} {
$test
}
-# Uses the global variables DEBUGDIR and DB which are setup elsewhere
+# Uses the global variables DEBUGDIR and DB which are set up elsewhere
# in this script.
#
# Start debuginfod server, and confirm that GDB can now find all the
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-symtab-includes-lookup.exp b/gdb/testsuite/gdb.dwarf2/dw2-symtab-includes-lookup.exp
index 0b2d7f64f75..17422f26d79 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-symtab-includes-lookup.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-symtab-includes-lookup.exp
@@ -15,7 +15,7 @@
# Lookup a type in a partial unit with DW_AT_stmt_list.
#
-# The test-case is setup such that the partial symtab expansion route is
+# The test-case is set up such that the partial symtab expansion route is
# .h partial symtab -> shared partial symtab -> toplevel symtab.
#
# That is, the partial symtabs (as displayed by maint print objfiles) are:
diff --git a/gdb/testsuite/gdb.multi/multi-remote-target.exp b/gdb/testsuite/gdb.multi/multi-remote-target.exp
index b5101b2de3c..1e2fb14ade1 100644
--- a/gdb/testsuite/gdb.multi/multi-remote-target.exp
+++ b/gdb/testsuite/gdb.multi/multi-remote-target.exp
@@ -59,8 +59,8 @@ gdb_breakpoint breakpt
gdb_continue_to_breakpoint "runto breakpt function"
# If we are using an extended-remote board, then an extended-remote
-# connection will have been setup when GDB initially started. We then
-# disconnected, and setup a basic 'remote' connection above. However,
+# connection will have been set up when GDB initially started. We then
+# disconnected, and set up a basic 'remote' connection above. However,
# the 'remote' connection will now be connection 2.
#
# For all other boards, the 'remote' connection will be number 1.
diff --git a/gdb/testsuite/gdb.reverse/finish-reverse-next.c b/gdb/testsuite/gdb.reverse/finish-reverse-next.c
index 28d0ef24573..ce02ac5a548 100644
--- a/gdb/testsuite/gdb.reverse/finish-reverse-next.c
+++ b/gdb/testsuite/gdb.reverse/finish-reverse-next.c
@@ -28,7 +28,7 @@
PowerPC supports two entry points to a function. The normal entry point
is called the local entry point (LEP). The alternate entry point is called
the global entry point (GEP). The GEP is only used if the table of
- contents (TOC) value stored in register r2 needs to be setup prior to
+ contents (TOC) value stored in register r2 needs to be set up prior to
execution starting at the LEP. A function call via a function pointer
will entry via the GEP. A normal function call will enter via the LEP.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index ecb19038e6a..a3256fbc43f 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1142,7 +1142,7 @@ proc command_to_message { command } {
# }
#
# Within action elements you can also make use of the variable
-# gdb_test_name. This variable is setup automatically by
+# gdb_test_name. This variable is set up automatically by
# gdb_test_multiple, and contains the value of MESSAGE. You can then
# write this, which is equivalent to the above:
#
diff --git a/gdb/tid-parse.c b/gdb/tid-parse.c
index 0cfd6737c14..71003477d35 100644
--- a/gdb/tid-parse.c
+++ b/gdb/tid-parse.c
@@ -273,7 +273,7 @@ tid_range_parser::get_tid_or_range (int *inf_num,
m_range_parser.init (p);
if (p[0] == '*' && (p[1] == '\0' || c_isspace (p[1])))
{
- /* Setup the number range parser to return numbers in the
+ /* Set up the number range parser to return numbers in the
whole [1,INT_MAX] range. */
m_range_parser.setup_range (1, INT_MAX, skip_spaces (p + 1));
m_state = STATE_STAR_RANGE;
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c
index 35515fc4ca4..6141eb2f140 100644
--- a/gdb/tui/tui-io.c
+++ b/gdb/tui/tui-io.c
@@ -685,7 +685,7 @@ tui_redisplay_readline (void)
}
/* Readline callback to prepare the terminal. It is called once each
- time we enter readline. Terminal is already setup in curses
+ time we enter readline. Terminal is already set up in curses
mode. */
static void
tui_prep_terminal (int notused1)
@@ -836,11 +836,11 @@ tui_rl_display_match_list (char **matches, int len, int max)
gdb_display_match_list (matches, len, max, &displayer);
}
-/* Whether the IO is setup for curses (1) or non-curses (0). */
+/* Whether the IO is set up for curses (1) or non-curses (0). */
static int tui_io_mode;
-/* Setup the IO for curses or non-curses mode.
+/* Set up the IO for curses or non-curses mode.
- In non-curses mode, readline and gdb use the standard input and
standard output/error directly.
- In curses mode, the standard output/error is controlled by TUI
@@ -1136,7 +1136,7 @@ tui_inject_newline_into_command_window ()
static const char *cur_seq = nullptr;
/* Set CUR_SEQ to point at the current sequence to pass to readline,
- setup to call the input handler again so we complete the sequence
+ set up to call the input handler again so we complete the sequence
shortly, and return the first character to start the sequence. */
static int
@@ -1175,7 +1175,7 @@ tui_getc_1 (FILE *fp)
ch = *cur_seq++;
/* If we've reached the end of the string, we're done with the
- sequence. Otherwise, setup to get back here again for
+ sequence. Otherwise, set up to get back here again for
another character. */
if (*cur_seq == '\0')
cur_seq = nullptr;
diff --git a/gdb/tui/tui-io.h b/gdb/tui/tui-io.h
index 63751638717..f8581de1a61 100644
--- a/gdb/tui/tui-io.h
+++ b/gdb/tui/tui-io.h
@@ -35,7 +35,7 @@ extern void tui_puts (const char *, WINDOW * = nullptr);
curses command window. */
extern void tui_write (const char *buf, size_t length);
-/* Setup the IO for curses or non-curses mode. */
+/* Set up the IO for curses or non-curses mode. */
extern void tui_setup_io (int mode);
/* Initialize the IO for gdb in curses mode. */
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c
index 481881433c8..198ec9d7cb9 100644
--- a/gdb/tui/tui-winsource.c
+++ b/gdb/tui/tui-winsource.c
@@ -393,7 +393,7 @@ tui_source_window_base::show_source_content ()
{
int reduced_width = std::max (pad_width / 2, width);
if (reduced_width == pad_width)
- error (_("failed to setup source window"));
+ error (_("failed to set up source window"));
pad_width = reduced_width;
}
}
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index a9a23f29b9a..4fc5cdd94c9 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -500,7 +500,7 @@ require_tui_interpreter ()
static void
require_tui_terminal ()
{
- /* Don't try to setup curses (and print funny control
+ /* Don't try to set up curses (and print funny control
characters) if we're not outputting to a terminal. */
if (!gdb_stderr->isatty ())
error (_("Cannot enable the TUI when output is not a terminal"));
@@ -604,7 +604,7 @@ tui_enable (void)
start_color ();
}
- /* We must mark the tui sub-system active before trying to setup the
+ /* We must mark the tui sub-system active before trying to set up the
current layout as tui windows defined by an extension language
rely on this flag being true in order to know that the window
they are creating is currently valid. */
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index a373964d6cb..2b655d32209 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -791,7 +791,7 @@ v850_analyze_prologue (struct gdbarch *gdbarch,
prologue_end = pc;
- /* Now, search the prologue looking for instructions that setup fp, save
+ /* Now, search the prologue looking for instructions that set up fp, save
rp, adjust sp and such. We also record the frame offset of any saved
registers. */
@@ -996,7 +996,7 @@ v850_frame_align (struct gdbarch *ignore, CORE_ADDR sp)
return sp & ~3;
}
-/* Setup arguments and LP for a call to the target. First four args
+/* Set up arguments and LP for a call to the target. First four args
go in R6->R9, subsequent args go into sp + 16 -> sp + ... Structs
are passed by reference. 64 bit quantities (doubles and long longs)
may be split between the regs and the stack. When calling a function
@@ -1266,7 +1266,7 @@ v850_frame_cache (const frame_info_ptr &this_frame, void **this_cache)
currently holds the frame pointer for our calling frame. If
we're at the start of a function, or somewhere half-way its
prologue, the function's frame probably hasn't been fully
- setup yet. Try to reconstruct the base address for the stack
+ set up yet. Try to reconstruct the base address for the stack
frame by looking at the stack pointer. For truly "frameless"
functions this might work too. */
cache->base = get_frame_register_unsigned (this_frame, E_SP_REGNUM);
diff --git a/gdb/value.h b/gdb/value.h
index bc9146a2c21..629d22e22de 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -1009,11 +1009,11 @@ struct lval_funcs
extern struct value *coerce_ref_if_computed (const struct value *arg);
-/* Setup a new value type and enclosing value type for dereferenced value VALUE.
- ENC_TYPE is the new enclosing type that should be set. ORIGINAL_TYPE and
- ORIGINAL_VAL are the type and value of the original reference or
- pointer. ORIGINAL_VALUE_ADDRESS is the address within VALUE, that is
- the address that was dereferenced.
+/* Set up a new value type and enclosing value type for dereferenced value
+ VALUE. ENC_TYPE is the new enclosing type that should be set.
+ ORIGINAL_TYPE and ORIGINAL_VAL are the type and value of the original
+ reference or pointer. ORIGINAL_VALUE_ADDRESS is the address within VALUE,
+ that is the address that was dereferenced.
Note, that VALUE is modified by this function.
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index f92f4f703aa..6256cc6d82c 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -369,7 +369,7 @@ xcoff_symfile_offsets (objfile *objfile, const section_addr_info &addrs)
static const sym_fns xcoff_sym_fns =
{
- xcoff_symfile_init, /* read initial info, setup for sym_read() */
+ xcoff_symfile_init, /* read initial info, set up for sym_read () */
xcoff_symfile_read, /* read a symbol file into symtab */
xcoff_symfile_offsets, /* xlate offsets ext->int form */
default_symfile_segments, /* Get segment information from a file. */
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c
index 56521aab213..208fdab81b0 100644
--- a/gdb/xstormy16-tdep.c
+++ b/gdb/xstormy16-tdep.c
@@ -211,7 +211,7 @@ xstormy16_frame_align (struct gdbarch *gdbarch, CORE_ADDR addr)
}
/* Function: xstormy16_push_dummy_call
- Setup the function arguments for GDB to call a function in the inferior.
+ Set up the function arguments for GDB to call a function in the inferior.
Called only in the context of a target function call from the debugger.
Returns the value of the SP register after the args are pushed. */
diff --git a/gdbserver/linux-aarch64-low.cc b/gdbserver/linux-aarch64-low.cc
index fac49d8c0fc..1537ad0dcec 100644
--- a/gdbserver/linux-aarch64-low.cc
+++ b/gdbserver/linux-aarch64-low.cc
@@ -3250,7 +3250,7 @@ aarch64_emit_void_call_2 (CORE_ADDR fn, int arg1)
/* Push x0 on the stack. */
aarch64_emit_stack_flush ();
- /* Setup arguments for the function call:
+ /* Set up arguments for the function call:
x0: arg1
x1: top of the stack
diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc
index 67f27bf8fed..a81a3ad423b 100644
--- a/gdbserver/linux-ppc-low.cc
+++ b/gdbserver/linux-ppc-low.cc
@@ -1732,7 +1732,7 @@ ppc_target::install_fast_tracepoint_jump_pad (CORE_ADDR tpoint,
p += GEN_STORE (p, 3, 1, min_frame + 36 * rsz, is_64);
- /* Setup arguments to collector. */
+ /* Set up arguments to collector. */
/* Set r4 to collected registers. */
p += GEN_ADDI (p, 4, 1, min_frame);
/* Set r3 to TPOINT. */
@@ -2372,7 +2372,7 @@ ppc_emit_int_call_1 (CORE_ADDR fn, int arg1)
uint32_t buf[15];
uint32_t *p = buf;
- /* Setup argument. arg1 is a 16-bit value. */
+ /* Set up argument. arg1 is a 16-bit value. */
p += gen_limm (p, 3, (uint32_t) arg1, 0);
p += gen_call (p, fn, 0, 0);
@@ -2402,7 +2402,7 @@ ppc_emit_void_call_2 (CORE_ADDR fn, int arg1)
p += GEN_STW (p, 3, 30, 0);
p += GEN_STW (p, 4, 30, 4);
- /* Setup argument. arg1 is a 16-bit value. */
+ /* Set up argument. arg1 is a 16-bit value. */
if (__BYTE_ORDER == __LITTLE_ENDIAN)
{
p += GEN_MR (p, 5, 4);
@@ -3129,7 +3129,7 @@ ppc64v1_emit_int_call_1 (CORE_ADDR fn, int arg1)
uint32_t buf[13];
uint32_t *p = buf;
- /* Setup argument. arg1 is a 16-bit value. */
+ /* Set up argument. arg1 is a 16-bit value. */
p += gen_limm (p, 3, arg1, 1);
p += GEN_STD (p, 2, 1, 40); /* Save TOC. */
p += gen_call (p, fn, 1, 1);
@@ -3147,7 +3147,7 @@ ppc64v2_emit_int_call_1 (CORE_ADDR fn, int arg1)
uint32_t buf[10];
uint32_t *p = buf;
- /* Setup argument. arg1 is a 16-bit value. */
+ /* Set up argument. arg1 is a 16-bit value. */
p += gen_limm (p, 3, arg1, 1);
p += GEN_STD (p, 2, 1, 24); /* Save TOC. */
p += gen_call (p, fn, 1, 0);
@@ -3171,7 +3171,7 @@ ppc64v1_emit_void_call_2 (CORE_ADDR fn, int arg1)
/* Save TOP. 0(30) is next-empty. */
p += GEN_STD (p, 3, 30, 0);
- /* Setup argument. arg1 is a 16-bit value. */
+ /* Set up argument. arg1 is a 16-bit value. */
p += GEN_MR (p, 4, 3); /* mr r4, r3 */
p += gen_limm (p, 3, arg1, 1);
p += GEN_STD (p, 2, 1, 40); /* Save TOC. */
@@ -3196,7 +3196,7 @@ ppc64v2_emit_void_call_2 (CORE_ADDR fn, int arg1)
/* Save TOP. 0(30) is next-empty. */
p += GEN_STD (p, 3, 30, 0);
- /* Setup argument. arg1 is a 16-bit value. */
+ /* Set up argument. arg1 is a 16-bit value. */
p += GEN_MR (p, 4, 3); /* mr r4, r3 */
p += gen_limm (p, 3, arg1, 1);
p += GEN_STD (p, 2, 1, 24); /* Save TOC. */
diff --git a/gdbserver/mem-break.cc b/gdbserver/mem-break.cc
index 071f8330c50..3804081e858 100644
--- a/gdbserver/mem-break.cc
+++ b/gdbserver/mem-break.cc
@@ -102,7 +102,7 @@ struct raw_breakpoint
others may use more than one. E.g., on ARM, we need to use different
breakpoint instructions on Thumb, Thumb-2, and ARM code. Likewise for
hardware breakpoints -- some architectures (including ARM) need to
- setup debug registers differently depending on mode. */
+ set up debug registers differently depending on mode. */
int kind;
/* The breakpoint's shadow memory. */
diff --git a/gdbserver/server.cc b/gdbserver/server.cc
index 9bb15d1ece2..55dcd8e1a71 100644
--- a/gdbserver/server.cc
+++ b/gdbserver/server.cc
@@ -4067,7 +4067,7 @@ namespace selftests {
static void
test_memory_tagging_functions (void)
{
- /* Setup testing. */
+ /* Set up testing. */
gdb::char_vector packet;
gdb::byte_vector tags, bv;
std::string expected;
base-commit: 1ab4b50364f3254b397c41853952e73ea2c19f5a
--
2.51.0
reply other threads:[~2026-11-25 20:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125200414.2252930-1-tdevries@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox