/* Find the current gdbarch the same way as process_stratum_target. Only
return it if the current vector length matches the one in the tdep. */
- inferior *inf = find_inferior_ptid (ptid);
+ inferior *inf = find_inferior_ptid (this, ptid);
gdb_assert (inf != NULL);
if (vq == gdbarch_tdep (inf->gdbarch)->vq)
return inf->gdbarch;
&maintenance_show_cmdlist);
}
+void _initialize_aarch64_linux_nat ();
void
-_initialize_aarch64_linux_nat (void)
+_initialize_aarch64_linux_nat ()
{
add_show_debug_regs_command ();