2017-09-12 45 views
0

나는 안드로이드의 리눅스 커널을 디버깅하려고한다. 안드로이드 장치에서 gdbserver64를 실행하고 호스트 컴퓨터의 gdb를 사용하여 gdbserver64에 연결할 수 있습니다. 그러나 내가 디버그하려고하면이 오류가 나타납니다.gdb target achitecture 추가 : aarch64

(gdb) target remote localhost:2345 
Remote debugging using localhost:2345 
warning: while parsing target description (at line 11): Target description specified unknown architecture "aarch64" 
warning: Could not load XML target description; ignoring 
Remote register badly formatted:T051d:0000000000000000;1f:50f8ffff7f000000;20:641cf5b77f000000;thread:p57c.57c;core:5; 
here: 00000000;1f:50f8ffff7f000000;20:641cf5b77f000000;thread:p57c.57c;core:5; 

호스트 gdb에는 aarch64가 없습니다. gdb에 아키텍처를 추가 할 수있는 방법이 있습니까? 나는 길을 찾을 것 같습니다.

답변

0

Is there a way to add architectures to gdb?

예 : --enable-targets=all으로 구성하십시오.