]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Implement IP_MINIMAL and IP_ALL on NetBSD
authorKamil Rytarowski <n54@gmx.com>
Sun, 12 Apr 2020 21:47:06 +0000 (23:47 +0200)
committerKamil Rytarowski <n54@gmx.com>
Mon, 13 Apr 2020 09:49:36 +0000 (11:49 +0200)
gdb/ChangeLog:

       * nbsd-nat.c (nbsd_nat_target::info_proc): Add IP_MINIMAL and
       IP_ALL.

gdb/ChangeLog
gdb/nbsd-nat.c

index 6fd38361d3cb9548bc1f084a0782a78b0f7028b7..7d91abf6334cdca9f354a1f06d1c5b739697089a 100644 (file)
@@ -1,3 +1,8 @@
+2020-04-12  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-nat.c (nbsd_nat_target::info_proc): Add IP_MINIMAL and
+       IP_ALL.
+
 2020-04-12  Kamil Rytarowski  <n54@gmx.com>
 
        * nbsd-nat.c (nbsd_pid_to_cmdline): Add.
index fa49ac26c9bfa4ede635163c053041b902b8b4c0..5eaf9dec8afc2c6528cb23d101edb5ab975d42e5 100644 (file)
@@ -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."));
     }