This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: getenv(DISPLAY)==NULL ==> gdb -nw?
- To: Keith Seitz <keiths at cygnus dot com>
- Subject: Re: getenv(DISPLAY)==NULL ==> gdb -nw?
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 10 Oct 2001 12:55:05 -0400
- Cc: Insight Maling List <insight at sources dot redhat dot com>
- References: <Pine.GSO.4.33.0110100941020.2918-100000@makita.cygnus.com>
On Wed, Oct 10, 2001 at 09:42:55AM -0700, Keith Seitz wrote:
>I would like to open a can of worms. How do people feel about the current
>behavior when there is no DISPLAY/X server?
>
>Right now, when there is no X server, Insight falls back to command-line
>gdb ("gdb -nw"). I am proposing that we instead print out an error message
>and exit, just like normal X apps.
>
>Any care one way or the other?
If we had two executables "gdb" and "insight" then I think that would be
proper behavior for "insight". I think that it would be surprising
behavior for current "gdb" users, though.
cgf