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: Disassemble branch delay slot instructions automatically


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


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