From: Kamil Rytarowski <n54@gmx.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 10/10] Fix whitespace formatting
Date: Fri, 2 Oct 2020 04:18:04 +0200 [thread overview]
Message-ID: <20201002021804.2814-11-n54@gmx.com> (raw)
In-Reply-To: <20201002021804.2814-1-n54@gmx.com>
gdbserver/ChangeLog:
* netbsd-low.cc: Fix whitespace formatting.
* netbsd-amd64-low.cc: Likewise.
---
gdbserver/ChangeLog | 5 +++++
gdbserver/netbsd-amd64-low.cc | 10 +++++-----
gdbserver/netbsd-low.cc | 4 ++--
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index 0c1c40e0581..0c29ae136d4 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-01 Kamil Rytarowski <n54@gmx.com>
+
+ * netbsd-low.cc: Fix whitespace formatting.
+ * netbsd-amd64-low.cc: Likewise.
+
2020-10-01 Kamil Rytarowski <n54@gmx.com>
* netbsd-low.cc (get_phdr_phnum_from_proc_auxv): Turn into...
diff --git a/gdbserver/netbsd-amd64-low.cc b/gdbserver/netbsd-amd64-low.cc
index c59ebc8f2cf..f3d30d7e7cc 100644
--- a/gdbserver/netbsd-amd64-low.cc
+++ b/gdbserver/netbsd-amd64-low.cc
@@ -159,11 +159,11 @@ netbsd_x86_64_store_gregset (struct regcache *regcache, const char *buf)
static const struct netbsd_regset_info netbsd_target_regsets[] =
{
- /* General Purpose Registers. */
- {PT_GETREGS, PT_SETREGS, sizeof (struct reg),
- netbsd_x86_64_fill_gregset, netbsd_x86_64_store_gregset},
- /* End of list marker. */
- {0, 0, -1, NULL, NULL }
+ /* General Purpose Registers. */
+ {PT_GETREGS, PT_SETREGS, sizeof (struct reg),
+ netbsd_x86_64_fill_gregset, netbsd_x86_64_store_gregset},
+ /* End of list marker. */
+ {0, 0, -1, NULL, NULL }
};
/* NetBSD target op definitions for the amd64 architecture. */
diff --git a/gdbserver/netbsd-low.cc b/gdbserver/netbsd-low.cc
index f1011cdfe73..cde4c5682b4 100644
--- a/gdbserver/netbsd-low.cc
+++ b/gdbserver/netbsd-low.cc
@@ -615,7 +615,7 @@ netbsd_process_target::request_interrupt ()
{
ptid_t inferior_ptid = ptid_of (get_first_thread ());
- ::kill (inferior_ptid.pid(), SIGINT);
+ ::kill (inferior_ptid.pid (), SIGINT);
}
/* Read the AUX Vector for the specified PID, wrapping the ptrace(2) call
@@ -876,7 +876,7 @@ netbsd_process_target::get_dynamic (const pid_t pid)
CORE_ADDR relocation = -1;
for (int i = 0; relocation == -1 && i < num_phdr; i++)
{
- phdr_type *const p = (phdr_type *) (phdr_buf.data() + i * phdr_size);
+ phdr_type *const p = (phdr_type *) (phdr_buf.data () + i * phdr_size);
if (p->p_type == PT_PHDR)
relocation = phdr_memaddr - p->p_vaddr;
--
2.28.0
next prev parent reply other threads:[~2020-10-02 2:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-02 2:17 [PATCH 00/10] Refactor the NetBSD gdbserver support Kamil Rytarowski
2020-10-02 2:17 ` [PATCH 01/10] Merge netbsd_ptrace_fun into the netbsd_process_target class Kamil Rytarowski
2020-10-07 2:37 ` Simon Marchi
2020-10-07 4:36 ` Kamil Rytarowski
2020-10-07 11:19 ` Simon Marchi
2020-10-07 12:27 ` Kamil Rytarowski
2020-10-02 2:17 ` [PATCH 02/10] Include elf_64_file_p in " Kamil Rytarowski
2020-10-07 2:45 ` Simon Marchi
2020-10-02 2:17 ` [PATCH 03/10] Remove unneeded netbsd_add_process() Kamil Rytarowski
2020-10-07 2:48 ` Simon Marchi
2020-10-02 2:17 ` [PATCH 04/10] Include gdb_catching_syscalls_p in the netbsd_process_target class Kamil Rytarowski
2020-10-07 2:55 ` Simon Marchi
2020-10-02 2:17 ` [PATCH 05/10] Include netbsd_wait " Kamil Rytarowski
2020-10-07 2:58 ` Simon Marchi
2020-10-02 2:18 ` [PATCH 06/10] Include netbsd_waitpid " Kamil Rytarowski
2020-10-02 2:18 ` [PATCH 07/10] Include netbsd_store_waitstatus " Kamil Rytarowski
2020-10-02 2:18 ` [PATCH 08/10] Include netbsd_catch_this_syscall " Kamil Rytarowski
2020-10-07 3:00 ` Simon Marchi
2020-10-02 2:18 ` [PATCH 09/10] Include the functions of qxfer_libraries_svr4 in netbsd_process_target Kamil Rytarowski
2020-10-07 3:02 ` Simon Marchi
2020-10-02 2:18 ` Kamil Rytarowski [this message]
2020-10-07 3:02 ` [PATCH 10/10] Fix whitespace formatting Simon Marchi
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=20201002021804.2814-11-n54@gmx.com \
--to=n54@gmx.com \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).