summaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-12-07 03:56:43 +0000
committerJason Molenda <jmolenda@apple.com>1999-12-07 03:56:43 +0000
commitc2d11a7da0372ef052af1c74d56e264d8aae4743 (patch)
treeb2ceadb275bb9a170315ab66111c1f643c9ebf71 /gdb/go32-nat.c
parent1e37c28164d4f504b2ae8189d0b82a862cfa323d (diff)
downloadbinutils-gdb-c2d11a7da0372ef052af1c74d56e264d8aae4743.tar.gz
import gdb-1999-12-06 snapshot
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r--gdb/go32-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index dae43439988..2620dcd9332 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -692,7 +692,7 @@ go32_create_inferior (char *exec_file, char *args, char **env)
error ("Syntax error in command line.");
}
else
- child_cmd.command = strdup (args);
+ child_cmd.command = xstrdup (args);
cmdline = (char *) alloca (strlen (args) + 4);
cmdline[0] = strlen (args);