Merge branch 'cross-debug' into 'master'
Use gdb-multiarch for make gdb to support debugging an arm vm on x86 and vice versa See merge request redox-os/redox!1431
This commit is contained in:
commit
81456838a8
1
Makefile
1
Makefile
|
@ -89,6 +89,7 @@ else
|
||||||
bash
|
bash
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
export RUST_GDB=gdb-multiarch # Necessary when debugging for another architecture than the host
|
||||||
gdb: FORCE
|
gdb: FORCE
|
||||||
gdb cookbook/recipes/core/kernel/target/$(TARGET)/build/kernel.sym --eval-command="target remote localhost:1234"
|
gdb cookbook/recipes/core/kernel/target/$(TARGET)/build/kernel.sym --eval-command="target remote localhost:1234"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue