convert to_memory_map
[deliverable/binutils-gdb.git] / gdb / target.h
index ecfd1a2d338800f4a8d10e37c17c4b047e5dbad6..e6e78e17d8a7ddf8be64bbec893b10be0bbf3fdb 100644 (file)
@@ -669,7 +669,8 @@ struct target_ops
        This method should not cache data; if the memory map could
        change unexpectedly, it should be invalidated, and higher
        layers will re-fetch it.  */
-    VEC(mem_region_s) *(*to_memory_map) (struct target_ops *);
+    VEC(mem_region_s) *(*to_memory_map) (struct target_ops *)
+      TARGET_DEFAULT_RETURN (0);
 
     /* Erases the region of flash memory starting at ADDRESS, of
        length LENGTH.
This page took 0.024106 seconds and 4 git commands to generate.