From: Christopher Faylor <cgf-rcm@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1)
Date: Wed, 10 Sep 2003 15:32:00 -0000 [thread overview]
Message-ID: <20030910153228.GB29506@redhat.com> (raw)
In-Reply-To: <NGBBLLIAMFLGJEOAJCCEAENCDDAA.garbage_collector@telia.com>
On Wed, Sep 10, 2003 at 01:23:56PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
>> Of Christopher Faylor
>
><SNIP>
>> >Idea, to help debug things like the above:
>> >
>> > Alt 1) Make an _unstripped_ cygwin1.dll available in a package named
>> > "cygwin-DEBUG-dll" or some such. Also make it be
>> "TEST/Exp" forever.
>> > Alt 2) Have an unstripped cygwin1-DEBUG.dll added to the basic package,
>> > add a simple "cygswapdll" utility.
>> >
>> >Is this a Good or Bad idea?
>>
>> The new version of binutils allows you to strip debug information and put
>> it in a separate file. Then you can provide that file to gdb and use it
>> for debugging.
>
> Right, now that you mention it I remember seeing it. My ideas ran obsolete
>already in the start ':-> .
>
>> However, like everything there are two problems 1) lack of tuit cycles and
>> 2) it won't stop people from running gdb on their binaries and reporting
>> that strdup is causing a problem in mmap. There will still be a "download
>> the debug info" step no matter what.
>
> Most likely... Some wording regarding "download the debug info" needs to be
>added to "problems.html" - I guess.
That sort of presupposes that someone is interested in walking people through
the debugging of the cygwin DLL. I know I'm not interested and I haven't
seen anyone else step in when people start asking debugging questions.
I guess the words in problems.html could be extended with a "You're basically
on your own"...
This is not a bad idea, especially since I thought of it myself long ago :-),
like I said, it just requires some time which I don't have right now.
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/
next prev parent reply other threads:[~2003-09-10 15:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-08 22:33 similar crash in mmap for 1.5.3-1 John Joganic
2003-09-08 23:42 ` Christopher Faylor
2003-09-09 8:43 ` cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1) Hannu E K Nevalainen (garbage mail)
2003-09-09 17:26 ` Christopher Faylor
2003-09-10 11:25 ` Hannu E K Nevalainen (garbage mail)
2003-09-10 15:32 ` Christopher Faylor [this message]
2003-09-10 15:40 ` Igor Pechtchanski
2003-09-10 16:00 ` Christopher Faylor
2003-09-10 20:27 ` Hannu E K Nevalainen (garbage mail)
2003-09-10 21:01 ` Christopher Faylor
2003-09-10 21:35 ` Hannu E K Nevalainen (garbage mail)
2003-09-09 8:28 ` similar crash in mmap for 1.5.3-1 Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030910153228.GB29506@redhat.com \
--to=cgf-rcm@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).