aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
diff options
context:
space:
mode:
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 dae4343..2620dcd 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);