vmlinux
을 gdb
에로드하고 ARM 코어 시뮬레이터를 사용하려고합니다. 내가 Undefined target command: "sim".
를 얻을 왜ARM 프로세서 런타임 환경을 시뮬레이트하고 Linux 커널 모듈을로드하는 방법은 무엇입니까?
그러나 나는 이해할 수 없다 :
다음쉘 출력 :
$ arm-eabi-gdb vmlinux
GNU gdb (GDB) 7.3.1-gg2
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-linux-gnu --target=arm-linux-android".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /repo/kernel/kernel/vmlinux...done.
(gdb) target sim
Undefined target command: "sim". Try "help target".
(gdb) help target
Connect to a target machine or process.
The first argument is the type or protocol of the target machine.
Remaining arguments are interpreted by the target protocol. For more
information on the arguments for a particular protocol, type
`help target ' followed by the protocol name.
List of target subcommands:
target core -- Use a core file as a target
target exec -- Use an executable file as a target
target extended-remote -- Use a remote computer via a serial line
target record -- Log program while executing and replay execution from log
target record-core -- Log program while executing and replay execution from log
target remote -- Use a remote computer via a serial line
target tfile -- Use a trace file as a target
내 질문 어디에서 시뮬레이터를 얻을 수 있습니까? 어떻게 gdb와 함께 사용합니까? 안드로이드 패키지에 들어 있지 않다는 것을 안다. – 0x90
http://files.meetup.com/1590495/debugging-with-qemu.pdf – 0x90
https://wiki.ubuntu.com/ARM/BuildArmPackages – 0x90