Implement "info proc cmdline" for NetBSD
authorKamil Rytarowski <n54@gmx.com>
Sun, 12 Apr 2020 19:09:48 +0000 (21:09 +0200)
committerKamil Rytarowski <n54@gmx.com>
Sun, 12 Apr 2020 19:33:06 +0000 (21:33 +0200)
commit49d1d1f53df552f0592b1cc4cc9a74db70d5ffa7
tree00e8d6449239504dd1781e6e82a8be5e10abf18c
parentb4848d2a7b63d6001051f39d50ca965cb4210951
Implement "info proc cmdline" for NetBSD

Add nbsd_pid_to_cmdline() to query the program command line.

gdb/ChangeLog:

        * nbsd-nat.c (nbsd_pid_to_cmdline): Add.
        (nbsd_nat_target::info_proc): Add do_cmdline.
gdb/ChangeLog
gdb/nbsd-nat.c