This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: getenv(DISPLAY)==NULL ==> gdb -nw?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]