compile: Use also inferior munmap
[deliverable/binutils-gdb.git] / gdb / arch-utils.c
index 8c3eb7c2b38754ee8fa64cba1a52943a0c972569..7f07e21427409cd8e0e8d43d09dd66785f17e7cb 100644 (file)
@@ -864,6 +864,12 @@ default_infcall_mmap (CORE_ADDR size, unsigned prot)
   error (_("This target does not support inferior memory allocation by mmap."));
 }
 
+void
+default_infcall_munmap (CORE_ADDR addr, CORE_ADDR size)
+{
+  /* Memory reserved by inferior mmap is kept leaked.  */
+}
+
 /* -mcmodel=large is used so that no GOT (Global Offset Table) is needed to be
    created in inferior memory by GDB (normally it is set by ld.so).  */
 
This page took 0.024797 seconds and 4 git commands to generate.