X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bffa3430fbbaaad29bec0b5bee9c1f0bfc7fd068..35a7d633d3f16c1e0539af6ca5d8e7482926cd93:/lunaix-os/live_debug.sh diff --git a/lunaix-os/live_debug.sh b/lunaix-os/live_debug.sh index af0f488..d70c54d 100755 --- a/lunaix-os/live_debug.sh +++ b/lunaix-os/live_debug.sh @@ -4,7 +4,7 @@ hmp_port=45454 gdb_port=1234 default_cmd="console=/dev/ttyS0" -make CMDLINE=${default_cmd} ARCH=${ARCH} MODE=${MODE:-debug} all -j5 || exit -1 +make ARCH=${ARCH} MODE=${MODE:-debug} all -j5 || exit -1 ./scripts/qemu.py \ scripts/qemus/qemu_x86_dev.json \ @@ -18,4 +18,6 @@ make CMDLINE=${default_cmd} ARCH=${ARCH} MODE=${MODE:-debug} all -j5 || exit -1 -- \ -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