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.
This commit is contained in:
Joel Brobecker 2012-09-27 12:51:40 +00:00
parent bad43aa52e
commit 1a04d88fbc
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2012-09-27 Joel Brobecker <brobecker@adacore.com>
* procfs.c (proc_find_memory_regions): Fix declaration.
2012-09-27 Siddhesh Poyarekar <siddhesh@redhat.com> 2012-09-27 Siddhesh Poyarekar <siddhesh@redhat.com>
* amd64-tdep.c (amd64_return_value): Revert previous change * amd64-tdep.c (amd64_return_value): Revert previous change

View File

@ -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 void procfs_find_new_threads (struct target_ops *ops);
static char *procfs_pid_to_str (struct target_ops *, ptid_t); static char *procfs_pid_to_str (struct target_ops *, ptid_t);
static int proc_find_memory_regions (int (*) (CORE_ADDR, static int proc_find_memory_regions (find_memory_region_ftype, void *);
unsigned long,
int, int, int,
void *),
void *);
static char * procfs_make_note_section (bfd *, int *); static char * procfs_make_note_section (bfd *, int *);