From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21914 invoked by alias); 20 Sep 2012 16:34:30 -0000 Received: (qmail 21677 invoked by uid 22791); 20 Sep 2012 16:34:28 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Sep 2012 16:34:14 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id B83DE2900E0; Thu, 20 Sep 2012 18:34:23 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O1q9mjd0ebNP; Thu, 20 Sep 2012 18:34:23 +0200 (CEST) Received: from chinon.act-europe.fr (chinon.act-europe.fr [10.10.0.182]) by mel.act-europe.fr (Postfix) with ESMTP id A50752900DD; Thu, 20 Sep 2012 18:34:23 +0200 (CEST) Received: by chinon.act-europe.fr (Postfix, from userid 507) id BC905D8B81; Thu, 20 Sep 2012 18:34:10 +0200 (CEST) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Joel Brobecker Subject: [PATCH 1/4] Fix declaration of proc_find_memory_regions Date: Thu, 20 Sep 2012 16:34:00 -0000 Message-Id: <1348158841-2313-2-git-send-email-brobecker@adacore.com> In-Reply-To: <1348158841-2313-1-git-send-email-brobecker@adacore.com> References: <1348158841-2313-1-git-send-email-brobecker@adacore.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00405.txt.bz2 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