comp.lang.ada
 help / color / mirror / Atom feed
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: is there a 'wait' command in Ada
Date: 1996/12/03
Date: 1996-12-03T00:00:00+00:00	[thread overview]
Message-ID: <583052$1tg@felix.seas.gwu.edu> (raw)
In-Reply-To: 1996Dec3.072025.1@eisner


In article <1996Dec3.072025.1@eisner>,
Larry Kilgallen <kilgallen@eisner.decus.org> wrote:

>If the debugger in question cannot deal with threads, that still
>seems to me to be a debugger issue.  I thought I read from Mike's
>comment that a correct program would run alright unless the
>debugger is introduced.

Yes, that's true. So what? How should one debug a program that uses a
simple delay? A program that behaves funny under the debugger
behaves funny. Recall that I answered the original question by
saying "the behavior may be surprising." I stand by that statement.:-)

Actually, I've been messing with GDB on Solaris to see if there's a
workaround. It turns out that SIGWAITING is raised, apparently, 
whenever a delay or whatever is encountered in the program. On
Solaris at least, typing, at the gdb command prompt,

handle SIGWAITING nostop
handle SIGWAITING noprint

seems to work. I haven't tried this (yet) on other platforms.

In any event, this is not the least bit obvious to a non-GDB expert.

Mike Feldman




  reply	other threads:[~1996-12-03  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-29  0:00 is there a 'wait' command in Ada ***** LOTUS *****
1996-11-29  0:00 ` Robert A Duff
1996-11-30  0:00 ` Michael Feldman
1996-11-30  0:00   ` Robert Dewar
1996-12-01  0:00     ` Michael Feldman
1996-12-01  0:00       ` Robert Dewar
1996-12-02  0:00         ` Larry Kilgallen
1996-12-02  0:00         ` Michael Feldman
1996-12-02  0:00       ` David C. Hoos, Sr.
1996-12-09  0:00         ` Fergus Henderson
1996-12-02  0:00 ` Corey Minyard
1996-12-03  0:00   ` Larry Kilgallen
1996-12-03  0:00     ` Michael Feldman [this message]
1996-12-04  0:00       ` Larry Kilgallen
1996-12-03  0:00   ` Michael Feldman
1996-12-03  0:00   ` Robert A Duff
1996-12-03  0:00 ` Corey Minyard
1996-12-04  0:00   ` Robert Dewar
1996-12-04  0:00   ` Keith Thompson
1996-12-10  0:00 ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
1996-11-29  0:00 tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox