This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] set debug mi
- From: Jason Molenda <jmolenda at apple dot com>
- To: Michael Snyder <Michael dot Snyder at access-company dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 11 Apr 2007 17:42:48 -0700
- Subject: Re: [RFA] set debug mi
- References: <1176335457.26620.48.camel@svmsnyderlnx.palmsource.com>
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