mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-18 20:16:42 +00:00
Add GDB targets in Makefile
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
e616eb3a4c
commit
88099df008
8
Makefile
8
Makefile
@ -132,6 +132,14 @@ tools:
|
|||||||
run: build
|
run: build
|
||||||
@cargo osdk run $(CARGO_OSDK_ARGS)
|
@cargo osdk run $(CARGO_OSDK_ARGS)
|
||||||
|
|
||||||
|
.PHONY: gdb_server
|
||||||
|
gdb_server: build
|
||||||
|
@cd kernel && cargo osdk run $(CARGO_OSDK_ARGS) -G --vsc --gdb-server-addr :1234
|
||||||
|
|
||||||
|
.PHONY: gdb_client
|
||||||
|
gdb_client: $(CARGO_OSDK)
|
||||||
|
@cd kernel && cargo osdk debug $(CARGO_OSDK_ARGS) --remote :1234
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
@for dir in $(NON_OSDK_CRATES); do \
|
@for dir in $(NON_OSDK_CRATES); do \
|
||||||
|
Reference in New Issue
Block a user