From: Steve K. <st...@st...> - 2003-12-12 14:46:51
|
Steven, Sorry I didn't respond to your first question. I think that the error on exit stuff _is_ a general bug in the library; calling iaxc_shutdown() sometimes does bad things. In my current apps, I just don't call it, since it's not really necessary (the operating system needs to be able to take care of cleaning up whether you free() all your stuff and close devices or not). I just call iaxc_dump_all_calls() [which is nice so the calls on the remote ends get notified about hangups], and then exit. As to your other question, gcc does produce debugging symbols, and I think they're in there by default in our Makefiles; (the -g flag to gcc). You can remove them later by running "strip" on the exe. And you can debug using gdb, or any of the GUI front-ends available to gdb. I don't think Microsoft's debuggers understand gdb debugging stubs. -SteveK On Dec 12, 2003, at 9:37 AM, Steven Sokol wrote: >> Hi Steven M. Sokol, >> >> This is because of invalid type casting of variables or invalid > pointers >> usage or invalid >> AddressOf operator (may b) :), but this is not the bug in IAX lib. Its >> your application. >> >> Regards, >> Babar Shafiq Nazmi. > > I appreciate your input, but I am not sure how it could be my code. My > application unloads the library the same under IAX2 as IAX1, and the > IAX2 version unloads cleanly. > > Is there a way to make gcc produce symbolic debugging information? If > so, is it compatible with the Visual C++ debugger (using the .pdb > format) or will I need a different debugger? I suspect I could easily > track this down if I knew how to make the library in debug format. > > Regards, > > Steven > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Iaxclient-devel mailing list > Iax...@li... > https://lists.sourceforge.net/lists/listinfo/iaxclient-devel > |