gem5 has built-in support for GDB’s remote debugger interface. I want to debug a very tiny code using remote gdb with Gem5 (in se mode).