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]

Re: cygpath hang - using gdb


On Wed, Oct 08, 2003 at 08:00:21PM +0200, Hannu E K Nevalainen wrote:
>> I will be investigating the problem in every way that anyone can
>> think of as time permits. No promises though, as usual.
>> I'll have to learn bits and pieces of cvs and gdb for starters -
>> I'll do my best.
>
>$ MODE=ironic rant
>
> "I'll be back" - is this a general salute nowadays? ;-P
>
>You're about to see me trying to use gdb for the first time. Say after me
>please: "YES, WE LOVE IT!" ...  Ahh... I didn't hear you ;-)
>
>$ MODE=serious
>
>Looking at "sample use" in "info gdb" I see things that looks fairly
>straight forward and familiar. Now when I try "gdb --pid=<cygpath pid>" -
>when cygpath has hung - I end up with a situation that I don't recognise
>from that sample.
>
>A couple of "s" commands and the gdb session ends up having no "(gdb)"
>prompt. I get the impression that cygpath has stopped somewhere in a system
>DLL, and debugging fails in there. Killing cygpath makes the prompt return.

No, you've stepped into the part that is hanging, so gdb is waiting patiently
for it to return.

cgf

--
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]