This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Restore the order of file lists in features/Makefile
- From: Pedro Alves <palves at redhat dot com>
- To: "Maciej W. Rozycki" <macro at imgtec dot com>, gdb-patches at sourceware dot org
- Date: Tue, 8 Nov 2016 14:48:42 +0000
- Subject: Re: [PATCH] Restore the order of file lists in features/Makefile
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.00.1610281513350.31859@tp.orcam.me.uk>
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
...
Thanks,
Pedro Alves