static void amd64fbsd_mourn_inferior (struct target_ops *ops) { #ifdef HAVE_PT_GETDBREGS i386_cleanup_dregs (); #endif super_mourn_inferior (ops); }
static void amd64dfly_mourn_inferior (struct target_ops *ops) { #ifdef HAVE_PT_GETDBREGS if (!is_vkernel()) i386_cleanup_dregs (); #endif super_mourn_inferior (ops); }
static void ia64_hpux_mourn_inferior (struct target_ops *ops) { const int pid = ptid_get_pid (inferior_ptid); int status; super_mourn_inferior (ops); /* On this platform, the process still exists even after we received an exit event. Detaching from the process isn't sufficient either, as it only turns the process into a zombie. So the only solution we found is to kill it. */ ttrace (TT_PROC_EXIT, pid, 0, 0, 0, 0); wait (&status); }