This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Find out if GUI active in .gdbinit


>>>>> "Fernando" == Fernando Nasser <fnasser@redhat.com> writes:

  Fernando> Nothing that I can remember off the top of my head.  But
  Fernando> it would be a good idea to set a gdb convenience variable
  Fernando> $nw so one could perform this test. Maybe you should open
  Fernando> a bug report (enhancement request) for that.

Is it possible to (roughly) do this by examining the DISPLAY variable
using `show environment'?  Now, I know that it's still possible that
you might want to run gdb -nw on an X display, but this might be
sufficient for the original poster's needs?

Cheers, Ben


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