* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
authorChristopher Faylor <me+cygwin@cgf.cx>
Tue, 28 Nov 2000 17:27:38 +0000 (17:27 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Tue, 28 Nov 2000 17:27:38 +0000 (17:27 +0000)
gdb/ChangeLog
gdb/win32-nat.c
gdb/windows-nat.c

index 9b527bbafc98500cc9b58a79aff574e95343ad5e..043a31d0e41edaa554a0aee5a2d314852473d410 100644 (file)
@@ -1,3 +1,7 @@
+Tue Nov 28 12:24:43 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
+
 Mon Nov 27 11:45:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * remote.c (remote_write_bytes): Add default case to switch
index 62db43fb62d2417c9c2f96052ae1bf804b74c7f1..ce78a6d1818d124f8376fdd33725655dd637a680 100644 (file)
@@ -1540,7 +1540,7 @@ dll_code_sections_add (const char *dll_name, int base_addr, struct target_ops *t
   char *name;
   if (dll_name == NULL || target == NULL)
     return 0;
-  name = strdup (dll_name);
+  name = xstrdup (dll_name);
   dll_bfd = bfd_openr (name, "pei-i386");
   if (dll_bfd == NULL)
     return 0;
index 62db43fb62d2417c9c2f96052ae1bf804b74c7f1..ce78a6d1818d124f8376fdd33725655dd637a680 100644 (file)
@@ -1540,7 +1540,7 @@ dll_code_sections_add (const char *dll_name, int base_addr, struct target_ops *t
   char *name;
   if (dll_name == NULL || target == NULL)
     return 0;
-  name = strdup (dll_name);
+  name = xstrdup (dll_name);
   dll_bfd = bfd_openr (name, "pei-i386");
   if (dll_bfd == NULL)
     return 0;
This page took 0.031351 seconds and 4 git commands to generate.