From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81409 invoked by alias); 20 Jun 2016 17:10:21 -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 81348 invoked by uid 89); 20 Jun 2016 17:10:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=Hx-languages-length:967 X-HELO: bigwig.baldwin.cx Received: from bigwig.baldwin.cx (HELO bigwig.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 20 Jun 2016 17:10:11 +0000 Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 16136B9A8 for ; Mon, 20 Jun 2016 13:10:09 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Subject: Re: [PATCH 0/6] Add ELF auxiliary vector handling for FreeBSD Date: Mon, 20 Jun 2016 17:10:00 -0000 Message-ID: <36664959.XkWKNdCmp7@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.3-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <20160616060202.63470-1-jhb@FreeBSD.org> References: <20160616060202.63470-1-jhb@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00335.txt.bz2 On Wednesday, June 15, 2016 11:01:56 PM John Baldwin wrote: > This patch series fixes 'info auxv' to work on live binaries and cores > for FreeBSD. I believe most of these patches are straightforward. > I broke out parsing of FreeBSD-specific ELF core notes to avoid a > collision with duplicate NT_* values (NT_FREEBSD_PROCSTAT_AUXV conflicts > with NT_LWPSTATUS). The biggest change is adding a new gdbarch method > to handle formatting individual auxv vectors. FreeBSD uses AT_* constants > that overlap with existing AT_* constants but with different meanings. > One result of making the interpretation of AT_* constants a gdbarch > method is that 'info auxv' shows the correct output (Linux values) > when gdb inspects a Linux binary executing on FreeBSD via FreeBSD's > Linux ABI support. Ping? The binutils patches have been ok'd, but the gdb patches haven't been reviewed yet. -- John Baldwin