RE: Reverse debugging

Marc Khouzam
2009-07-17T14:56:31Z

> -----Original Message-----
> From: Daniel Jacobowitz [mailto:drow@false.org]
> Sent: July-17-09 10:25 AM
> To: Marc Khouzam
> Cc: Nick Roberts; Hui Zhu; gdb@sources.redhat.com; Michael Snyder
> Subject: Re: Reverse debugging
>
> On Fri, Jul 17, 2009 at 10:12:00AM -0400, Marc Khouzam wrote:
> > I noticed that the previous CDT GDB integration has its console
> > considered
> > a tty. It may be worth looking into the difference... when
> time allows
> > it :-)
>
> Wasn't someone just talking on cdt-dev about trouble with whether DSF
> used Spawner or not? That'd do it.

Thanks for the pointer, I'll have to look into it.

> > 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.

Marc