Update GDBSERVER.md

This commit is contained in:
Wu ChenXu
2020-02-19 20:32:26 +08:00
committed by GitHub
parent 37cc66560f
commit 608b1c08cd
+1 -1
View File
@@ -17,7 +17,7 @@ def test_gdb(path, rootfs):
if __name__ == "__main__":
test_gdb(["rootfs/x8664_windows/x8664_hello.exe"], "rootfs/x8664_windows")
test_gdb(["../examples/rootfs/x86_linux/bin/x86_hello"], "../examples/rootfs/x86_linux")
```
Run gdb and `set architecture i386:intel` for x86 or `set architecture i386:x86-64` for x86-64