From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Cc: Joel Brobecker <brobecker@adacore.com>
Subject: [PATCH 1/4] Fix declaration of proc_find_memory_regions
Date: Thu, 20 Sep 2012 16:34:00 -0000 [thread overview]
Message-ID: <1348158841-2313-2-git-send-email-brobecker@adacore.com> (raw)
In-Reply-To: <1348158841-2313-1-git-send-email-brobecker@adacore.com>
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.
---
gdb/procfs.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/gdb/procfs.c b/gdb/procfs.c
index ee2b123..3583e8e 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -141,11 +141,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 *);
--
1.6.5.rc2
next prev parent reply other threads:[~2012-09-20 16:34 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-20 16:34 Various build-related fixes for solaris Joel Brobecker
2012-09-20 16:34 ` Joel Brobecker [this message]
2012-09-27 12:55 ` checked in: [PATCH 1/4] Fix declaration of proc_find_memory_regions Joel Brobecker
2012-09-20 16:34 ` [PATCH 3/4] Add procfs_find_LDT_entry declaration (procfs.h) Joel Brobecker
2012-09-22 14:22 ` Jan Kratochvil
2012-09-27 12:56 ` checked in: " Joel Brobecker
2012-09-20 16:34 ` [PATCH 2/4] Make procfs.c:proc_get_LDT_entry static Joel Brobecker
2012-09-27 12:55 ` checked in: " Joel Brobecker
2012-09-20 16:44 ` [PATCH 4/4] Delete unused functions in sol-thread.c Joel Brobecker
2012-09-20 17:31 ` Pedro Alves
2012-09-20 21:43 ` Joel Brobecker
2012-09-20 22:25 ` Joel Brobecker
2012-09-20 22:25 ` Joel Brobecker
2012-09-24 16:27 ` Pedro Alves
2012-09-24 16:37 ` Joel Brobecker
2012-09-27 13:02 ` checked in: New unit sparc-sol-thread.c extracted from sol-thread.c Joel Brobecker
2012-09-24 16:18 ` [PATCH 4/4] Delete unused functions in sol-thread.c Pedro Alves
2012-09-24 16:40 ` Joel Brobecker
2012-09-27 13:04 ` checked in: sol-thread.c: Remove commented-out code Joel Brobecker
2012-09-27 12:59 ` checked in: [PATCH 4/4] Delete unused functions in sol-thread.c Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1348158841-2313-2-git-send-email-brobecker@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox