This is the mail archive of the gdb@sourceware.org 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]

[SOLVED] Re: Debugging X with GDB


On Mon, 2010-01-11 at 16:26 +0200, Jonathan Morton wrote:

> A good trick might be to run X+gdb via SSH or a serial console.  This
> is then immune to VT switching semantics.

This is how I'm currently debugging, but X unconditionally cripples the
console even if it's a pty.

...

Wait, I've found a workaround! There's a specific option:

  -keeptty         don't detach controlling tty (for debugging only)


That's cool, but I guess we should document it very prominently in the
wiki:

 http://www.x.org/wiki/Development/Documentation/ServerDebugging

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/




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