美文网首页
如何使用GDB

如何使用GDB

作者: 陈小賤 | 来源:发表于2017-08-26 17:08 被阅读0次

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

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

    2. 使用GDB查看内存数据

    x addr size

    相关文章

      网友评论

          本文标题:如何使用GDB

          本文链接:https://www.haomeiwen.com/subject/knfvdxtx.html