you need to compile opensc with "-pthread" in CFLAGS and LIBS. OpenSC itself is not multi-threaded AFAIK, but it loads libraries that are, and that confuses the debugger.
if you compile it with "-pthread", the compiler and linker will put debug info for threadding in the metadata and gdb should work fine. good luck. Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel