On 09/08/17 15:57, Jiong Wang wrote: > >> This patch doesn't depend on other patches, so it can go in now. >> > I had committed this patch after addressing all comments, but just reverted. > > it's my bad haven't give it a quick build. It depends on AT_HWCAP defined in patch 1 and the value needs to be synced with kernel... > Sorry, the issue should be two header files are missing. "auxv.h" to declare target_auxv_search and "elf/common.h" to define AT_HWCAP (I miss read the buildbot error message as something like missing "HWCAP_APIA"...) This patch was splitted from patch 6, I forget to move those two header files to this patch. Attached patch fixed this and passed gdb cross build, OK for master? gdb/ 2017-08-09 Jiong Wang * aarch64-linux-tdep.c: Include "auxv.h" and "elf/common.h". (aarch64_linux_core_read_description): New function. (aarch64_linux_init_abi): Register gdbarch_core_read_description.