From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 5yimGyBPsGqhoicAWB0awg (envelope-from ) for ; Sun, 20 Sep 2026 17:24:48 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=mh3jmQ91; dkim=fail reason="signature verification failed" header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=koBDhHCQ; dkim=fail reason="signature verification failed" (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=S4Hghuzm; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=WRpubd75; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 5A13E1E01F; Sun, 20 Sep 2026 17:24:48 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 7EA321E01F for ; Sun, 20 Sep 2026 17:24:44 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B4FFE4BA901D for ; Sun, 20 Sep 2026 21:24:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4FFE4BA901D Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=mh3jmQ91; dkim=fail reason="signature verification failed" header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=koBDhHCQ; dkim=fail reason="signature verification failed" (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=S4Hghuzm; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=WRpubd75 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by sourceware.org (Postfix) with ESMTPS id 04DB04BA23E6 for ; Sun, 20 Sep 2026 21:24:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 04DB04BA23E6 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 04DB04BA23E6 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1789939450; cv=none; b=Q77khaUYO3y6YB9ELfEUTmjERRAdduKUBENXv3ixEWd1Zil6J06p0nr3eb23MRTeYbhautVIYxjd25/qRUBzh3Z57rNnf2Tnp7+3KJzmspTeZaPyG0kl/QyWPxWY2WPE9/gXl0tUye67/oCVYhTFtaWdjgOwxbQrxLXEfd9n2nU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1789939450; c=relaxed/simple; bh=NhUnldxDoayNKIzwX8rTXM0b/fM2gG7TLcYPCJ/Ahb0=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=fec89M6lU8AFkHZiAOhDnPnSC7hsa7DGnntWXFaQF2DJUpy/0P4mrkgllBjKi/A6lmqJmi6RwViVwn38Rw8nh8G9H5+qfYsQar03smf32Ch/aYuNg4Sghob3IdZ3ZGpfha++/sS/Y0fXZd4RZlz6y+oSYbxisOe/qWYvVITZt7U= ARC-Authentication-Results: i=1; sourceware.org; dkim=fail (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=mh3jmQ91 reason="signature verification failed"; dkim=fail header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=koBDhHCQ reason="signature verification failed"; dkim=fail (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=S4Hghuzm reason="signature verification failed"; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=WRpubd75 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04DB04BA23E6 Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 699E81F74A for ; Sun, 20 Sep 2026 21:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1789939444; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=J4PvHrUJUaE+wxVlwjsYALTiFW5EzhOfdctjZ8mQG10=; b=mh3jmQ91GGOsk4YyYrk6vKMBr5JGFtsENlicP6Os5FU8fx+c+BGethyOOKa0SOZj7NZLRu l26sXBll+EndtqFC5EGBTzisHX7wXyPrc05lR6o8MBp0lJSUIyWxIQb3iRbefxUSee8aNM 2Kd3zh7GQP30q6Zfrlcf6Ap5owmUkQ8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1789939444; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=J4PvHrUJUaE+wxVlwjsYALTiFW5EzhOfdctjZ8mQG10=; b=koBDhHCQtB/Rz5tjxvjrqZapFs99xodmiIK/KUcvMw+r6RsA98qrD01ka1HuamgbfN4jPu tQm5v4cTlFzcshBw== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1789939440; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=J4PvHrUJUaE+wxVlwjsYALTiFW5EzhOfdctjZ8mQG10=; b=S4HghuzmxSeKZToHKKkOUsOHDYEVpGMAbOO4MsbgTj0FW1oZE0CoTbAgpiytJKVWS9/jvk tC0g6Jnku8CyMZRlPIZndoF6jO/Cqx4EQ2sFzdBiFPwMGSBk3qlfQyXjfXbZdEh3JsQjCn ns4YW3W4YF9I0tmk+40A8uOoU6lYLZU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1789939440; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=J4PvHrUJUaE+wxVlwjsYALTiFW5EzhOfdctjZ8mQG10=; b=WRpubd75ji2zKDSjgmlx3BX+eU8p6oCwYX4JWEGdyJREbqiOSFeOcsGu7W3wcNihkcRknP EWfBuuK/Ra7cDsBA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 2E5A313331 for ; Sun, 20 Sep 2026 21:24:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 55ikAfBOsGrLBQAAD6G6ig (envelope-from ) for ; Sun, 20 Sep 2026 21:24:00 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [PATCH] [gdb] Fix end-of-comment formatting Date: Sun, 20 Sep 2026 23:23:59 +0200 Message-ID: <20260920212359.712032-1-tdevries@suse.de> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-0.996]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; PREVIOUSLY_DELIVERED(0.00)[gdb-patches@sourceware.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org I came across a comment ending in '. */' with three instead of two spaces. Fix this using: ... $ find gdb* -type f -name "*.cc" -o -name "*.c" -o -name "*.h" \ | xargs sed -i 's%\([^ \t]\)\. *\*/%\1. */%' ... and manually reverting two changes for "loc. byte seq.". --- gdb/aarch64-linux-nat.c | 2 +- gdb/aix-thread.c | 2 +- gdb/arm-linux-tdep.c | 2 +- gdb/arm-tdep.h | 2 +- gdb/bpf-tdep.c | 2 +- gdb/breakpoint.c | 4 ++-- gdb/coffread.c | 2 +- gdb/dwarf2/public.h | 2 +- gdb/dwarf2/read.c | 2 +- gdb/f-exp.h | 2 +- gdb/frame.c | 2 +- gdb/gdbtypes.h | 2 +- gdb/gnu-nat.c | 2 +- gdb/gnu-nat.h | 2 +- gdb/h8300-tdep.c | 2 +- gdb/i386-tdep.c | 2 +- gdb/ia64-tdep.c | 2 +- gdb/infrun.c | 2 +- gdb/linux-fork.c | 2 +- gdb/linux-tdep.c | 2 +- gdb/loongarch-linux-nat.c | 2 +- gdb/loongarch-tdep.c | 4 ++-- gdb/nat/gdb_ptrace.h | 4 ++-- gdb/nat/ppc-linux.c | 4 ++-- gdb/objc-lang.c | 4 ++-- gdb/objfiles.c | 2 +- gdb/ppc-sysv-tdep.c | 4 ++-- gdb/python/py-breakpoint.c | 2 +- gdb/python/py-disasm.c | 2 +- gdb/python/py-micmd.c | 2 +- gdb/python/py-style.c | 4 ++-- gdb/python/python.c | 2 +- gdb/remote.c | 4 ++-- gdb/riscv-tdep.c | 2 +- gdb/s12z-tdep.c | 2 +- gdb/s390-linux-nat.c | 2 +- gdb/solib.h | 2 +- gdb/stack.c | 2 +- gdb/stubs/m68k-stub.c | 2 +- gdb/symtab.c | 2 +- gdb/target.h | 2 +- gdb/testsuite/gdb.arch/aarch64-sve-sigunwind.c | 2 +- gdb/testsuite/gdb.base/prelink.c | 2 +- gdb/testsuite/gdb.base/sym-file-loader.c | 2 +- gdb/testsuite/gdb.python/py-format-string.c | 2 +- gdb/testsuite/gdb.reverse/ppc_record_test_isa_3_1.c | 2 +- gdb/testsuite/gdb.threads/access-mem-running-thread-exit.c | 2 +- gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c | 2 +- gdb/testsuite/gdb.threads/infcall-from-bp-cond-simple.c | 2 +- gdb/testsuite/gdb.threads/slow-waitpid.c | 2 +- gdb/testsuite/gdb.threads/stop-with-handle.c | 2 +- gdb/tui/tui-io.c | 2 +- gdb/utils.c | 2 +- gdb/x86-linux-nat.c | 2 +- gdbserver/linux-aarch64-low.cc | 2 +- gdbserver/linux-arm-low.cc | 2 +- gdbserver/netbsd-low.h | 2 +- gdbsupport/signals-state-save-restore.cc | 4 ++-- 58 files changed, 67 insertions(+), 67 deletions(-) diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c index 52ace4aab41..936e8786ba9 100644 --- a/gdb/aarch64-linux-nat.c +++ b/gdb/aarch64-linux-nat.c @@ -925,7 +925,7 @@ supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp) AARCH64_LINUX_SIZEOF_FPREGSET); } -/* linux_nat_new_fork hook. */ +/* linux_nat_new_fork hook. */ void aarch64_linux_nat_target::low_new_fork (struct lwp_info *parent, diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 5ac71d22237..647ed063671 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -1568,7 +1568,7 @@ fill_sprs64 (const struct regcache *regcache, same as the raw size of the PC (in the register cache). If they're not, then either GDB has been built incorrectly, or there's some other kind of internal error. To be really safe, - we should check all of the sizes. */ + we should check all of the sizes. */ gdb_assert (sizeof (*iar) == register_size (gdbarch, gdbarch_pc_regnum (gdbarch))); diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 591e60d5084..85fbd8e7b3e 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -939,7 +939,7 @@ arm_linux_get_next_pcs_syscall_next_pc (struct arm_get_next_pcs *self) if (svc_number == ARM_SIGRETURN || svc_number == ARM_RT_SIGRETURN) { /* SIGRETURN or RT_SIGRETURN may affect the arm thumb mode, so - update IS_THUMB. */ + update IS_THUMB. */ next_pc = arm_linux_sigreturn_next_pc (regcache, svc_number, &is_thumb); } diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h index 6ea44326f76..44c0f891db5 100644 --- a/gdb/arm-tdep.h +++ b/gdb/arm-tdep.h @@ -235,7 +235,7 @@ struct arm_displaced_step_copy_insn_closure /* The size of original instruction, 2 or 4. */ unsigned int insn_size; /* True if the original insn (and thus all replacement insns) are Thumb - instead of ARM. */ + instead of ARM. */ unsigned int is_thumb; /* The slots in the array is used in this way below, diff --git a/gdb/bpf-tdep.c b/gdb/bpf-tdep.c index 2459ba45e8f..5ae9fc6ff67 100644 --- a/gdb/bpf-tdep.c +++ b/gdb/bpf-tdep.c @@ -196,7 +196,7 @@ static const struct frame_unwind_legacy bpf_frame_unwind ( /* Breakpoints. */ /* Enum describing the different kinds of breakpoints. We currently - just support one, implemented by the brkpt xbpf instruction. */ + just support one, implemented by the brkpt xbpf instruction. */ enum bpf_breakpoint_kinds { diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 46027e494cc..988737b6f96 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -6908,7 +6908,7 @@ print_one_breakpoint_location (struct breakpoint *b, } /* Don't display it when tracepoint or tracepoint location is - pending. */ + pending. */ if (!header_of_multiple && loc != NULL && !loc->shlib_disabled) { annotate_field (11); @@ -10809,7 +10809,7 @@ watch_maybe_just_location (const char *arg, int accessflag, int from_tty) watch_command_1 (arg, accessflag, from_tty, opts.location, false); } -/* Command completion for 'watch', 'awatch', and 'rwatch' commands. */ +/* Command completion for 'watch', 'awatch', and 'rwatch' commands. */ static void watch_command_completer (struct cmd_list_element *ignore, completion_tracker &tracker, diff --git a/gdb/coffread.c b/gdb/coffread.c index 0a5da42e563..6319d91da32 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -350,7 +350,7 @@ coff_reader::symfile_read (symfile_add_flags symfile_flags) /* Nothing. */ } - /* Try to add separate debug file if no symbols table found. */ + /* Try to add separate debug file if no symbols table found. */ else if (!coffread_objfile->has_partial_symbols () && coffread_objfile->separate_debug_objfile == NULL && coffread_objfile->separate_debug_objfile_backlink == NULL) diff --git a/gdb/dwarf2/public.h b/gdb/dwarf2/public.h index 2fb81a0749c..648e7f557b8 100644 --- a/gdb/dwarf2/public.h +++ b/gdb/dwarf2/public.h @@ -23,7 +23,7 @@ /* A DWARF names index variant. */ enum class dw_index_kind { - /* GDB's own .gdb_index format. */ + /* GDB's own .gdb_index format. */ GDB_INDEX, /* DWARF5 .debug_names. */ diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 7e1a0d686a9..19448795e53 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -6219,7 +6219,7 @@ create_dwp_hash_table (dwarf2_per_bfd *per_bfd, struct dwp_file *dwp_file, /* For Version 5, the version is really 2 bytes of data & 2 bytes of padding. For now it's safe to just read 4 bytes (particularly as it's difficult to - tell if you're dealing with Version 5 before you've read the version). */ + tell if you're dealing with Version 5 before you've read the version). */ version = read_4_bytes (dbfd, index_ptr); index_ptr += 4; if (version != 2 && version != 5) diff --git a/gdb/f-exp.h b/gdb/f-exp.h index 1b2e75fb49e..f2d8f3f57e5 100644 --- a/gdb/f-exp.h +++ b/gdb/f-exp.h @@ -141,7 +141,7 @@ extern struct value * eval_op_f_loc (struct type *expect_type, /* Implement the evaluation of UNOP_FORTRAN_RANK. EXPECTED_TYPE, EXP, and NOSIDE are as for expression::evaluate (see expression.h). OP will always be UNOP_FORTRAN_RANK, and ARG1 is the argument being passed to - the expression. */ + the expression. */ extern struct value *eval_op_f_rank (struct type *expect_type, struct expression *exp, diff --git a/gdb/frame.c b/gdb/frame.c index b91e18fad99..6b02c5f559a 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1030,7 +1030,7 @@ frame_find_by_id (struct frame_id id) to find an invalid ID, we check for a common situation where we can detect from comparing stack addresses that no other frame in the current frame chain can have this ID. See the - comment at frame_id_inner for details. */ + comment at frame_id_inner for details. */ if (get_frame_type (frame) == NORMAL_FRAME && !frame_id_inner (get_frame_arch (frame), id, self) && frame_id_inner (get_frame_arch (prev_frame), id, diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index d2048600c68..1fd90f0531e 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -1702,7 +1702,7 @@ struct fn_field { /* This is the mangled name which we can look up to find the address of the method (FIXME: it would be cleaner to have a - pointer to the struct symbol here instead). */ + pointer to the struct symbol here instead). */ const char *physname; diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 4999734b6d9..94c2e9690be 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -152,7 +152,7 @@ struct inf { /* Fields describing the current inferior. */ - struct proc *task; /* The mach task. */ + struct proc *task; /* The mach task. */ struct proc *threads; /* A linked list of all threads in TASK. */ /* True if THREADS needn't be validated by querying the task. We diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h index 93f5931fbfb..21e2f9dec49 100644 --- a/gdb/gnu-nat.h +++ b/gdb/gnu-nat.h @@ -61,7 +61,7 @@ struct proc mach_port_t saved_exc_port; /* The task/thread's real exception port. */ mach_port_t exc_port; /* Our replacement, which for. */ - int sc; /* Desired suspend count. */ + int sc; /* Desired suspend count. */ int cur_sc; /* Implemented suspend count. */ int run_sc; /* Default sc when the program is running. */ int pause_sc; /* Default sc when gdb has control. */ diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index ca9c326d752..084b7adc170 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -716,7 +716,7 @@ h8300_push_dummy_call (struct gdbarch *gdbarch, struct value *function, /* Function: extract_return_value Figure out where in REGBUF the called function has left its return value. - Copy that into VALBUF. Be sure to account for CPU type. */ + Copy that into VALBUF. Be sure to account for CPU type. */ static void h8300_extract_return_value (struct type *type, struct regcache *regcache, diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index f69cc2dcc01..8a35bbbc46e 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2323,7 +2323,7 @@ static i386_insn i386_tramp_chain_on_stack_insns[] = {0} }; -/* Return whether PC points inside a stack trampoline. */ +/* Return whether PC points inside a stack trampoline. */ static int i386_in_stack_tramp_p (CORE_ADDR pc) diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index 43f2f4e10bc..e94bbfdcdf0 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -808,7 +808,7 @@ ia64_memory_remove_breakpoint (struct gdbarch *gdbarch, static int ia64_breakpoint_kind_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr) { - /* A place holder of gdbarch method breakpoint_kind_from_pc. */ + /* A place holder of gdbarch method breakpoint_kind_from_pc. */ return 0; } diff --git a/gdb/infrun.c b/gdb/infrun.c index b9618fb6422..92b21017b03 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -8432,7 +8432,7 @@ process_event_stop_test (struct execution_control_state *ecs) which includes things like the line number we are stepping away from. This means we will stop when we find a line table entry that is marked as is-statement, even if it matches the non-statement one we just - stepped into. */ + stepped into. */ ecs->event_thread->control.step_range_start = stop_pc_sal.pc; ecs->event_thread->control.step_range_end = stop_pc_sal.end; diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c index e11b29349fc..13d35c2b23d 100644 --- a/gdb/linux-fork.c +++ b/gdb/linux-fork.c @@ -548,7 +548,7 @@ linux_fork_detach (int from_tty, lwp_info *lp, inferior *inf) /* Temporarily switch to the infrun state stored on the fork_info identified by a given ptid_t. When this object goes out of scope, - restore the currently selected infrun state. */ + restore the currently selected infrun state. */ class scoped_switch_fork_info { diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c index 05ee71fc96f..1d525fd94c5 100644 --- a/gdb/linux-tdep.c +++ b/gdb/linux-tdep.c @@ -2032,7 +2032,7 @@ linux_corefile_parse_exec_context_1 (struct gdbarch *gdbarch, bfd *cbfd) /* Setup DEREF a helper function which loads a value from an address. The returned value is always placed into a uint64_t, even if we only load 4-bytes, this allows the code below to be pretty generic. All - the values we're dealing with are unsigned, so this should be OK. */ + the values we're dealing with are unsigned, so this should be OK. */ enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); const auto deref = [=] (CORE_ADDR p) -> uint64_t { diff --git a/gdb/loongarch-linux-nat.c b/gdb/loongarch-linux-nat.c index 972c59cd853..b300f8e441f 100644 --- a/gdb/loongarch-linux-nat.c +++ b/gdb/loongarch-linux-nat.c @@ -704,7 +704,7 @@ loongarch_linux_nat_target::post_attach (int pid) linux_nat_target::post_attach (pid); } -/* linux_nat_new_fork hook. */ +/* linux_nat_new_fork hook. */ void loongarch_linux_nat_target::low_new_fork (struct lwp_info *parent, diff --git a/gdb/loongarch-tdep.c b/gdb/loongarch-tdep.c index eee5479c7e2..ca503fb849b 100644 --- a/gdb/loongarch-tdep.c +++ b/gdb/loongarch-tdep.c @@ -2299,8 +2299,8 @@ struct loongarch_record_s { struct gdbarch *gdbarch; struct regcache *regcache; - CORE_ADDR this_addr; /* Addr of insn to be recorded. */ - uint32_t insn; /* Insn to be recorded. */ + CORE_ADDR this_addr; /* Addr of insn to be recorded. */ + uint32_t insn; /* Insn to be recorded. */ }; /* Record handler for data processing instructions. */ diff --git a/gdb/nat/gdb_ptrace.h b/gdb/nat/gdb_ptrace.h index 6d7747e23ae..e0607164260 100644 --- a/gdb/nat/gdb_ptrace.h +++ b/gdb/nat/gdb_ptrace.h @@ -88,11 +88,11 @@ # ifdef PT_SINGLE1 # define PT_STEP PT_SINGLE1 # else -# define PT_STEP 9 /* Single step the child. */ +# define PT_STEP 9 /* Single step the child. */ # endif #endif -/* Not all systems support attaching and detaching. */ +/* Not all systems support attaching and detaching. */ #ifndef PT_ATTACH # ifdef PTRACE_ATTACH diff --git a/gdb/nat/ppc-linux.c b/gdb/nat/ppc-linux.c index 2f49c280f75..a51a5668eb4 100644 --- a/gdb/nat/ppc-linux.c +++ b/gdb/nat/ppc-linux.c @@ -26,7 +26,7 @@ #ifdef __powerpc64__ /* Get the HWCAP from the process of GDB or GDBserver. If success, - save it in *VALP. */ + save it in *VALP. */ static void ppc64_host_hwcap (unsigned long *valp) @@ -65,7 +65,7 @@ ppc64_64bit_inferior_p (long msr) MSR is set. The PowerISA Book III-S MSR is different from the PowerISA Book III-E MSR. The Book III-S MSR is 64 bits wide, and its MSR[SF] is the bit 0 of a 64-bit value. Book III-E MSR is 32 - bits wide, and its MSR[CM] is the bit 0 of a 32-bit value. */ + bits wide, and its MSR[CM] is the bit 0 of a 32-bit value. */ if (ppc_host_hwcap & PPC_FEATURE_BOOKE) return msr & 0x80000000; else diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index 2af438de659..c0755220627 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -358,9 +358,9 @@ objc_language::demangle_symbol (const char *mangled, int options) const xfree(demangled); /* not mangled name */ return nullptr; } - if (cp[1] == '_') /* Easy case: no category name. */ + if (cp[1] == '_') /* Easy case: no category name. */ { - *cp++ = ' '; /* Replace two '_' with one ' '. */ + *cp++ = ' '; /* Replace two '_' with one ' '. */ strcpy(cp, mangled + (cp - demangled) + 2); } else diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 408ddf1ff83..edaf7a10d86 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -927,7 +927,7 @@ bsearch_cmp (const void *key, const void *elt) return 1; } -/* Returns a section whose range includes PC or NULL if none found. */ +/* Returns a section whose range includes PC or NULL if none found. */ struct obj_section * find_pc_section (CORE_ADDR pc) diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c index e9ea789a53d..1208aa7018b 100644 --- a/gdb/ppc-sysv-tdep.c +++ b/gdb/ppc-sysv-tdep.c @@ -585,7 +585,7 @@ ppc_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, struct value *function, } } - /* Update %sp. */ + /* Update %sp. */ regcache_cooked_write_signed (regcache, gdbarch_sp_regnum (gdbarch), sp); /* Write the backchain (it occupies WORDSIZED bytes). */ @@ -1749,7 +1749,7 @@ ppc64_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, } } - /* Update %sp. */ + /* Update %sp. */ regcache_cooked_write_signed (regcache, gdbarch_sp_regnum (gdbarch), sp); /* Write the backchain (it occupies WORDSIZED bytes). */ diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index 02fd00b1008..b1615db1be3 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -1622,7 +1622,7 @@ bploc_filepath (struct symtab *bploc_symtab) } /* Python function to get the source file name path and line number - where this breakpoint location was set. */ + where this breakpoint location was set. */ static PyObject * bplocpy_get_source_location (PyObject *py_self, void *closure) diff --git a/gdb/python/py-disasm.c b/gdb/python/py-disasm.c index 83105a6d402..2cb7a6fc19f 100644 --- a/gdb/python/py-disasm.c +++ b/gdb/python/py-disasm.c @@ -1447,7 +1447,7 @@ disasmpy_text_part_string (PyObject *self, void *closure) return disasmpy_text_part_str (self); } -/* Implement DisassemblerTextPart.style attribute. */ +/* Implement DisassemblerTextPart.style attribute. */ static PyObject * disasmpy_text_part_style (PyObject *self, void *closure) diff --git a/gdb/python/py-micmd.c b/gdb/python/py-micmd.c index ecdf4b72018..a550ecb3304 100644 --- a/gdb/python/py-micmd.c +++ b/gdb/python/py-micmd.c @@ -528,7 +528,7 @@ micmdpy_set_installed (PyObject *self, PyObject *newvalue, void *closure) return micmdpy_uninstall_command (micmd_obj); } -/* The gdb.MICommand properties. */ +/* The gdb.MICommand properties. */ static gdb_PyGetSetDef micmdpy_object_getset[] = { { "name", micmdpy_get_name, nullptr, "The command's name.", nullptr }, diff --git a/gdb/python/py-style.c b/gdb/python/py-style.c index a27a1ab75a7..d6f9cbb8b8d 100644 --- a/gdb/python/py-style.c +++ b/gdb/python/py-style.c @@ -348,7 +348,7 @@ stylepy_init (PyObject *self, PyObject *args, PyObject *kwargs) -/* See python-internal.h. */ +/* See python-internal.h. */ bool gdbpy_is_style (PyObject *obj) @@ -373,7 +373,7 @@ stylepy_to_style (style_object *stylepy) return style; } -/* See python-internal.h. */ +/* See python-internal.h. */ std::optional gdbpy_style_object_to_ui_file_style (PyObject *obj) diff --git a/gdb/python/python.c b/gdb/python/python.c index 1162a7fe8ed..d51cd83966b 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -2531,7 +2531,7 @@ catch_python_fatal (int signum) throw_exception_sjlj (gdb_exception {RETURN_ERROR, GENERIC_ERROR}); } -/* Call Py_Initialize (), and return true if successful. */ +/* Call Py_Initialize (), and return true if successful. */ static bool py_initialize_catch_abort () diff --git a/gdb/remote.c b/gdb/remote.c index 595384e56bb..b9b850be732 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -5350,7 +5350,7 @@ get_semicolon_delimited_hex_as_string (const char **ptr) return str; } -/* See declaration in class above. */ +/* See declaration in class above. */ remote_exec_and_args_info remote_target::fetch_remote_executable_and_arguments () @@ -16635,7 +16635,7 @@ test_memory_tagging_functions () /* On the previous tests, qIsAddressTagged packet was auto detected and set as supported. But an empty reply means the packet is unsupported, so for testing the empty reply the support is reset to unknown state, otherwise - packet_ok will complain. */ + packet_ok will complain. */ remote.m_features.m_protocol_packets[PACKET_qIsAddressTagged].support = PACKET_SUPPORT_UNKNOWN; SELF_CHECK (check_is_address_tagged_reply (&remote, packet, is_tagged) == diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 100a44cddf3..68c56fbafb3 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -4900,7 +4900,7 @@ class riscv_recorded_insn final where recording is happening. */ int m_xlen = 0; - /* Flag that says whether we are in baremetal mode. */ + /* Flag that says whether we are in baremetal mode. */ bool m_in_baremetal_mode = false; /* Helper for decode 16-bit instruction RS1. */ diff --git a/gdb/s12z-tdep.c b/gdb/s12z-tdep.c index 5d9cbe8254c..5b6a95a8b07 100644 --- a/gdb/s12z-tdep.c +++ b/gdb/s12z-tdep.c @@ -74,7 +74,7 @@ static const int inv_reg_perm[N_PHYSICAL_REGISTERS] = static const char * s12z_register_name (struct gdbarch *gdbarch, int regnum) { - /* Registers is declared in opcodes/s12z.h. */ + /* Registers is declared in opcodes/s12z.h. */ return registers[reg_perm[regnum]].name; } diff --git a/gdb/s390-linux-nat.c b/gdb/s390-linux-nat.c index 6ef524a310c..cffaadf3c28 100644 --- a/gdb/s390-linux-nat.c +++ b/gdb/s390-linux-nat.c @@ -603,7 +603,7 @@ s390_linux_nat_target::low_forget_process (pid_t pid) } } -/* linux_nat_new_fork hook. */ +/* linux_nat_new_fork hook. */ void s390_linux_nat_target::low_new_fork (struct lwp_info *parent, pid_t child_pid) diff --git a/gdb/solib.h b/gdb/solib.h index 4ca3c205ef2..31c4b70d096 100644 --- a/gdb/solib.h +++ b/gdb/solib.h @@ -408,7 +408,7 @@ extern int gdb_bfd_scan_elf_dyntag (const int desired_dyntag, bfd *abfd, CORE_ADDR *ptr, CORE_ADDR *ptr_addr); /* If FILENAME refers to an ELF shared object then attempt to return the - string referred to by its DT_SONAME tag. */ + string referred to by its DT_SONAME tag. */ extern gdb::unique_xmalloc_ptr gdb_bfd_read_elf_soname (const char *filename); diff --git a/gdb/stack.c b/gdb/stack.c index 8a9c774a3bb..7fe05bb52a8 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1792,7 +1792,7 @@ select_frame_command_core (const frame_info_ptr &fi, bool ignored) /* The core of all the "frame" sub-commands. Select frame FI, and if this means we change frame send out a change notification (otherwise, just - reprint the current frame summary). */ + reprint the current frame summary). */ static void frame_command_core (const frame_info_ptr &fi, bool ignored) diff --git a/gdb/stubs/m68k-stub.c b/gdb/stubs/m68k-stub.c index a5ec9bce088..85cd37f0710 100644 --- a/gdb/stubs/m68k-stub.c +++ b/gdb/stubs/m68k-stub.c @@ -273,7 +273,7 @@ asm(" /* this function is called immediately when a level 7 interrupt occurs */ /* if the previous interrupt level was 7 then we're already servicing */ -/* this interrupt and an rte is in order to return to the debugger. */ +/* this interrupt and an rte is in order to return to the debugger. */ /* For the 68000, the offset for sr is 6 due to the jsr return address */ asm(" .text diff --git a/gdb/symtab.c b/gdb/symtab.c index 4c27f3951fd..93684c14777 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -4416,7 +4416,7 @@ output_source_filename_data::output (const char *disp_name, struct filename_partial_match_opts { - /* Only match the directory name part. */ + /* Only match the directory name part. */ bool dirname = false; /* Only match the basename part. */ diff --git a/gdb/target.h b/gdb/target.h index 819279c08fc..38bdc68f6a3 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -1855,7 +1855,7 @@ extern int target_can_run (); However, if the target is hardware single-stepping a thread that is about to receive a signal, it needs to be reported in any case, even - if mentioned in a previous target_pass_signals call. */ + if mentioned in a previous target_pass_signals call. */ extern void target_pass_signals (gdb::array_view pass_signals); diff --git a/gdb/testsuite/gdb.arch/aarch64-sve-sigunwind.c b/gdb/testsuite/gdb.arch/aarch64-sve-sigunwind.c index 5e35d6083b5..6dc544d183b 100644 --- a/gdb/testsuite/gdb.arch/aarch64-sve-sigunwind.c +++ b/gdb/testsuite/gdb.arch/aarch64-sve-sigunwind.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -/* Exercise unwinding AArch64's SVE registers from a signal frame. */ +/* Exercise unwinding AArch64's SVE registers from a signal frame. */ #include #include diff --git a/gdb/testsuite/gdb.base/prelink.c b/gdb/testsuite/gdb.base/prelink.c index e23b48c877a..67044ac8f4d 100644 --- a/gdb/testsuite/gdb.base/prelink.c +++ b/gdb/testsuite/gdb.base/prelink.c @@ -19,7 +19,7 @@ extern int copyreloc; -/* Test GDB itself finds `&bssvar' right. */ +/* Test GDB itself finds `&bssvar' right. */ static int bssvar, *bssvarp = &bssvar; extern void (*h (void)) (void (*)(void)); diff --git a/gdb/testsuite/gdb.base/sym-file-loader.c b/gdb/testsuite/gdb.base/sym-file-loader.c index f55639874d1..a0252943de1 100644 --- a/gdb/testsuite/gdb.base/sym-file-loader.c +++ b/gdb/testsuite/gdb.base/sym-file-loader.c @@ -445,7 +445,7 @@ find_symtab (Elf_External_Ehdr *ehdr, uint64_t *symtab_size) return NULL; } -/* Translate a file offset to an address in a loaded segment. */ +/* Translate a file offset to an address in a loaded segment. */ static int translate_offset (uint64_t file_offset, struct segment *seg, void **addr) diff --git a/gdb/testsuite/gdb.python/py-format-string.c b/gdb/testsuite/gdb.python/py-format-string.c index 918383150e3..b638b58cd5f 100644 --- a/gdb/testsuite/gdb.python/py-format-string.c +++ b/gdb/testsuite/gdb.python/py-format-string.c @@ -112,7 +112,7 @@ main () int an_array[] = { 2, 3, 5 }; int an_array_with_repetition[] = { - 1, /* 1 time. */ + 1, /* 1 time. */ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, /* 12 times. */ 5, 5, 5, /* 3 times */ }; diff --git a/gdb/testsuite/gdb.reverse/ppc_record_test_isa_3_1.c b/gdb/testsuite/gdb.reverse/ppc_record_test_isa_3_1.c index c9baad7f630..21e006f93d6 100644 --- a/gdb/testsuite/gdb.reverse/ppc_record_test_isa_3_1.c +++ b/gdb/testsuite/gdb.reverse/ppc_record_test_isa_3_1.c @@ -28,7 +28,7 @@ main () pmxvi4ger8*, pmxvi8ger4* pmxvi16ger2* instructions were officially changed to pmdmxbf16ger*, pmdmxvf32ger*, pmdmxvf64ger*, pmdmxvi4ger8*, pmdmxvi8ger4*, pmdmxvi16ger* respectively. The old mnemonics are used in - this test for backward compatibility. */ + this test for backward compatibility. */ ra = 0xABCDEF012; rb = 0; rs = 0x012345678; diff --git a/gdb/testsuite/gdb.threads/access-mem-running-thread-exit.c b/gdb/testsuite/gdb.threads/access-mem-running-thread-exit.c index f78c75cd382..b00650fa1ee 100644 --- a/gdb/testsuite/gdb.threads/access-mem-running-thread-exit.c +++ b/gdb/testsuite/gdb.threads/access-mem-running-thread-exit.c @@ -27,7 +27,7 @@ static volatile unsigned int global_var = 123; -/* Wrapper around pthread_create. */ +/* Wrapper around pthread_create. */ static void create_thread (pthread_t *child, diff --git a/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c b/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c index ec8af64398a..ddc55e60006 100644 --- a/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c +++ b/gdb/testsuite/gdb.threads/attach-many-short-lived-threads.c @@ -34,7 +34,7 @@ int n_threads = 50; /* Mutex used to hold creating detached threads. */ pthread_mutex_t dthrds_create_mutex; -/* Wrapper for pthread_create. */ +/* Wrapper for pthread_create. */ void create_thread (pthread_attr_t *attr, diff --git a/gdb/testsuite/gdb.threads/infcall-from-bp-cond-simple.c b/gdb/testsuite/gdb.threads/infcall-from-bp-cond-simple.c index d7548b1c91b..fb1d634f5e8 100644 --- a/gdb/testsuite/gdb.threads/infcall-from-bp-cond-simple.c +++ b/gdb/testsuite/gdb.threads/infcall-from-bp-cond-simple.c @@ -42,7 +42,7 @@ int function_that_segfaults () { int *p = 0; - *p = 1; /* Segfault happens here. */ + *p = 1; /* Segfault happens here. */ return 0; } diff --git a/gdb/testsuite/gdb.threads/slow-waitpid.c b/gdb/testsuite/gdb.threads/slow-waitpid.c index 8ca2c9f7039..5364e0060e7 100644 --- a/gdb/testsuite/gdb.threads/slow-waitpid.c +++ b/gdb/testsuite/gdb.threads/slow-waitpid.c @@ -324,7 +324,7 @@ sigsuspend (const sigset_t *mask) have a thread alive that is going to deliver a signal but doing this will boost the speed as we don't have to wait for a signal. If the signal ends up being delivered then it should be harmless, we'll just - perform an additional waitpid call. */ + perform an additional waitpid call. */ if (!sigismember (mask, SIGCHLD)) { if (cached_wait_status.cached_p) diff --git a/gdb/testsuite/gdb.threads/stop-with-handle.c b/gdb/testsuite/gdb.threads/stop-with-handle.c index 359e3ca35b3..b7d716f284b 100644 --- a/gdb/testsuite/gdb.threads/stop-with-handle.c +++ b/gdb/testsuite/gdb.threads/stop-with-handle.c @@ -46,7 +46,7 @@ spawn_thread () return 1; } -/* A place for GDB to place a breakpoint. */ +/* A place for GDB to place a breakpoint. */ void __attribute__((used)) breakpt () { diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c index b6afe08be3e..35515fc4ca4 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.c @@ -1090,7 +1090,7 @@ tui_dispatch_ctrl_char (unsigned int ch) return 0; } -/* See tui-io.h. */ +/* See tui-io.h. */ void tui_inject_newline_into_command_window () diff --git a/gdb/utils.c b/gdb/utils.c index 96c60544213..5deecdbba94 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -28,7 +28,7 @@ #endif /* HAVE_SYS_RESOURCE_H */ #ifdef TUI -/* For tui_get_command_dimension and tui_disable. */ +/* For tui_get_command_dimension and tui_disable. */ #include "tui/tui.h" #endif diff --git a/gdb/x86-linux-nat.c b/gdb/x86-linux-nat.c index 3092bb870e0..9c49b3bed47 100644 --- a/gdb/x86-linux-nat.c +++ b/gdb/x86-linux-nat.c @@ -300,7 +300,7 @@ i386_fetch_tls_regs (regcache *regcache, int tid, int regnum) i386_supply_tls_regs (regcache, regnum, tls_ud); } -/* See x86-linux-nat.h. */ +/* See x86-linux-nat.h. */ void i386_store_tls_regs (regcache *regcache, int tid, int regnum) diff --git a/gdbserver/linux-aarch64-low.cc b/gdbserver/linux-aarch64-low.cc index a2588a6e2a9..9283938701a 100644 --- a/gdbserver/linux-aarch64-low.cc +++ b/gdbserver/linux-aarch64-low.cc @@ -1651,7 +1651,7 @@ emit_mov (uint32_t *buf, struct aarch64_register rd, RD is the destination register. IMM is the immediate. - SHIFT is the logical shift left to apply to IMM. */ + SHIFT is the logical shift left to apply to IMM. */ static int emit_movk (uint32_t *buf, struct aarch64_register rd, uint32_t imm, diff --git a/gdbserver/linux-arm-low.cc b/gdbserver/linux-arm-low.cc index 34492c979f1..db84452a102 100644 --- a/gdbserver/linux-arm-low.cc +++ b/gdbserver/linux-arm-low.cc @@ -986,7 +986,7 @@ get_next_pcs_syscall_next_pc (struct arm_get_next_pcs *self) if (svc_number == __NR_sigreturn || svc_number == __NR_rt_sigreturn) { /* SIGRETURN or RT_SIGRETURN may affect the arm thumb mode, so - update IS_THUMB. */ + update IS_THUMB. */ next_pc = arm_sigreturn_next_pc (regcache, svc_number, &is_thumb); } diff --git a/gdbserver/netbsd-low.h b/gdbserver/netbsd-low.h index 265009739a9..bfd81a251d8 100644 --- a/gdbserver/netbsd-low.h +++ b/gdbserver/netbsd-low.h @@ -21,7 +21,7 @@ struct regcache; struct target_desc; -/* Some information relative to a given register set. */ +/* Some information relative to a given register set. */ struct netbsd_regset_info { diff --git a/gdbsupport/signals-state-save-restore.cc b/gdbsupport/signals-state-save-restore.cc index f3b7541a429..addf70865e3 100644 --- a/gdbsupport/signals-state-save-restore.cc +++ b/gdbsupport/signals-state-save-restore.cc @@ -28,7 +28,7 @@ static struct sigaction original_signal_actions[NSIG]; static sigset_t original_signal_mask; #endif -/* See signals-state-save-restore.h. */ +/* See signals-state-save-restore.h. */ void save_original_signals_state (bool quiet) @@ -85,7 +85,7 @@ won't be propagated to spawned programs.\n")); #endif } -/* See signals-state-save-restore.h. */ +/* See signals-state-save-restore.h. */ void restore_original_signals_state (void) base-commit: f621e384d9c26125cdf71875c472fc33989d4997 -- 2.51.0