#gdb zimage
#disassemble 0x55667\\pc aaddr
Take pc offset from log add to listed starting address
#list *0x556688 \\pc address
Shows line of crash
scenario 2:
if you have a crash & you know the function name & offset
eg:
PC: /usr/sbin/test(update+0xdf) [0xa1b0]
to identify the line number of crash execute below command
# gdb testexe
# list *update+0xdf
Note : testexe builded with debug symbols
#disassemble 0x55667\\pc aaddr
Take pc offset from log add to listed starting address
#list *0x556688 \\pc address
Shows line of crash
scenario 2:
if you have a crash & you know the function name & offset
eg:
PC: /usr/sbin/test(update+0xdf) [0xa1b0]
to identify the line number of crash execute below command
# gdb testexe
# list *update+0xdf
Note : testexe builded with debug symbols