+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>
* netbsd-low.cc (netbsd_process_target::read_memory)
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. */
{
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
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;