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: [RFA] set debug mi



On Apr 11, 2007, at 4:50 PM, Michael Snyder wrote:


Anybody think this is useful?

We do something similar at Apple but we have our front-end program deal with it. The UI has a preference to save the mi log to a file; it saves all communication between gdb and the FE to that file. It's invaluable for debugging bug reports - it's invariably the first thing we ask for when someone reports a bug against our debugger. Besides pointing the finger at either gdb or the front-end it has the benefit of showing exactly what commands were sent to the debugger, instead of relying on the user's memory of the same.


I think the approach of having all I/O between the debugger and the FE saved is superior but having something like this built in to gdb could be helpful for people who can't do that easily in the FE.

J


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