* gdbint.texinfo (POP_FRAME): Document use by return_command.
[deliverable/binutils-gdb.git] / gdb / windows-nat.c
index ed87213e94924708a346aa34017cf698bf00e696..10d6bd8c98d9e800e4d6d3c61db037e1a9f8174c 100644 (file)
@@ -249,7 +249,7 @@ child_init_thread_list (void)
       thread_info *here = th->next;
       th->next = here->next;
       (void) CloseHandle (here->h);
-      free (here);
+      xfree (here);
     }
 }
 
@@ -273,7 +273,7 @@ child_delete_thread (DWORD id)
       thread_info *here = th->next;
       th->next = here->next;
       CloseHandle (here->h);
-      free (here);
+      xfree (here);
     }
 }
 
@@ -463,7 +463,6 @@ static struct objfile *
 safe_symbol_file_add (char *name, int from_tty,
                      struct section_addr_info *addrs,
                      int mainline, int flags)
-
 {
   struct safe_symbol_file_add_args p;
   struct cleanup *cleanup;
@@ -620,7 +619,7 @@ child_clear_solibs (void)
   while ((so = so1) != NULL)
     {
       so1 = so->next;
-      free (so);
+      xfree (so);
     }
 
   solib_start.next = NULL;
@@ -716,7 +715,7 @@ handle_output_debug_string (struct target_waitstatus *ourstatus)
        ourstatus->kind = TARGET_WAITKIND_STOPPED;
     }
 
-  free (s);
+  xfree (s);
   return gotasig;
 }
 
@@ -1541,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;
@@ -1611,9 +1610,9 @@ core_section_load_dll_symbols (bfd * abfd, asection * sect, PTR obj)
 
 out:
   if (buf)
-    free (buf);
+    xfree (buf);
   if (dll_name)
-    free (dll_name);
+    xfree (dll_name);
   return;
 }
 
This page took 0.02367 seconds and 4 git commands to generate.