Implement IP_STAT+IP_STATUS (aliases of the same format) on NetBSD
authorKamil Rytarowski <n54@gmx.com>
Mon, 13 Apr 2020 11:05:59 +0000 (13:05 +0200)
committerKamil Rytarowski <n54@gmx.com>
Tue, 14 Apr 2020 15:35:56 +0000 (17:35 +0200)
commit06ca5dd49ac45e814ca167f441ac0b191b50bb37
tree8a32d10951c5c5c2f79b83fc1d5e80002035d1e8
parent34ca55313b8e6c0f6354f2dc5a3a35e38c32ae82
Implement IP_STAT+IP_STATUS (aliases of the same format) on NetBSD

Output based on FreeBSD with the following changes:
 - "utime+stime, children" merged from "utime, children" and
   "stime, children".
 - "Minor faults, children", "Major faults, children",
   "Virtual memory size" removed as not available in a direct
   equivalent.

No new values missing or skipped in FreeBSD are printed, although
there is a long list of potential candiates.

gdb/ChangeLog:

        * nbsd-nat.c (nbsd_pid_to_kinfo_proc2): New.
        (nbsd_nat_target::info_proc): Add do_status.
gdb/ChangeLog
gdb/nbsd-nat.c