Skip to content

Commit 975604c

Browse files
committed
Add docs
1 parent b5a2fba commit 975604c

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

docs/archs/arm-openocd.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## ARMOpenOCD
2+
3+
The ARM OpenOCD architecture is a special arcthtecture used with the `gef-openocd-remote` command.
4+
Please read the [documentation](../commands/gef-openocd-remote.md) for the command.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Command gef-openocd-remote
2+
3+
The `gef-openocd-command` is used with the [`ARMOpenOCD`](../../archs/arm-openocd.py] architecture.
4+
5+
The [arm-openocd.py](../../archs/arm-openocd.py) script adds an easy way to extend the `gef-remote`
6+
functionality to easily debug ARM targets using a OpenOCD gdbserver. It creates a custom ARM-derived
7+
`Architecture`, as well as the `gef-openocd-remote` command, which lets you easily connect to the
8+
target, optionally loading the accompanying ELF binary.
9+
10+
### Usage
11+
12+
```bash
13+
gef-openocd-remote localhost 3333 --file /path/to/elf
14+
```

0 commit comments

Comments
 (0)