If your simulator/emulator environment supports the GDB Remote Debug Protocol (as does qemu) you can use my PGDB assembly language level debugging tool (https://github.com/duanev/pgdb) to single-step, set break and watch points, display custom data structures, and trace program flow through assembly language .lst files. I have modules for four of the architectures supported by qemu (arm, aarch64, i386, x86_64) so far, and would be delighted to get bare metal "hello world" examples for all the others. You can take a look at my PGDB demo/turorial here:
https://youtu.be/TuvjGCcVXMc
https://youtu.be/TuvjGCcVXMc[/youtube]
Happy hacking everyone,
Duane
PGDB: a front end to QEMU for assembly language debugging
Re: PGDB: a front end to QEMU for assembly language debuggin
Hi,
Nice work.
I'll be giving it a go. I like the way you have included lst file support from nasm or gcc output. I also like the way you visualize multiple cpus.
regards
Thomas
Nice work.
I'll be giving it a go. I like the way you have included lst file support from nasm or gcc output. I also like the way you visualize multiple cpus.
regards
Thomas