Guys, I’m having problems trying to get gprof output from my SDL enabled
program (compiling with -pg). In fact, all the SDL examples exhibit this too.
Basically when the program exits, gmon.out is meant to be written. However,
all SDL apps exit with code 3 and ‘video mem protecting’ - and the profiler
output is never dumped… 8(
Has anyone got SDL to co-exist with gprof - or is it the X libs interfering
at module unload time or something else suitably obscure?
(it does co-exist with efence though. anyone know of a memory leak tracking tool?)
Thanks,
Neil–
Neil McGill mailto:Neil_McGill *8^) . .
Software Developer:ISDN, Cisco Systems Ltd ~~""~""~"~"|~"~
3rd Floor, 96 Commercial Street, Edinburgh, EH6 6LX, UK ||| |||
Tel: 0131 561 3622 Fax: 0131 561 3601 Mob: 07714 226 281 .:|||||:.:|||||:.