How to load multiple symbol files in gdb

前端 未结 6 917
一向
一向 2020-12-12 13:45

How to load multiple symbol files in gdb. I have a executable foo.out and loading a module bar.so. I have created two symbol files foo.symbol and bar.symbol. Ho

6条回答
  •  生来不讨喜
    2020-12-12 14:44

    In addition of the alk's answer and its comments, the address asked is the address of the .text section. You can find it by using the readelf command

    Here you have an example of a readelf use for binary files The address where filename has been loaded is missing [GDB]

提交回复
热议问题