* TCWG-806, aarch64 remote debugging multi-arch support. [4/10] Patches are done. Need to test them and polish them. Fix various multi-arch issues when --wrapper is used in GDBserver. Patches are pushed in to mainline.
Could you describe this activity in more detail? Is the goal here to support mixed aarch32/aarch64 in the same GDB binary and detect the change at runtime?
Thanks.
-Duane
On 24/07/15 20:30, duane@duaneellis.com wrote:
- TCWG-806, aarch64 remote debugging multi-arch support. [4/10] Patches are done. Need to test them and polish them. Fix various multi-arch issues when --wrapper is used in GDBserver. Patches are pushed in to mainline.
Could you describe this activity in more detail? Is the goal here to support mixed aarch32/aarch64 in the same GDB binary and detect the change at runtime?
If "mixed aarch32/aarch64" means aarch32 and aarch64 code are mixed in one single program, answer is no, GDB doesn't support such case in general.
What I am doing is single aarch64 GDB is able to debug aarch64 and aarch32 programs. GDB can debug multiple programs in parallel, either aarch32 or aarch64. Native debugging support was in FSF GDB tree already https://sourceware.org/ml/gdb-patches/2015-07/msg00029.html which means build native aarch64 linux gdb on juno board, and use it to debug both aarch64 and aarch32 programs on juno board.
TCWG-806 is about remote debugging, which means GDB will connect to GDBserver, and debug both aarch64 and aarch32 programs. I am working on this recently.
Does it answer your question?
linaro-toolchain@lists.linaro.org