MS or cygwin dll debug tools/ was "sys/sockio.h" etc.

Mike Marchywka marchywka@hotmail.com
Wed May 28 15:00:00 GMT 2008


Regarding recent comments on dll problems and understanding cygwin1.dll versus msvcrt,
I was curious to know if anyone has used these ( free? ) MS tools or has comments on competing
products?

http://msdn.microsoft.com/en-us/library/cc267862.aspx
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx

I thought I may be able to download a few pieces like some of the sysinternals products
but AFAIK you now need to download 17MB and hope the msi doesn't do anything 
funny. It may be worth it but if there is a better alternative I'd like to try that first.
Apparently gdb didn't let you do anything until getting to main() which is after the initial
process loads but some of the pages for the above tools suggest you can examine loading.

Also, fwiw, that glut program I cited earlier as an example of something that seems
to work but that invokes msvcrt and cygwin1, is available here,

http://www.spottext.com/marchywka/distroform.cfm?src=cygwindll

but I will warn you that there is nothing ready for distribution and the pages are a bit confusing. 
I collected a bunch of works-in-progress and started to make them available as part of
other work I was doing. I finally did determine that the streaming data viewer and
molecule viewer uses for the glut program were in fact useful to me and tried to
document some of the features but I'm not sure I will ever document or clean anything
up to the point of being coherent. The glut program does not always seem to start up reliably
on first invokation after a reboot and does have odd response to ctrl-C but otherwise seems
fine ( I assumed this was an issue with opengl,  not cygwin). 


Thanks.




> From: marchywka@hotmail.com
> To: cygwin@cygwin.com
> Subject: RE: fate/resolution/location of things like "sys/sockio.h"
> Date: Tue, 27 May 2008 07:03:55 -0400
>
>
>> Date: Tue, 27 May 2008 00:54:37 -0700
>> From: brian@dessent.net
>> Mike Marchywka wrote:
>>
>>> $ g++ nmapjunk.a libdnet-stripped/src/junkbin.a liblua/junkbin.a -Lnbase -lnbase -Lnsock/src -lnsock -Llibpcap -lpcap -liphlpapi -lws2_32 -lpcre -L. -lPacket
>>
>> I would not expect this to work in any case. Cygwin has no libpcap, so
>> you must be using the native windows winpcap, which is not a Cygwin
>> library (it's linked with MSVCRT.)
>>
>
> I have winpcap for an earlier install of ShowTraffic which runs fine. The nmap download
> comes with its own and getting everything consistent may be a problem but I can't
> come up with a diagnostic that confirms death during packet.dll load. I guess that is
> why I am more interested in diagnostic tools rather than expecting to find someone who
> knows offhand how to link my c++ version of nmap :)
>
> Is there some simple way to get gdb to tell you what it was trying to do if it dies before getting
> to main()? From what I could tell, you couldn't set a break point etc to diagnose the
> CRT initialization stuff. As far as that goes, what tools are there for dumping object or "a" files?
>
>
> Thanks.
>
>
>
>
> Mike Marchywka
> 586 Saint James Walk
> Marietta GA 30067-7165
> 404-788-1216 (C)<- leave message
> 989-348-4796 (P)<- emergency only
> marchywka@hotmail.com
> Note: If I am asking for free stuff, I normally use for hobby/non-profit
> information but may use in investment forums, public and private.
> Please indicate any concerns if applicable.
> Note: Hotmail is possibly blocking my mom's entire
> ISP - try me on marchywka@yahoo.com if no reply
> here. Thanks.
>
>
>> Date: Tue, 27 May 2008 00:54:37 -0700
>> From: brian@dessent.net
>> To: marchywka@hotmail.com
>> CC: cygwin@cygwin.com
>> Subject: Re: fate/resolution/location of things like "sys/sockio.h"
>>
>> Mike Marchywka wrote:
>>
>>> $ g++ nmapjunk.a libdnet-stripped/src/junkbin.a liblua/junkbin.a -Lnbase -lnbase -Lnsock/src -lnsock -Llibpcap -lpcap -liphlpapi -lws2_32 -lpcre -L. -lPacket
>>
>> I would not expect this to work in any case. Cygwin has no libpcap, so
>> you must be using the native windows winpcap, which is not a Cygwin
>> library (it's linked with MSVCRT.)
>>
>> Brian
>>
>> --
>> 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/
>>
>
> _________________________________________________________________
> Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
> http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount
>
> --
> 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/
>

_________________________________________________________________
Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount

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



More information about the Cygwin mailing list