linux - How can I get GDB to tell me what address caused a segfault in a core dump file -


i know when gdb attach process, can use p $_siginfo._sifields._sigfault.si_addr show address caused segfault. but, how in core dump file?

i try in core dump file:

(gdb) p $_siginfo._sifields._sigfault.si_addr unable read siginfo 


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -