|
From: David L <id...@gm...> - 2007-12-11 16:09:34
|
Bryan Wright <bryan <at> virginia.edu> writes: > If I start up valgrind like: > > valgrind --*db*-*attach*=yes myprog > > and then type "y" to invoke g*db* when prompted, g*db* begins to > run but hangs before it ever gets to the (g*db*) prompt. No > input is accepted (even CTRL-C and CTRL-Z). Looking at the > processes running at this stage, I see something like: > > pid1 \_ valgrind --*db*-*attach*=yes myprog > pid2 \_ valgrind --*db*-*attach*=yes myprog > pid3 \_ /usr/bin/g*db* -nw /proc/5882/fd/1014 5882 > > If I send pid2 a signal with "kill pid2", I then get a g*db* > prompt. I get almost identical behavior under fedora 8. I've tried installing the latest valgrind and gdb from source and that didn't help. kill pid2 doesn't even get me a gdb prompt. David |