Skip to content

Commit fbe0999

Browse files
committed
Correct gdb installation docs for Ubuntu 18.04+
This change was lifted directly from The Embedded Rust Book: https://github.com/rust-embedded/book/blob/master/src/intro/install/linux.md Fixes #91
1 parent 26fc9e2 commit fbe0999

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

src/03-setup/linux.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,34 @@ Here are the installation commands for a few Linux distributions.
44

55
## REQUIRED packages
66

7-
- Ubuntu 16.04 or newer / Debian Jessie or newer
7+
- Ubuntu 18.04 or newer / Debian stretch or newer
8+
9+
> **NOTE** `gdb-multiarch` is the GDB command you'll use to debug your ARM
10+
> Cortex-M programs
11+
12+
<!-- Debian stretch -->
13+
<!-- GDB 7.12 -->
14+
<!-- OpenOCD 0.9.0 -->
15+
16+
<!-- Ubuntu 18.04 -->
17+
<!-- GDB 8.1 -->
18+
<!-- OpenOCD 0.10.0 -->
19+
20+
``` console
21+
$ sudo apt-get install \
22+
gdb-multiarch \
23+
minicom \
24+
openocd
25+
```
26+
27+
- Ubuntu 14.04 and 16.04
28+
29+
> **NOTE** `arm-none-eabi-gdb` is the GDB command you'll use to debug your ARM
30+
> Cortex-M programs
31+
32+
<!-- Ubuntu 14.04 -->
33+
<!-- GDB 7.6 -->
34+
<!-- OpenOCD 0.7.0 -->
835

936
``` console
1037
$ sudo apt-get install \
@@ -15,6 +42,9 @@ $ sudo apt-get install \
1542

1643
- Fedora 23 or newer
1744

45+
> **NOTE** `arm-none-eabi-gdb` is the GDB command you'll use to debug your ARM
46+
> Cortex-M programs
47+
1848
``` console
1949
$ sudo dnf install \
2050
arm-none-eabi-gdb \
@@ -24,6 +54,9 @@ $ sudo dnf install \
2454

2555
- Arch Linux
2656

57+
> **NOTE** `arm-none-eabi-gdb` is the GDB command you'll use to debug ARM
58+
> Cortex-M programs
59+
2760
``` console
2861
$ sudo pacman -S \
2962
arm-none-eabi-gdb \

0 commit comments

Comments
 (0)