2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
[deliverable/binutils-gdb.git] / gdb / exec.c
index 94e0a0d3500d936e320d99ff6e75b358a27f5a63..3b9ecfa23f8849ffc6268a8551d70994f28b0915 100644 (file)
@@ -302,10 +302,7 @@ exec_file_command (char *args, int from_tty)
       /* Scan through the args and pick up the first non option arg
          as the filename.  */
 
-      argv = buildargv (args);
-      if (argv == NULL)
-        nomem (0);
-
+      argv = gdb_buildargv (args);
       make_cleanup_freeargv (argv);
 
       for (; (*argv != NULL) && (**argv == '-'); argv++)
This page took 0.02513 seconds and 4 git commands to generate.