aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index 3987d87..ced664e 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -234,7 +234,7 @@ udi_open (char *name, int from_tty)
if (!name)
error ("Usage: target udi config_id, where config_id appears in udi_soc file");
- udi_config_id = strdup (strtok (name, " \t"));
+ udi_config_id = xstrdup (strtok (name, " \t"));
if (UDIConnect (udi_config_id, &udi_session_id))
/* FIXME: Should set udi_session_id to -1 here. */