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

Debugging Cygwin apps with dtrace for windows?

2023-08-31 Thread Joshuah Hurst via Cygwin
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? -- Josh -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

[newlib-cygwin] Improve FAQ answer on debugging Cygwin

2015-08-05 Thread Jon TURNEY
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=49380b7ee362970ac6b553335968e74bc1186e0d commit 49380b7ee362970ac6b553335968e74bc1186e0d Author: Jon TURNEY jon.tur...@dronecode.org.uk Date: Tue Aug 4 13:34:10 2015 +0100 Improve FAQ answer on debugging Cygwin Improve

Re: [PATCH] Improve FAQ answer on debugging Cygwin

2015-08-05 Thread Corinna Vinschen
On Aug 4 13:36, Jon TURNEY wrote: Improve FAQ answer on debugging Cygwin to mention the cygwin-debuginfo package and the gdb command 'set cygwin-exceptions oon'. 2015-08-03 Jon Turney ... * faq-programming.xml: Improve debugging-cygwin answer. Looks good. Please apply. Thanks

debugging cygwin / octave plot problem

2011-05-24 Thread marco atzeri
Hi, I am trying to understand (eventually solve) the octave cygwin problem present in cygwin-1.7.9. http://cygwin.com/ml/cygwin/2011-03/msg00863.html The issue arisen with http://cygwin.com/ml/cygwin-cvs/2011-q1/msg00102.html and it is due to the communication between octave and gnuplot.

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

debugging cygwin

2006-01-09 Thread Ken Senior
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 been compiled with said option. Users can

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 been

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 http://cygwin.com/snapshots/. You can't actually compile a cygwin.dll with the debugging information in it, because

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'

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:

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: 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, but

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

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

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 that each cygwin

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

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 case,

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 in

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

Debugging cygwin

2002-03-26 Thread William Hubbard
Can someone point me to a how-to, or provide the steps, for getting set up so that I can debug cygwin1.dll? I want to instrument the com routines to help zero in on a problem I am having with connecting gdb to a simulation environment via a virtual serial port (to determine if it is cygwin or

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

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: