diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-09-27 12:51:37 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-09-27 12:51:37 +0000 |
commit | eb409aa6a3535f6ea4576a2e5ac0263847436dfa (patch) | |
tree | 4a14b3ff678c54685adeea0c84614128cdb1d3b5 | |
parent | cec90d9d386f57f116e114c50e4287281420f531 (diff) | |
download | gdb-eb409aa6a3535f6ea4576a2e5ac0263847436dfa.tar.gz |
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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/procfs.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f66812097fc..0c713e1b912 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> * amd64-tdep.c (amd64_return_value): Revert previous change diff --git a/gdb/procfs.c b/gdb/procfs.c index 30110178aa0..38c2c662440 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 *); |