aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-09-27 12:51:40 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-09-27 12:51:40 +0000
commit1a04d88fbcb248ee3156732cc38d7cff045cf117 (patch)
treeb1adc277479848b73fb743756ea355913d6fb325 /gdb/procfs.c
parentbad43aa52e2d7018830ae79c522f74b4dc3260e4 (diff)
downloadgdb-1a04d88fbcb248ee3156732cc38d7cff045cf117.zip
gdb-1a04d88fbcb248ee3156732cc38d7cff045cf117.tar.gz
gdb-1a04d88fbcb248ee3156732cc38d7cff045cf117.tar.bz2
Fix declaration of proc_find_memory_regions
This function is used as a target_ops callback. The function implemention was recently changed, but the declaration wasn't updated accordingly. This fixes a build failure on Solaris. gdb/ChangeLog: * procfs.c (proc_find_memory_regions): Fix declaration.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 3011017..38c2c66 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -142,11 +142,7 @@ static int procfs_thread_alive (struct target_ops *ops, ptid_t);
static void procfs_find_new_threads (struct target_ops *ops);
static char *procfs_pid_to_str (struct target_ops *, ptid_t);
-static int proc_find_memory_regions (int (*) (CORE_ADDR,
- unsigned long,
- int, int, int,
- void *),
- void *);
+static int proc_find_memory_regions (find_memory_region_ftype, void *);
static char * procfs_make_note_section (bfd *, int *);