Positioning the disassembly window
By positioning, I mean the address of the code being shown in the disassembly window, not the position of the window on screen (HUD1 etc).
By default, the disassembly window is locked to the current PC, so that it always shows the disassembly around the current execution location.
There is an edit box alongside the execution control buttons at the top of the window, which allows me to type in an address or function name. But anything typed into this box is ignored.
I have discovered that I can position the disassembly window via selecting Locate Disassembly from the Symbol Browser, but it 's odd and annoying that I can't directly type in a symbol name or address.
It would also be nice if there were a GoTo button on the Disassembly toolbar and/or a right-click option which would pop up the symbol browser to allow me to select a function name or type in an address. This could also apply to the Source Window itself.
-
"There is an edit box alongside the execution control buttons at the top of the window, which allows me to type in an address or function name. But anything typed into this box is ignored."
Nope, it isn't ignored. After entering a number, press Return. You can even use a function name in there, i.e. the symbol name at the ELF level. I think you can use an arbitrary expression, actually... There is no incremental update as you type because that would be rather painful.
-
I had tried pressing Return or Enter, but I think I must have tried a function name from the Source Navigator for a function which was not actually part of the ELF executable being debugged. If you type in a symbolic name which is not recognised, then CrossWorks _does_ simply ignore it.
Thanks
Please sign in to leave a comment.
Comments
2 comments