On 17 October 2014 16:28, Qu, Strong <stro...@qti.qualcomm.com> wrote:
> For our use case, we are running the gdb client at early state of boot. So
> the ARMv8 target might be running into any EL and into either AArch64 or
> AArch32 state. My questions are:
>
> 1)      Is the aarch64-none-elf-gdb.exe good for both AArch64 and AArch32 or
> I have to run the arm-none-eabi-gdb.exe if the target running in AArch32
> state?

I think last time I asked this (which was some time ago) the answer
was that you have to use the gdb for the relevant target. You can
build support for both targets into one gdb binary (and then select
with "set arch arm" or "set arch aarch64") but I think that any
particular debug session must be one or the other. I'm told that
x86 also has this restriction, which makes it tricky to debug
across the early boot switch it does from legacy 8086 code to
64 bit.

Hopefully one of the gdb developers will know if the situation
has changed.

thanks
-- PMM

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to