Re: Double free() in libc or gdb ?
Alexandre Martins <alexandre.martins <at> netasq.com> writes:
> ...
> first.c:
> ...
> second.c
> ...
> main.c
> ...
> while(42)
How do you exit that loop ?
> ...
> Compilation and execution :
>
> gcc -shared -O0 -g second.c -o second.so
> gcc -shared -O0 -g first.c -o libfirst.so
> gcc -O0 -g toto.c -lfirst -L. -o test
> export LD_LIBRARY_PATH=$PWD
> gdb ./test
> ...
What is your toto.c (source code) ?
What about your main.c in compilation ?
jb
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 7 之 9 篇):