Sorry, I make a mistake with fromBox.entryEvent to use the same code with toBox.entryEvent at the last patch. It is fixed at this one. On Fri, 2007-08-17 at 16:50 +0800, Zhao Shujing wrote: > Hi > > This patch is to fix bug #4932 and other bugs of disassembly window. > rowPrepend is added to prepend rows by calculating memory information > like rowAppend. Because the methods that are provided by class > Disassembler, disassembleInstructions and > disassembleInstructionsStartEnd, can only read the instructions that are > following some address, rowPrepend have to use two while execution > control to read the instructions that are preceding some address. > Any suggestions are welcomed. > > --ChangeLog-- > 2007-08-17 Zhao Shujing > > *disassembler/DisassemblyWindow.java: fix bug #4932 > (fromBox.entryEvent): Use fromSpin.setValue to invoke fromSpin > entryEvent. > (toBox.entryEvent): Ditto. > (refreshList): Change to get next instruction after finishing model > setValue. > (rowPrepend): Added. > (handleFromSpin): Prepend rows provided by rowPrepend and remove > redundant instructions according to the change of memory address. > > > Cheers > Pearly