From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24660 invoked by alias); 10 Dec 2014 22:05:09 -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 24642 invoked by uid 89); 10 Dec 2014 22:05:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pa0-f49.google.com Received: from mail-pa0-f49.google.com (HELO mail-pa0-f49.google.com) (209.85.220.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 10 Dec 2014 22:05:02 +0000 Received: by mail-pa0-f49.google.com with SMTP id eu11so3626241pac.36 for ; Wed, 10 Dec 2014 14:05:00 -0800 (PST) X-Received: by 10.70.88.231 with SMTP id bj7mr10938061pdb.168.1418249100642; Wed, 10 Dec 2014 14:05:00 -0800 (PST) Received: from bubble.grove.modra.org (CPE-58-160-155-134.oycza5.sa.bigpond.net.au. [58.160.155.134]) by mx.google.com with ESMTPSA id f12sm5062061pdm.90.2014.12.10.14.04.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Dec 2014 14:04:59 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 3330CEA017C; Thu, 11 Dec 2014 08:34:54 +1030 (ACDT) Date: Wed, 10 Dec 2014 22:05:00 -0000 From: Alan Modra To: Keith Seitz Cc: binutils@sourceware.org, gdb-patches@sourceware.org Subject: Re: [PATCH] Commit f64e188b5 broke core file support in gdb Message-ID: <20141210220453.GA4283@bubble.grove.modra.org> Mail-Followup-To: Keith Seitz , binutils@sourceware.org, gdb-patches@sourceware.org References: <1418246544-28431-1-git-send-email-keiths@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1418246544-28431-1-git-send-email-keiths@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-12/txt/msg00235.txt.bz2 On Wed, Dec 10, 2014 at 01:22:24PM -0800, Keith Seitz wrote: > * elf.c (elf_parse_notes): Define convenience macro > GROKER_ELEMENT to add string lengths to 'grokers'. > Use grokers.len instead of sizeof in string comparisons. OK, thanks. -- Alan Modra Australia Development Lab, IBM