This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/7] New regs_info for aarch32




On 03/08/15 14:58, Pedro Alves wrote:
Why weren't these moved as well?  At first,

>-  init_registers_arm_with_vfpv2 ();
>-  init_registers_arm_with_vfpv3 ();
>-  init_registers_arm_with_neon ();
>+
>+  initialize_low_arch_aarch32 ();
I thought that this was because aarch64 doesn't
do the old iwmmxt, but then in the following patch you
have this anyway:

Yes, aarch64 doesn't support iwmmxt.


>  void
>  initialize_low_arch_aarch32 (void)
>  {
>+#ifndef __aarch64__
>    init_registers_arm_with_vfpv2 ();
>    init_registers_arm_with_vfpv3 ();
>+#endif
>    init_registers_arm_with_neon ();
>
So I don't understand when/where to initialize arm32
descriptions going forward.

Sorry, I am not sure I understand your question.

initialize_low_arch_aarch32 is called from
linux-arm-low.c and linux-aarch64-low.c for arm and aarch64
target respectively.  For aarch64, we initialize arm_with_neon
while for arm, we initialize arm_with_vfpv2 and arm_with_vfpv3
additionally.

--
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]