Hey,

Has anyone used gdb in Marss before? I got the following questins.

compile marss with debug: scons -Q debug=1
then in linux terminal run:
$gdb qemu/qemu-system-x86-64
to start gdb.

In gdb, enter
(gdb)b Memory::MemoryController::MemoryController
to set a breakpoint at the constructor of MemoryController

(gdb)r -hda DiskImageFile
to start the disk image

(gdb)handle SIGSUR1 SIGSUR2 nostop noprint 
to continue boot the disk image.

Then in the qemu virtual machine, enter
./start_sim 
to run the simulation.

At this time, the Marss system is stoped and I cannot even quit the simulation 
since my mouse is trapped by the qemu.

Can anyone help me out of this? Thank you very much!


Regards,

Long 
2011-06-16
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to