This is the mail archive of the
mailing list for the Cygwin project.
Re: How to get it working with gdb ?
On Sat, 27 Dec 2003, Christopher Faylor wrote:
> On Sat, Dec 27, 2003 at 07:42:18PM -0200, Fr?d?ric L. W. Meunier wrote:
> >I did the following:
> >Start the application in a terminal.
> >Use ps in another terminal.
> >Use gdb -p from that terminal.
> >(gdb) c
> >Do something with the application.
> >Then I tried ^C in gdb and it didn't work, but it works on
> >Sorry, I'm not used to debug things, but I'd like to know why
> >the above doesn't work.
> >I'm trying to investigate the ELinks problem with compressed
> >files, but it turns out to be a PITA. I can't reproduce it on
> >Linux, but I guess it'd have worked since ^C does.
> Type ^C on the console that is running ELinks.
Thanks, I at least got back the gdb prompt, but it always
returns the same things with a bt, also with other
Program received signal SIGINT, Interrupt.
[Switching to thread 1452.0x788]
0x77ea31c7 in KERNEL32!GetAtomNameA () from /c/WINDOWS/system32/kernel32.dll
#0 0x77ea31c7 in KERNEL32!GetAtomNameA ()
#1 0x77f57d70 in ntdll!RtlAppendStringToString ()
#2 0x77f58a3a in ntdll!RtlAppendStringToString ()
I compiled ELinks with --enable-debug, which adds -g. Doing the
same on Linux (c, bt, ^C) always returns lines from the ELinks
Well, I uploaded a new trace in case it helps -
http://www.pervalidus.net/tmp/elinks.txt.gz. It's much smaller.
I used the latest cygwin1.dll and strace snapshots, strace -p
-t, and only started it at the time I connected to the URL.
How to contact me - http://www.pervalidus.net/contact.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html