如何使用GDB

2017-08-26  本文已影响0人  陈小賤

1. 设置GDB动态库搜索路径

set sysroot
set solib-absolute-prefix
set solib-search-path //可以设置多个
info sharedlibrary
core-file xxxxx.core

2. 使用GDB查看内存数据

x addr size

上一篇 下一篇

猜你喜欢

热点阅读