This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using gdb on cygwin library/dll functions


How to do this?

If I attempt to set a breakpoint at, say, pthread_cancel, I get

Cannot access memory at address 0x25

although pthread_cancel exists at 0x5a79f0 according to the map file.

If I attempt to link with -static, I get a -lX11 library lookup failure.

If I attempt to link in the relevant .o file directly, e.g. pthread.o or thread.o,
I get a great many unresolved references.
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]