Skip to content

Commit 379c93f

Browse files
committed
Update docs and tests for ARM gdb support
Updated docs to now show arm is supported. Updated the build test to run on aarch Signed-off-by: Jack Thomson <jackabt@amazon.com>
1 parent 0b57b9e commit 379c93f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/gdb-debugging.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Firecracker supports debugging the guest kernel via GDB remote serial protocol.
44
This allows us to connect GDB to the firecracker process and step through debug
5-
the guest kernel. Currently only debugging on x86 is supported.
5+
the guest kernel.
66

77
The GDB feature requires Firecracker to be booted with a config file.
88

@@ -108,3 +108,7 @@ command in the GDB session which will terminate both.
108108

109109
- Currently we support a limited subset of cpu registers for get and set
110110
operations, if more are required feel free to contribute.
111+
112+
- Some assumptions around virtual address configuration on arm have been made.
113+
If the current translation implementation doesn't cover a specific setup, feel
114+
free to contribute.

tests/integration_tests/build/test_gdb.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@
44

55
import platform
66

7-
import pytest
8-
97
import host_tools.cargo_build as host
108

119
MACHINE = platform.machine()
1210
TARGET = "{}-unknown-linux-musl".format(MACHINE)
1311

1412

15-
@pytest.mark.skipif(MACHINE != "x86_64", reason="GDB runs only on x86_64.")
1613
def test_gdb_compiles():
1714
"""Checks that Firecracker compiles with GDB enabled"""
1815

0 commit comments

Comments
 (0)