Add support for FreeBSD/i386 ELF.
[deliverable/binutils-gdb.git] / gdb / kod.c
index cbe093fd419948298b112721b99575c14b4f17fc..0a90677746c39f5eb4d76c2dfe5ad16003dfab4e 100644 (file)
--- a/gdb/kod.c
+++ b/gdb/kod.c
@@ -31,7 +31,6 @@
 void _initialize_kod (void);
 
 /* Prototypes for local functions.  */
-static void show_kod (char *, int);
 static void info_kod_command (char *, int);
 static void load_kod_library (char *);
 
@@ -146,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)
     {
This page took 0.023416 seconds and 4 git commands to generate.