www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/06/22/15:33:44

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Tue, 22 Jun 1999 15:33:47 -0400
From: Chris Faylor <cgf AT cygnus DOT com>
To: Egor Duda <deo AT logos-m DOT ru>
Cc: cygwin-developers <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: Massive checkin but still no memory corruption fix
Message-ID: <19990622153347.A29503@cygnus.com>
References: <17929 DOT 990622 AT logos-m DOT ru>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.3i
In-Reply-To: <17929.990622@logos-m.ru>; from Egor Duda on Tue, Jun 22, 1999 at 10:18:50PM +0400

On Tue, Jun 22, 1999 at 10:18:50PM +0400, Egor Duda wrote:
>Jun 22 1999 Chris Faylor <cgf AT cygnus DOT com> wrote:
>
> CF> I've also added the pseudo-JIT debugging from Egor Dada, although I
> CF> wouldn't recommend using quite yet.  It has a tendency to invoke
> CF> itself a little aggressively.  It obviously needs to be a little more
> CF> integrated with gdb.
>
>Does it mean that my assignment had finally come? I've just thought if
>i should send another copy.

I haven't heard that it had come but I really needed to use your changes,
so I added it.  Would it be possible for you to fax me a copy of the form?
My fax number is 508 632 6528 (with whatever extra codes you'd need to call
the US).

Or, if it is convenient, you can send me a scanned copy of the assignment.

>And what do you mean "aggressively"? I am to spend some time at
>weekend to do some additions and cleanups (like storing program name
>and signal in core file and more extensive parameters checking in
>dumper -- it traps itself one time while i'm using it). So it would be
>nice to hear your opinion on what else should be done.

If you are debugging a program which receives a SIGSEGV, it forks a separate
debugger where it shouldn't.  I had one case where a bug in the DLL caused
*a lot* of these to show up on my screen.  I had a really hard time trying
to get rid of them.  I was thinking that one way to get around this behavior
would be to have gdb set CYGWIN=noerror_start.  That may be all that's
required.

I also made a few changes to your implementation.  I converted the filename
to UNIX format in the initialization phase since I was seeing problems where
a DLL bug caused pathname conversion at a certain point.  Actually it might
be safest not to call any cygwin function to convert the path name but just
to change all of the backslashes to forward slashes.  That should work.

I also added some code to call try_to_debug on a SIGABRT or SIGQUIT.

Anyway, please take a look at the minor changes that I made to your
implementation.  They should be in last night's snapshot.

-chris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019