mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-20 13:06:33 +00:00
Prepare OSDK for multi arch support and the upcoming refactor
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
0ecb919e73
commit
735d7b7b11
@ -74,10 +74,6 @@ 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.
|
||||
|
@ -23,7 +23,7 @@ Options related with debugging:
|
||||
Requires [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb).
|
||||
- `--gdb-server-addr <ADDR>`: The network address on which the GDB server listens,
|
||||
it can be either a path for the UNIX domain socket or a TCP port on an IP address.
|
||||
[default: `.aster-gdb-socket`(a local UNIX socket)]
|
||||
[default: .aster-gdb-socket]
|
||||
|
||||
See [Debug Command](debug.md) to interact with the GDB server in terminal.
|
||||
|
||||
|
Reference in New Issue
Block a user