I was working with hardware emulation on QEMU (bare metal) and I ran the command.
- arm-none-eabi-gdb test.elf
- qemu-system-arm -M versatilepb -m 128M -nographic -kernel test.bin
The .c files are different but in both cases simple code is run on QEMU. What is the difference between these two files and commands?