This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Question, does gdb have a command can show the file and line info of a address like "addr2line"
- From: Hui Zhu <teawater at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 8 Feb 2012 20:57:03 +0800
- Subject: 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