|
From: <as...@ho...> - 2003-08-26 22:45:38
|
Hi, I want to use gdb-attach option with valgrind. Actually, I run my application from an application launcher. I specify the valgrind path to this application launcher and ask it to launch my application with valgrind. I have made a script which invokes valgrind with specific options. I specify this script to the application launcher. In this script, I included option for gdb-attach=yes. When I run my application, valgrind pauses on a valgrind warning, and asks ------Attach to GDB?---[Return/N/n/Y/y/C/c]---- When I want to give any option(return or N or C or y), it doesn't take it. Rather the shell gives me an error "Y:Command not found." That is, I am not able to interact with valgrind. Maybe it is expecting an answer from the application launcher. Is there any way, I can ask valgrind to take input from stdin? Thanks and Regards, Aasheesh |