From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21516 invoked by alias); 13 Jan 2004 18:46:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21504 invoked from network); 13 Jan 2004 18:46:04 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 13 Jan 2004 18:46:04 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C48042B8F; Tue, 13 Jan 2004 13:46:03 -0500 (EST) Message-ID: <40043CEB.1020108@gnu.org> Date: Tue, 13 Jan 2004 18:46:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] gcore: ignore no protection segments References: <16388.9214.960234.384619@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00350.txt.bz2 + + if (read == 0 && write == 0 && exec == 0) + { + if (info_verbose) + { + fprintf_filtered (gdb_stdout, "Ignore segment, %lld bytes at 0x%s\n",+ (long long) size, paddr_nz (vaddr)); + } + + return 0; + } Makes sense. Suggest adding a few details in a comment, and paddr_d(size) for the length. Andrew