-- \
-nographic &
-QMPORT=${hmp_port} gdb build/bin/kernel.bin -ex "target remote localhost:${gdb_port}"
\ No newline at end of file
+QMPORT=${hmp_port} gdb-multiarch \
+ build/bin/kernel.bin \
+ -ex "target remote localhost:${gdb_port}"
\ No newline at end of file