[Crash-utility] [PATCH] clean commnad line from pipe

qiaonuohan qiaonuohan at cn.fujitsu.com
Mon Sep 24 07:28:24 UTC 2012


Hello Dave,

When I try to input gdb command through pipe, I find crash doesn't work
well, like below.

# echo -ne "gdb help\n gdb help" | ./crash -s
Undefined command: "".  Try "help".
gdb: gdb request failed: help

No source file named help.
gdb: gdb request failed: b help

So I make the patch to clean command, please refer to the patch.

-- 
--
Regards
Qiao Nuohan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-clean-command-line-from-pipe.patch
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120924/3cb5a0d6/attachment.bin>


More information about the Crash-utility mailing list