This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Disassemble branch delay slot instructions automatically
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org, Nigel Stephens <nigel at mips dot com>, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Fri, 18 May 2007 16:46:55 +0100 (BST)
- Subject: Re: Disassemble branch delay slot instructions automatically
- References: <Pine.LNX.4.61.0705151913050.31736@perivale.mips.com> <20070516153242.GA8062@caradoc.them.org>
On Wed, 16 May 2007, Daniel Jacobowitz wrote:
> I would like additional opinions on this patch.
I wouldn't mind either.
> My first reaction was "hey, that would be useful to me", but my second
> was concern that this would upset a GDB/MI frontend. We should at
> least try to provoke a problem in one such frontend first.
Well, do_examine() is used by the "display" and "x" commands only which
are not used by any other frontend it would seem. Of course you can issue
these commands from MI (or from the Insight console window), but that
should not be an issue as these are not commands meant to be used by
programs interfacing to this frontend (that would be "-data-disassemble"
which uses some other code).
I have a follow-on patch that makes the output of "display /i" look
better, which I will submit straight away.
Maciej