This is the mail archive of the cygwin 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: cygwin bughunt (FAQ alert?)


On Thu, 20 Jan 2005, Joshua Daniel Franklin wrote:

> > On Thu, Jan 20, 2005 at 08:12:31PM +0100, David Dindorp wrote:
> > >Tracking it down with GDB to cygwin_split_path() : 0x61073e06 was easy.
> >
> On Thu, 20 Jan 2005 15:04:55 -0500, Christopher Faylor wrote:
> > Since cygwin isn't built with debugging symbols, the symbols that you do
> > see in gdb are basically meaningless.
> >
> > I think this has come up often enough to be a FAQ.  Joshua?
> >
> > In any event, you do need to either build a debugging version or, possibly,
> > use a snapshot from http://cygwin.com/snapshots/ since those are currently
> > built with debugging turned on.
>
> Sure, how about this:
>
> I've found a bug in Cygwin, how can I debug it?
>
> Debugging symbols are stripped from distibuted Cygwin binaries, so any
> symbols that you see in gdb are basically meaningless. It is also a good
> idea to use the latest code in case the bug has been fixed, so you will
> need to either build your own debugging version by following the
> instructions at http://cygwin.com/faq/faq_3.html#SEC102 or use a current
> snapshot from http://cygwin.com/snapshots/

The entry is good, but the title implies (*GASP*) that there may be bugs
in Cygwin.  I'd suggest something like "I'm debugging within the Cygwin
DLL space, and gdb shows garbage symbols.  How do I debug Cygwin?"
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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