Community
Participate
Working Groups
The memory view supports showing memory as different sized words, decimal ints and ascii. In addition to these, I would like to be able to view memory as disassembly.
PR was not targeted to any particular release. Changing target milestone to 2.1
Similarly it would be nice to be able to specify disassembly region by e.g. right clicking in the disassembly view. Not being able to disassemble random memory regions is a bit limiting, especially when debugging code that where no debug info is available. I can't even type in the command manually in the GDB console since CDT eats the output: ----- disassemble 0x100002f0 0x10000306 Dump of assembler code from 0x100002f0 to 0x10000306: <---- output is missing ----> End of assembler dump. ---- Expected result: (gdb) disassemble 0x100002f0 0x10000306 Dump of assembler code from 0x100002f0 to 0x10000306: 0x100002f0 <sort+463>: pushsp 0x100002f1 <sort+464>: im 12 0x100002f2 <sort+465>: add Øyvind
Can be done by using the rendering feature of the platform Memory view. Moving the target milestone to 3.0.
An alternative would be to make it possible to enter disassembly range in the disassembly view. Øyvind
Also this could fix another problem(rather than opening a new PR, I'm amending this one): It should be possible to press the up/down-arrow in the disassembly view and have the disassembly view disassemble the next region. E.g. if the debugger comes out of the running state on a SEGFAULT in an area without debug information/source, it would be nice to view the instructions preceding the instruction that failed. Øyvind
Øyvind (and others), please see related bug 27217 and bug 27239. They might be what you're really looking for. This bug is only about getting disassembly in the memory view.
Deferred.
*** Bug 111711 has been marked as a duplicate of this bug. ***
*** Bug 118231 has been marked as a duplicate of this bug. ***
*** Bug 170980 has been marked as a duplicate of this bug. ***
This bug was assigned and targeted at a now released milestone (or Future or Next that isn't being used by CDT). As that milestone has now passed, the milestone field has been cleared. If this bug has been fixed, please set the milestone to the version it was fixed in and mark the bug as resolved.