[Crash-utility] GCORE: add directly show backtrace function in crash

Lei Wen adrian.wenl at gmail.com
Mon Oct 22 04:21:49 UTC 2012


Hi Daisuke,

I create a new option "-tT" for gcore, so that it could display bt for user
space
directly inside crash itself, without needing to dump a separated core file
image,
and analyze it in a different gdb env.

The attached patch is directly based on below patch, and verify over ARM
platform.
http://osdir.com/ml/general/2012-10/msg32677.html

Before use the corresponding gcore command, we need set env in crash by:

crash>> gdb set solib-search-path [system lib path]

crash>> gdb file   [user space program symbol file]

crash>> gcore -t [user space thread id]

Thanks,
Lei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20121022/b5a6e676/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-GCORE-add-directly-show-backtrace-function.patch
Type: application/octet-stream
Size: 7335 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20121022/b5a6e676/attachment.obj>


More information about the Crash-utility mailing list