OSDN Git Service

2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
[pf3gnuchains/pf3gnuchains3x.git] / gdb / remote-mips.c
index bde8614..a996124 100644 (file)
@@ -1490,8 +1490,7 @@ device is attached to the target board (e.g., /dev/ttya).\n"
 
   /* Parse the serial port name, the optional TFTP name, and the
      optional local TFTP name.  */
-  if ((argv = buildargv (name)) == NULL)
-    nomem (0);
+  argv = gdb_buildargv (name);
   make_cleanup_freeargv (argv);
 
   serial_port_name = xstrdup (argv[0]);