diff options
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index a0dc634..f76eaec 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -3591,10 +3591,8 @@ linux_nat_info_proc_cmd (char *args, int from_tty) if (args) { /* Break up 'args' into an argv array. */ - if ((argv = buildargv (args)) == NULL) - nomem (0); - else - make_cleanup_freeargv (argv); + argv = gdb_buildargv (args); + make_cleanup_freeargv (argv); } while (argv != NULL && *argv != NULL) { |