Re: Using gdb on cygwin

2008-03-13 Thread Larry Hall (Cygwin)
Mathieu Malaterre wrote: Hi there, I am trying to track down a seg fault in an app, but running it through gdb does not seems to help. Is there anything I need to know when using gdb on cygwin. For instance here is what I get (notice that I cannot get any backtrace): There is no special

Using gdb on cygwin

2008-03-13 Thread Mathieu Malaterre
Hi there, I am trying to track down a seg fault in an app, but running it through gdb does not seems to help. Is there anything I need to know when using gdb on cygwin. For instance here is what I get (notice that I cannot get any backtrace): $ gdb /home/mmalaterre/Projects/CMake-cyg/bin

Re: Using gdb on cygwin library/dll functions

2003-08-28 Thread peter garrone
In answer to my own query, after compiling and installing a snapshot, ensuring an unstripped cygwin1.dll was installed, and setting a breakpoint at and stopping at main, then breakpoints could be set within cygwin library In fact though a bit frustrated yesterday, today i'm quite impressed. -- _

Using gdb on cygwin library/dll functions

2003-08-27 Thread peter garrone
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 releva