Page 1 of 1

GDB and QEMU

Posted: Sun Nov 27, 2011 7:32 am
by foxmuldr
I have some custom code I've written which runs in a bootup QEMU floppy.img file, writing the boot sector, and loading compiled assembly files into memory. They work, and I am able to use QEMU to setup gdbserver mode, and remote into the machine to debug the virtual CPU.

I was wondering if there's a way in CodeLite to remote into QEMU and retrieve disassembly, register and query memory addresses in a binary/machine-code like way? Something like in Microsoft's Debugger if you enter some code that doesn't have a PDB file it will show disassembly, registers, etc.

Is something like this possible in CodeLite for code at unknown addresses?

Thanks! :)

Re: GDB and QEMU

Posted: Sun Nov 27, 2011 12:48 pm
by eranif
Atm, There is no disassembly support for codelite

Eran

Re: GDB and QEMU

Posted: Wed Nov 30, 2011 3:18 am
by ndivner
Hi,

I am currently working on extensions to CodeLite to have a Disassembly Pane and further Notebook pages to the Debugger pane for Registers and Peripheral Registers. This is pretty much a work in progress as I first have to come to grips with CodeLite internals to make it happen. I hope to have a progress report in the next week.

Best regards,

Noel Diviney.

Re: GDB and QEMU

Posted: Wed Nov 30, 2011 3:30 am
by foxmuldr
ndivner wrote:I am currently working on extensions to CodeLite to have a Disassembly Pane and further Notebook pages to the Debugger pane for Registers and Peripheral Registers.
:D