This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Question, does gdb have a command can show the file and line info of a address like "addr2line"


Hi,

GDB can get the symbol info with command "info symbol 0x400570".
Does gdb have a command can show the file and line info of a address
like "addr2line"?

For example:
info addr2line 0x400570
1.c:25

Thanks,
Hui


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]