This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: reverse for GDB/MI
- From: "Marc Khouzam" <marc dot khouzam at ericsson dot com>
- To: "Tomas Holmberg" <th at virtutech dot com>, <gdb-patches at sourceware dot org>, "Michael Snyder" <msnyder at vmware dot com>
- Date: Mon, 15 Dec 2008 13:51:31 -0500
- Subject: RE: reverse for GDB/MI
- References: <49463870.6080302@virtutech.com>
Hi,
Looking forward to having MI support for reverse debugging.
One little annoying point is the command
-gdb-set exec-direction [forward | reverse]
When this command is issued, to be really correct, MI would need an
event to notify a frontend that the exec-direction has changed.
This is in case the exec-direction is changed in the console or from
another window.
Another option, to avoid adding a new event, is if we could disable the
changing of exec-direction when running in MI, and simulate it in the
frontend.
The frontend could simply keep track of the exec-direction chosen by the
user
and issue reverse commands or forward commands, appropriately.
Just a thought.
marc
> -----Original Message-----
> From: gdb-patches-owner@sourceware.org
> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Tomas Holmberg
> Sent: Monday, December 15, 2008 5:59 AM
> To: gdb-patches@sourceware.org; Michael Snyder
> Subject: reverse for GDB/MI
>
> Hi,
>
> I have looked at the new reverse functionality in GDB and I think that
> it looks really good. I would like to see the reverse commands in the
> GDB/MI interface as well. I have attached two patches with the same
> purpose, to add reverse commands to the MI interface, as I am not sure
> which one that is best.
>
> /Tomas Holmberg
>