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 Fri, Jul 17, 2009 at 10:55:05AM -0400, Marc Khouzam wrote:
> > > So you start GDB in CLI mode?
> > > My idea was that if gdb is started with '-interpreter mi', we could
> > > assume it is a frontend that started it and not use queries.
> > 
> > How about checking the current interpreter in query, instead?
> 
> That would be for the current command only?
> That is a better solution.  However, 'record' et al. don't have 
> MI equivalents.  But I could use '-interpreter-exec console record'
> if that would make your suggestion work.

Guess you need top_level_interpreter then.

-- 
Daniel Jacobowitz
CodeSourcery


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