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]

Re: Reverse debugging


On Sat, Jul 18, 2009 at 01:06:36PM +1200, Nick Roberts wrote:
> It seems strange not to use a tty for the console since it is a terminal.  It
> allows you to change the terminal mode, although admittedly I've not found a
> need for this.  Also if you wanted to use readline, I guess it would need a
> tty.

I've found it works much better to handle any readline-like behavior
in the front end; then use -interpreter-exec to talk to GDB.  This
lets you reliably get MI notifications for actions, etc.

-- 
Daniel Jacobowitz
CodeSourcery


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