From 1085dfd4e1242fab231b26093882f4e2526d14d0 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Sun, 12 Apr 2020 23:47:06 +0200 Subject: Implement IP_MINIMAL and IP_ALL on NetBSD gdb/ChangeLog: * nbsd-nat.c (nbsd_nat_target::info_proc): Add IP_MINIMAL and IP_ALL. --- gdb/nbsd-nat.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gdb/nbsd-nat.c') diff --git a/gdb/nbsd-nat.c b/gdb/nbsd-nat.c index fa49ac2..5eaf9de 100644 --- a/gdb/nbsd-nat.c +++ b/gdb/nbsd-nat.c @@ -347,6 +347,11 @@ nbsd_nat_target::info_proc (const char *args, enum info_proc_what what) switch (what) { + case IP_MINIMAL: + do_cmdline = true; + do_cwd = true; + do_exe = true; + break; case IP_MAPPINGS: do_mappings = true; break; @@ -359,6 +364,12 @@ nbsd_nat_target::info_proc (const char *args, enum info_proc_what what) case IP_CWD: do_cwd = true; break; + case IP_ALL: + do_cmdline = true; + do_cwd = true; + do_exe = true; + do_mappings = true; + break; default: error (_("Not supported on this target.")); } -- cgit v1.1