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: [RFC][PATCH 14/15] gdbserver: Add linux-arm-ipa.c


henrik.wallin@windriver.com writes:

> Currently hard-code to "arm_with_neon".
> This probably needs to be improved to validate the arm architecture
> that actually is running.

You can tell the arm architecture by checking HWCAP.  See
ppc64_host_hwcap in nat/ppc-linux.c about how to get HWCAP, and see
linux-arm-low.c:arm_read_description about how to select target
description according to the HWCAP.

-- 
Yao (éå)


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