summaryrefslogtreecommitdiff
path: root/gdb/kod.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-12-07 03:56:43 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-12-07 03:56:43 +0000
commitecd8390290ac2bf41f22122ea01924dcd108af34 (patch)
treefc8310b6f500d05013970d228f2993a81dd6b14b /gdb/kod.c
parentc13f725cbfef435a3cbc607745a9b917a756c101 (diff)
downloadgdb-ecd8390290ac2bf41f22122ea01924dcd108af34.tar.gz
import gdb-1999-12-06 snapshot
Diffstat (limited to 'gdb/kod.c')
-rw-r--r--gdb/kod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/kod.c b/gdb/kod.c
index e9b5ebc0890..0a90677746c 100644
--- a/gdb/kod.c
+++ b/gdb/kod.c
@@ -145,7 +145,7 @@ kod_set_os (char *arg, int from_tty, struct cmd_list_element *command)
delete_cmd (old_operating_system, &infolist);
free (old_operating_system);
}
- old_operating_system = strdup (operating_system);
+ old_operating_system = xstrdup (operating_system);
if (! operating_system || ! *operating_system)
{