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
Post a Comment