This is the mail archive of the
mailing list for the Cygwin project.
Re: running gdb in cygwin
On Wed, Jan 04, 2006 at 02:21:33PM +0100, Krisakorn Rerkrai wrote:
>I have a problem with running gdb in the cygwin.
>I searched in the archive and found some descriptions
>but not really solve my problem.
>This is my result:
>(gdb) run 2
>Starting program: /opt/tinyos- 1.x/apps/Oscilloscope/build/pc/main.exe 2
>SIM: Random seed is 828125
>1: LEDS: Yellow off.
>1: LEDS: Red off.
>1: LEDS: Green off.
>Program received signal SIGSEGV, Segmentation fault.
>0x7c809f62 in KERNEL32!IsBadWritePtr ()
> from /cygdrive/c/WINDOWS/system32/kernel32.dll
>One solution refers to
>I have tried to "continue" the process. I have to type "continue"
>at least 3 times each time it is stuck with this fault. This is
>quite annoying. Is there any other clean solution for this?
Since cygwin no longer uses "IsBadWritePtr", it sounds like you are
using an older DLL version. Using the guidelines mentioned at
http://cygwin.com/problems.html would allow us to know this for sure.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html