This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][PATCH 14/15] gdbserver: Add linux-arm-ipa.c
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: henrik dot wallin at windriver dot com
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 27 Oct 2015 11:36:04 +0000
- Subject: Re: [RFC][PATCH 14/15] gdbserver: Add linux-arm-ipa.c
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1444820235 dot git dot henrik dot wallin at windriver dot com> <cover dot 1444820235 dot git dot henrik dot wallin at windriver dot com> <c7212f61851bb77ea0b5d9060863b2d45d3b13a9 dot 1444820235 dot git dot henrik dot wallin at windriver dot com>
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 (éå)