diff options
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -634,12 +634,13 @@ extern void init_source_path (void); /* From exec.c */ +typedef int (*find_memory_region_ftype) (CORE_ADDR addr, unsigned long size, + int read, int write, int exec, + void *data); + /* Take over the 'find_mapped_memory' vector from exec.c. */ -extern void exec_set_find_memory_regions (int (*) (int (*) (CORE_ADDR, - unsigned long, - int, int, int, - void *), - void *)); +extern void exec_set_find_memory_regions + (int (*func) (find_memory_region_ftype func, void *data)); /* Possible lvalue types. Like enum language, this should be in value.h, but needs to be here for the same reason. */ |