执行arm-none-eabi-gdb时候出错:
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
解决办法:
sudo apt-get install lib32ncurses5
这是因为64位机器也需要的也是32位的库
使用gdb时的指令
(gbd) info line *0x08xxxx
原文链接:https://www.f2er.com/ubuntu/349519.html