Using valgrind with a program, it shows
==940== to suppress, use: --max-stackframe=48000588 or greater
==940== Invalid write of size 4
==940== at 0x80499EC: sequencer_run (stdio2.h:105)
==940== by 0x804DEF6: thread_start (thread.c:105)
==940== by 0x8049072: main (genome.c:237)
==940== Address 0xbbd51340 is on thread 1's stack
By using the max-stackframe option, the error is suppressed. But how do i modify the max-stackframe size with gcc? I tried using
#define STACK_CHECK_MAX_FRAME_SIZE 48000588
But didnt work. I think i am going the wrong way. Please help.