From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25112 invoked by alias); 19 May 2014 19:15:30 -0000 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 Received: (qmail 25097 invoked by uid 89); 19 May 2014 19:15:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 May 2014 19:15:28 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4JJFN12002413 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 May 2014 15:15:23 -0400 Received: from barimba (ovpn-113-182.phx2.redhat.com [10.3.113.182]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4JJFLSq002365 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Mon, 19 May 2014 15:15:22 -0400 From: Tom Tromey To: Jan Kratochvil Cc: gdb-patches@sourceware.org, Aleksandar Ristovski Subject: Re: [PATCH v5 4/8] Prepare linux_find_memory_regions_full & co. for move References: <20140319223004.14668.20989.stgit@host1.jankratochvil.net> <20140319223059.14668.66553.stgit@host1.jankratochvil.net> Date: Mon, 19 May 2014 19:15:00 -0000 In-Reply-To: <20140319223059.14668.66553.stgit@host1.jankratochvil.net> (Jan Kratochvil's message of "Wed, 19 Mar 2014 23:30:59 +0100") Message-ID: <87ppj9wpfa.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-05/txt/msg00371.txt.bz2 >>>>> "Jan" == Jan Kratochvil writes: Jan> 2014-02-26 Aleksandar Ristovski Prepare linux_find_memory_regions_full & co. for move. Jan> * linux-tdep.c (linux_find_memory_region_ftype): Comment. Jan> (linux_find_memory_regions_full): Change signature and prepare Jan> for moving to linux-maps. Jan> (linux_find_memory_regions_data): Rename field 'obfd' to 'data'. Jan> (linux_find_memory_regions_thunk): New. Jan> (linux_find_memory_regions_thunk): Use 'data' field instead of 'obfd'. Jan> (linux_find_memory_regions_gdb): New. Jan> (linux_find_memory_regions): Rename argument 'obfd' to 'func_data'. Jan> (linux_make_mappings_corefile_notes): Use Jan> linux_find_memory_regions_gdb. Jan> * target.c (read_alloc_pread_ftype): New typedef. Jan> (target_fileio_read_alloc_1_pread): New function. Jan> (read_alloc): Refactor from target_fileio_read_alloc_1. Jan> (read_stralloc_func_ftype): New typedef. Jan> (target_fileio_read_alloc_1): New implementation. Use read_alloc. Jan> (read_stralloc): Refactored from target_fileio_read_stralloc. Jan> (target_fileio_read_stralloc): New implementation, use read_stralloc. Ok. Tom