From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100085 invoked by alias); 8 Nov 2016 14:55:11 -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 100010 invoked by uid 89); 8 Nov 2016 14:55:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1582 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; Tue, 08 Nov 2016 14:55:07 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9821380514; Tue, 8 Nov 2016 14:55:06 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uA8Et5xu029991; Tue, 8 Nov 2016 09:55:05 -0500 Subject: Re: [PATCH] Restore the order of file lists in features/Makefile To: "Maciej W. Rozycki" , gdb-patches@sourceware.org References: <794ebe50-9058-1df7-24d6-25c0e8fdb8ec@redhat.com> From: Pedro Alves Message-ID: <1f5b0d24-b6df-c432-b216-8e624d99975f@redhat.com> Date: Tue, 08 Nov 2016 14:55:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <794ebe50-9058-1df7-24d6-25c0e8fdb8ec@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00169.txt.bz2 On 11/08/2016 02:48 PM, Pedro Alves wrote: > On 10/28/2016 03:52 PM, Maciej W. Rozycki wrote: >> # Record which registers should be sent to GDB by default after stop. >> aarch64-expedite = x29,sp,pc >> +amd64-expedite = rbp,rsp,rip >> arm-expedite = r11,sp,pc >> i386-expedite = ebp,esp,eip >> -amd64-expedite = rbp,rsp,rip >> -x32-expedite = rbp,rsp,rip >> -mips-expedite = r29,pc > > ... > >> +tic6x-c64x-linux-expedite = A15,PC >> +tic6x-c64xp-expedite = A15,PC >> +tic6x-c64xp-linux-expedite = A15,PC >> +x32-expedite = rbp,rsp,rip >> > > It's a bit of a shame that amd64, i386 and x32 get split up. > And they'll get further and further away as we add more entries. > > How bad would it look if we said it's "mostly" sorted? E.g., > > # Record which registers should be sent to GDB by default after > # stop. Mostly alpha-sorted, except when it makes sense to group > # architectures. > > amd64-expedite = rbp,rsp,rip > i386-expedite = ebp,esp,eip > x32-expedite = rbp,rsp,rip > > aarch64-expedite = x29,sp,pc > arm-expedite = r11,sp,pc > ... Hmmm, the rs6000/ entries have an explicit dir name: rs6000/powerpc-cell32l-expedite = r1,pc,r0,orig_r3,r4 rs6000/powerpc-cell64l-expedite = r1,pc,r0,orig_r3,r4 Maybe all we need is to prefix the x86 ones with i386/ ? i386/amd64-expedite = rbp,rsp,rip i386/i386-expedite = ebp,esp,eip i386/x32-expedite = rbp,rsp,rip I don't know if that works. I see that that prefix was actually there recently, and it was removed by 414c838a722e recently. Thanks, Pedro Alves