From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11896 invoked by alias); 29 May 2015 16:47:56 -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 11887 invoked by uid 89); 29 May 2015 16:47:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-ie0-f174.google.com Received: from mail-ie0-f174.google.com (HELO mail-ie0-f174.google.com) (209.85.223.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 29 May 2015 16:47:54 +0000 Received: by ieczm2 with SMTP id zm2so67321583iec.1 for ; Fri, 29 May 2015 09:47:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=61MNr449Mqe4fzKnxDJnhjYrZB4L3h7RLSAsumFFqVc=; b=PdAX7AavHs6b88whWyH6CZAOpfNOH3jF0eEq5sN+AbJNKyIAVmdLoUfv2fJO8+TXR/ Mu2Nv9grA1TPw0uZAihPUpPTwBS+T1jfb8Gamlj4edbq2GayrpL3Fc9nnHpCLm5QlKWp sdZ+ZjcDWnXumqG0QpVRY+w40ImPSlw2sjRtqM2tsSMJk3V4GWFiTkP0Jm7IKusNAQaw OiKAqpuLti0LVtGbYsiVdH8hxMuhcsSN+2F0sWMJicivy/bDWYjI0QTnwttC+fR0PfOV xN3DCEDZSfhE1iOR2Nq2lOnO0PI/7VFPN0+i8UKd1rhsY5Gjv1EGnbEktoFtE13Ayjge q6Sg== X-Gm-Message-State: ALoCoQlZPboyG0+XBL+gIYHMaW6vTG0luiyHmjE6CHc0xvEYGiHthxJDOf99ThQT8Ku+ICWEEgwa X-Received: by 10.107.161.6 with SMTP id k6mr11769456ioe.41.1432918072779; Fri, 29 May 2015 09:47:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.65.14.201 with HTTP; Fri, 29 May 2015 09:47:31 -0700 (PDT) In-Reply-To: <55683F9E.7020902@redhat.com> References: <55683F9E.7020902@redhat.com> From: Roland McGrath Date: Fri, 29 May 2015 16:47:00 -0000 Message-ID: Subject: Re: [PATCH users/roland/osabi] Recognize GNU .note.ABI-tag values 5 (syllable) and 6 (nacl) To: Pedro Alves Cc: GDB Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-05/txt/msg00723.txt.bz2 On Fri, May 29, 2015 at 3:29 AM, Pedro Alves wrote: > I think adding the constants to include/elf/common.h, I've already committed common.h based on the binutils approval. > and making > generic_elf_osabi_sniff_abi_tag_sections recognize syllable and nacl, > avoiding the internal_error (or warning after your other patch) is OK > and could go to the 7.9 branch. Please split that out to a separate patch. Do you mean just silently ignoring these values? > The rest of the gdb bits can be considered for trunk. I don't think we want > GDB_OSABI_SYLLABLE exposed to the rest of the gdb (I don't know anything > about Syllable either), and to users (both "set osabi" and xml target > descriptions). We may need to expose GDB_OSABI_NACL, but that's probably > best added along with the nacl port, assuming there's one. OK. I'll ignore Syllable entirely, since I was only doing it for completeness. For NaCl, I'll investigate further before proposing something. We have a patch that is mostly about x86 and needs some cleanup (or probably complete rewriting). NaCl's x86-64 is particularly odd and I don't want to worry about the weird cruft we have for that right now. At the moment, I'm focused on on arm-nacl. NaCl is an all-remote target (the only kind of "native" debugging interface available is a gdb stub). So there really is almost nothing to do. But when I get some time I'll look into building --target=arm-nacl on trunk and see what it needs. Thanks, Roland