X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=gdb%2Fremote-mips.c;h=a996124772d5356127ab1626f4b23323dc1d8c60;hb=5ac6c51a4987ba2a168aa025c0bb3a6b30c9ef0f;hp=bde8614a7b9a8fcc84ae1ba6625f3f7f56ac2c2f;hpb=1a528656c56a81c26edd333d43fdb757700de276;p=pf3gnuchains%2Fpf3gnuchains3x.git diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index bde8614a7b..a996124772 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -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]);