Skip to content

Commit f5cf295

Browse files
committed
fix warning source/appendix-b/index.rst
1 parent 6ae6b2f commit f5cf295

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

os-lectures

Submodule os-lectures updated 824 files

source/appendix-b/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
下载或编译GDB
1212
^^^^^^^^^^^^^^^^^^^^^^^
13-
可以在 :doc:`chapter0/5setup-devel-env` 中下载编译好的二进制(版本为8.3.0,由于包括整个哦那工具链,解压后大小约为1G),也可以编译最新版本(仅gdb,大小约为300M)
13+
14+
可以在 :doc:`/chapter0/5setup-devel-env` 中下载编译好的二进制(版本为8.3.0,由于包括整个哦那工具链,解压后大小约为1G),也可以编译最新版本(仅gdb,大小约为300M)
1415

1516
.. code-block:: console
1617
@@ -37,6 +38,7 @@
3738
^^^^^^^^^^^^^^^^^^^^^^^
3839

3940
.. code-block:: console
41+
4042
# 启动gdb,传入二进制文件作为参数。
4143
# 记得修改路径
4244
./bin/riscv64-unknown-elf-gdb /Volumes/Code/rCore-Tutorial-v3/os/target/riscv64gc-unknown-none-elf/debug/os
@@ -75,6 +77,7 @@
7577
2. 在项目中新建一个 ``sh`` 文件,输入以下内容并给予可执行权限:
7678

7779
.. code-block:: console
80+
7881
#!/usr/bin/env bash
7982
killall qemu-system-riscv64 # 由于无法在debug结束时关闭虚拟机,我们在debug开始时关闭上一次开启的虚拟机。
8083
nohup bash -c "make run > run.log 2>&1" & # 后台启动qemu

0 commit comments

Comments
 (0)