Ubuntu 18.04(Bionic) does not support arm-none-eabi-gdb.
However, we can use gdb-multiarch for remote debugging
Installation
$ sudo apt-get install gdb-multiarch
Run & attach
$ gdb-multiarch
(gdb) set arc arm
(gdb) symbol-file <path_to_vmlinux>
(gdb) target remote localhost:7000
'Programming > Linux Kernel' 카테고리의 다른 글
Linux kernel module compile from linux source (0) | 2019.01.17 |
---|---|
Kernel module programming (0) | 2018.05.23 |
Kernel Version Check (0) | 2018.05.23 |
Kernel 프로그래밍 - printk (0) | 2017.06.20 |