[Crash-utility] "gdb" by itself ought to put crash into a "gdb" mode

Bruce Korb bruce.korb at gmail.com
Wed Mar 14 17:30:39 UTC 2012


On 03/14/12 06:37, Dave Anderson wrote:

Sorry.  I polished the patch, but it still fails here:

$7 = (struct _IO_FILE *) 0x7ffff750f7e0
(gdb) n
1001                    pc->stdpipe = NULL;
(gdb)
1002                    if (pc->stdpipe_pid && PID_ALIVE(pc->stdpipe_pid)) {
(gdb)
1003                            while (!waitpid(pc->stdpipe_pid, &waitstatus, WNOHANG))
(gdb) p pc->stdpipe_pid
$8 = 4180
$ ps -f -p 4180
UID        PID  PPID  C STIME TTY          TIME CMD
bkorb     4180  4168  0 10:20 pts/1    00:00:00 /usr/bin/less -E -X -Ps -- MORE -


So there's some magic going on that is expecting gdb to produce some output
or do something that will make more or less stop.  Unless you know, it'll be
for another day.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash.patch
Type: text/x-patch
Size: 4301 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120314/691af96e/attachment.bin>


More information about the Crash-utility mailing list