Re: Debugging Cygwin apps with dtrace for windows?

2023-08-31 Thread Brian Inglis via Cygwin
On 2023-08-31 16:49, Joshuah Hurst via Cygwin wrote: Has anyone tested if dtrace for windows https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/dtrace can be used to debug cygwin apps? It does not appear to be usable as an application debugger, rather providing diagnostics abou

Re: debugging cygwin

2006-01-10 Thread Ken Senior
Having regrouped with a new sense of hope I have tried once again 1. I changed the admin account on my Windows XP machine to admin, instead of senior. In the following test, I utilized only the local admin account (no domain accounts whatsoever) on [Windows Box] 2. On [Windows Box] I rein

Re: debugging cygwin

2006-01-09 Thread Igor Peshansky
On Mon, 9 Jan 2006, Ken Senior wrote: > As I continue to descend deeper into the rabbit hole To think, all > this just to try to figure out why rsync is hanging > > So, rather than following the quick 'n dirty suggestion of Igor (Thanks > though Igor), I followed the FAQ #15 on installing

Re: debugging cygwin

2006-01-09 Thread Igor Peshansky
On Mon, 9 Jan 2006, Ken Senior wrote: > Ok, so Igor's directions seem to conflict with the FAQ #15 about whether > or not cygwin services must be halted. Can someone clarify that. Umm, sorry. That's what I get for writing a message and then coming back to change some part of it (with some time i

Re: debugging cygwin

2006-01-09 Thread Christopher Faylor
On Mon, Jan 09, 2006 at 11:38:08AM -0500, Ken Senior wrote: >Ok, so Igor's directions seem to conflict with the FAQ #15 about >whether or not cygwin services must be halted. Can someone clarify >that. The FAQ is correct. You need to stop all running services when you replace the DLL. >In any ca

Re: debugging cygwin

2006-01-09 Thread Ken Senior
As I continue to descend deeper into the rabbit hole To think, all this just to try to figure out why rsync is hanging So, rather than following the quick 'n dirty suggestion of Igor (Thanks though Igor), I followed the FAQ #15 on installing snapshots with the same problem---cygwin wil

Re: debugging cygwin

2006-01-09 Thread Igor Peshansky
On Mon, 9 Jan 2006, Ken Senior wrote: > Igor Peshansky wrote: > > > On Mon, 9 Jan 2006, Ken Senior wrote: > > > > > Does anyone know where one might find a version of the latest > > > cygwin1.dll which was compiled with the '-g' (debugging) option set? > > > If it's possible, I would recommend tha

Re: debugging cygwin

2006-01-09 Thread Ken Senior
Ok, so Igor's directions seem to conflict with the FAQ #15 about whether or not cygwin services must be halted. Can someone clarify that. In any case, after renaming the snapshot DLLs (from both 1/7 and 1/8) to /bin/cygwin1.dll, I find that no cygwin process will launch, not even the bash wind

Re: debugging cygwin

2006-01-09 Thread Christopher Faylor
On Mon, Jan 09, 2006 at 07:44:22AM -0800, Brian Dessent wrote: >Ken Senior wrote: >>Actually, I should have been more specific with my statement, "not part >>of distribution" in the last email. The actual error from gdb is, >>"warning: no loadable section found in added symbol-file >>/usr/bin/cygw

Re: debugging cygwin

2006-01-09 Thread Brian Dessent
Ken Senior wrote: > Actually, I should have been more specific with my statement, "not part > of distribution" in the last email. The actual error from gdb is, > "warning: no loadable section found in added symbol-file > /usr/bin/cygwin1-20060108.dbg I get that from insight from time to time, bu

Re: debugging cygwin

2006-01-09 Thread Ken Senior
Actually, I should have been more specific with my statement, "not part of distribution" in the last email. The actual error from gdb is, "warning: no loadable section found in added symbol-file /usr/bin/cygwin1-20060108.dbg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: debugging cygwin

2006-01-09 Thread Brian Dessent
Ken Senior wrote: > > The add-symbol-file command doesn't seem to be present. This must not > be part of the default distribution. -K You don't need to do any of that if you name the .dbg file the same as the .dll and put it in the same directory. Brian -- Unsubscribe info: http://cygwi

Re: debugging cygwin

2006-01-09 Thread Ken Senior
The add-symbol-file command doesn't seem to be present. This must not be part of the default distribution. -K Igor Peshansky wrote: On Mon, 9 Jan 2006, Ken Senior wrote: Does anyone know where one might find a version of the latest cygwin1.dll which was compiled with the '-g' (debugging

Re: debugging cygwin

2006-01-09 Thread Brian Dessent
Ken Senior wrote: > Does anyone know where one might find a version of the latest > cygwin1.dll which was compiled with the '-g' (debugging) option set? Everything you need is at . You can't actually compile a cygwin.dll with the debugging information in it, becaus

Re: debugging cygwin

2006-01-09 Thread Igor Peshansky
On Mon, 9 Jan 2006, Ken Senior wrote: > Does anyone know where one might find a version of the latest > cygwin1.dll which was compiled with the '-g' (debugging) option set? > If it's possible, I would recommend that each cygwin distribution be > accompanyed by an optional cygwin1.dll which has bee

Re: Debugging cygwin

2002-03-26 Thread Christopher Faylor
On Tue, Mar 26, 2002 at 09:35:33PM -0600, Polley Christopher W wrote: >The debug_printf statements get printed when you run your program under >strace. (see http://cygwin.com/faq/faq.html#TOC111 ) Also, here are some >excellent tips that cgf has given on strace and debugging cygwin1.dll: >http://

RE: Debugging cygwin

2002-03-26 Thread Polley Christopher W
Bill, The debug_printf statements get printed when you run your program under strace. (see http://cygwin.com/faq/faq.html#TOC111 ) Also, here are some excellent tips that cgf has given on strace and debugging cygwin1.dll: http://www.cygwin.com/ml/cygwin/2000-11/msg01469.html (BTW, "google is yo