diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-04-12 23:47:06 +0200 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-04-13 11:49:36 +0200 |
commit | 1085dfd4e1242fab231b26093882f4e2526d14d0 (patch) | |
tree | 0b0498b834b287f761c1d53a08ba1bac6c7fd960 /gdb/nbsd-nat.c | |
parent | Automatic date update in version.in (diff) | |
download | binutils-gdb-1085dfd4e1242fab231b26093882f4e2526d14d0.tar.gz binutils-gdb-1085dfd4e1242fab231b26093882f4e2526d14d0.tar.bz2 binutils-gdb-1085dfd4e1242fab231b26093882f4e2526d14d0.zip |
Implement IP_MINIMAL and IP_ALL on NetBSD
gdb/ChangeLog:
* nbsd-nat.c (nbsd_nat_target::info_proc): Add IP_MINIMAL and
IP_ALL.
Diffstat (limited to 'gdb/nbsd-nat.c')
-rw-r--r-- | gdb/nbsd-nat.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/nbsd-nat.c b/gdb/nbsd-nat.c index fa49ac26c9b..5eaf9dec8af 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.")); } |