Skip to content

Commit 5b75ec0

Browse files
committed
docs: fix minor syntax issues for debug
There are some minor syntax and command issues in debug-port document. As commit 5febdec (vmm: Enable `gdbstub` on AArch64) supported aarch64, the docs should keep consistent. Signed-off-by: Yi Wang <foxywang@tencent.com>
1 parent b224c98 commit 5b75ec0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/debug-port.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ be used simultaneously.
1313

1414
### `0x80` I/O port
1515

16-
Whenever the guest write one byte between `0x0` and `0xF` on this particular
16+
Whenever the guest writes one byte between `0x0` and `0xF` on this particular
1717
I/O port, `cloud-hypervisor` will log and timestamp that event at the `debug`
1818
log level.
1919

@@ -52,7 +52,7 @@ to easily grep for the tracing logs (e.g.
5252

5353
```
5454
./target/debug/cloud-hypervisor \
55-
--kernel ~/rust-hypervisor-firmware/target/target/release/hypervisor-fw \
55+
--kernel ~/rust-hypervisor-firmware/target/release/hypervisor-fw \
5656
--disk path=~/hypervisor/images/focal-server-cloudimg-amd64.raw \
5757
--cpus 4 \
5858
--memory size=1024M \
@@ -94,4 +94,4 @@ The `0x80` debug port and the port of the firmware debug device are always
9494
available. The debug console must be activated via the command line, but
9595
provides more configuration options.
9696

97-
You can use different ports for different aspect of your logging messages.
97+
You can use different ports for different aspects of your logging messages.

docs/gdb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GDB Support
22

3-
This feature allows remote guest debugging using GDB. Note that this feature is only supported on x86_64/KVM.
3+
This feature allows remote guest debugging using GDB. Note that this feature is supported on x86_64 and aarch64 with KVM.
44

55
To enable debugging with GDB, build with the `guest_debug` feature enabled:
66

0 commit comments

Comments
 (0)