From 1969df89190a78c88c99478eac88556132397402 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 9 Aug 2012 09:24:23 +0000 Subject: [PATCH] gdb/ * fbsd-nat.h (fbsd_find_memory_regions): Use find_memory_region_ftype. --- gdb/ChangeLog | 5 +++++ gdb/fbsd-nat.h | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 55303f9..49c1d29 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-08-09 Andreas Tobler + Jan Kratochvil + + * fbsd-nat.h (fbsd_find_memory_regions): Use find_memory_region_ftype. + 2012-08-09 Yao Qi * cli/cli-cmds.c (enablebreaklist): Move it to breakpoint.c. diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h index 94d3515..2f6cd24 100644 --- a/gdb/fbsd-nat.h +++ b/gdb/fbsd-nat.h @@ -29,9 +29,7 @@ extern char *fbsd_pid_to_exec_file (int pid); calling FUNC for each memory region. OBFD is passed as the last argument to FUNC. */ -extern int fbsd_find_memory_regions (int (*func) (CORE_ADDR, unsigned long, - int, int, int, void *), - void *obfd); +extern int fbsd_find_memory_regions (find_memory_region_ftype func, void *obfd); /* Create appropriate note sections for a corefile, returning them in allocated memory. */ -- 2.7.4