+2020-10-13 Kamil Rytarowski <n54@gmx.com>x
+
+ * netbsd-low.cc (netbsd_tdesc): Remove.
+ (netbsd_add_process): Likewise.
+ (netbsd_process_target::create_inferior): Update.
+
2020-10-09 Andrew Burgess <andrew.burgess@embecosm.com>
* linux-arc-low.cc (arc_linux_read_description): Release the
int using_threads = 1;
-const struct target_desc *netbsd_tdesc;
-
-/* Call add_process with the given parameters, and initialize
- the process' private data. */
-
-static void
-netbsd_add_process (int pid, int attached)
-{
- struct process_info *proc = add_process (pid, attached);
- proc->tdesc = netbsd_tdesc;
- proc->priv = nullptr;
-}
-
/* Callback used by fork_inferior to start tracing the inferior. */
static void
get_environ ()->envp (), netbsd_ptrace_fun,
nullptr, nullptr, nullptr, nullptr);
- netbsd_add_process (pid, 0);
+ add_process (pid, 0);
post_fork_inferior (pid, program);