Implement IP_MINIMAL and IP_ALL on NetBSD
gdb/ChangeLog: * nbsd-nat.c (nbsd_nat_target::info_proc): Add IP_MINIMAL and IP_ALL.
This commit is contained in:
parent
b23b09ad31
commit
1085dfd4e1
2 changed files with 16 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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."));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue