|
From: Bartels, E. <Enn...@ea...> - 2004-12-03 06:51:27
|
Hi
I have added the smallest possible
curses test program for this case.
It's a curses program that increases
a counter every second starting with 0.
At counter 6 it will print an uninitialised
value.
You can stop the program with key 'q'.
compile:
cc curses_test.c -c -g -o curses_test.o
link:
cc curses_test.o -lc -lm -lncurses -g -o curses_test
start with valgrind - output into logfile:
valgrind --tool=memcheck --log-file=ct ./curses_test
Maybe now can somebody help and tell how to attach
the gdb debugger and with working "y"es keyboard
sended to valgrind the right way!
Thanks for listening.
Enno
|