aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/netbsd-low.cc
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-10-02 03:57:16 +0200
committerKamil Rytarowski <n54@gmx.com>2020-10-07 15:08:31 +0200
commit2be01f639c0983caeafdd36127ac3ef517d7a643 (patch)
tree8612b5d69b2864fa15b4794a39fa4bdcea3d4271 /gdbserver/netbsd-low.cc
parent91e5e8db334b9a87c54f03982dfa0c88e3c9d7a1 (diff)
downloadgdb-2be01f639c0983caeafdd36127ac3ef517d7a643.zip
gdb-2be01f639c0983caeafdd36127ac3ef517d7a643.tar.gz
gdb-2be01f639c0983caeafdd36127ac3ef517d7a643.tar.bz2
Fix whitespace formatting
gdbserver/ChangeLog: * netbsd-low.cc: Fix whitespace formatting. * netbsd-amd64-low.cc: Likewise.
Diffstat (limited to 'gdbserver/netbsd-low.cc')
-rw-r--r--gdbserver/netbsd-low.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbserver/netbsd-low.cc b/gdbserver/netbsd-low.cc
index e5ea823..e5ced11 100644
--- a/gdbserver/netbsd-low.cc
+++ b/gdbserver/netbsd-low.cc
@@ -577,7 +577,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
@@ -836,7 +836,7 @@ get_dynamic (netbsd_process_target *target, 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;