From: Kamil Rytarowski Date: Fri, 2 Oct 2020 01:57:16 +0000 (+0200) Subject: Fix whitespace formatting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2be01f639c0983caeafdd36127ac3ef517d7a643;p=binutils-gdb.git Fix whitespace formatting gdbserver/ChangeLog: * netbsd-low.cc: Fix whitespace formatting. * netbsd-amd64-low.cc: Likewise. --- diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog index 1709f3f3f11..99315e94136 100644 --- a/gdbserver/ChangeLog +++ b/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2020-10-07 Kamil Rytarowski + + * netbsd-low.cc: Fix whitespace formatting. + * netbsd-amd64-low.cc: Likewise. + 2020-10-07 Kamil Rytarowski * netbsd-low.cc (netbsd_process_target::read_memory) 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 e5ea8233e00..e5ced113b01 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;