> On 4 May 2021, at 04:45, Alexandre Oliva <ol...@adacore.com> wrote:
>
>
> x86-vx7r2 needs svr4_dbx_register_map, but the default in i386/i386.h
> was dbx_register_map, partially swapping ebp and esp in unwind info.
>
> i386/vxworks.h had a correct overrider, but it was conditional for
> vxworks < 7. This patch reenables the overrider unconditionally.
>
> Tested on x86_64-linux-gnu with a cross to x86-vx7r2. Ok to install?
Yes, good for me, thanks!
> for gcc/ChangeLog
>
> * config/i386/vxworks.h (DBX_REGISTER_NUMBER): Make it
> unconditional.