Fix whitespace formatting

gdbserver/ChangeLog:

        * netbsd-low.cc: Fix whitespace formatting.
        * netbsd-amd64-low.cc: Likewise.
This commit is contained in:
Kamil Rytarowski 2020-10-02 03:57:16 +02:00
parent 91e5e8db33
commit 2be01f639c
3 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2020-10-07 Kamil Rytarowski <n54@gmx.com>
* netbsd-low.cc: Fix whitespace formatting.
* netbsd-amd64-low.cc: Likewise.
2020-10-07 Kamil Rytarowski <n54@gmx.com> 2020-10-07 Kamil Rytarowski <n54@gmx.com>
* netbsd-low.cc (netbsd_process_target::read_memory) * netbsd-low.cc (netbsd_process_target::read_memory)

View File

@ -577,7 +577,7 @@ netbsd_process_target::request_interrupt ()
{ {
ptid_t inferior_ptid = ptid_of (get_first_thread ()); 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 /* 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; CORE_ADDR relocation = -1;
for (int i = 0; relocation == -1 && i < num_phdr; i++) 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) if (p->p_type == PT_PHDR)
relocation = phdr_memaddr - p->p_vaddr; relocation = phdr_memaddr - p->p_vaddr;