This is the mail archive of the gdb-patches@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 for GDB/MI


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
> 


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