mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +00:00
Re-implement OSDK debugging fixes and other facilities upon the refactor
This commit bring back the features introduced fromd28292c
toa52e432
: - Disable KVM when using GDB; - Update docs about the GDB server address; - Add `config` option for `CargoArgs` in OSDK; - Ensure debug info added when debugging in the release profile.
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
f9ac2ee498
commit
56175f63df
@ -74,6 +74,10 @@ Start a GDB-enabled VM of Asterinas with OSDK and wait for debugging connection:
|
||||
make gdb_server
|
||||
```
|
||||
|
||||
The server will listen at the default address specified in `Makefile`, i.e., a local TCP port `:1234`.
|
||||
Change the address in `Makefile` for your convenience,
|
||||
and check `cargo osdk run -h` for more details about the address.
|
||||
|
||||
Two options are provided to interact with the debug server.
|
||||
|
||||
- A GDB client: start a GDB client in another terminal.
|
||||
|
Reference in New Issue
Block a user