I. Compiling the Source For MACOS After Cloning Source on the host
Running the Simulator
Get the compiled binary for mbed.org or compiling it on the host using gcc4mbed configs
Command: qemu-system-arm -M mbed -kernel TestProg.bin
Debugging binaries
Command: qemu-system-arm -M mbed -kernel TestProg.bin -s -S
From another terminal arm-none-eabi-gdb(you get proper register information) or gdb (gdb) target remote localhost:1234 Start debugging TIP: Uses GCC4MBED when trying to debug because it gives you symbol information