aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/gdbserver.md
blob: 5f85e0a5042170765288b0d91e387216b5fcaaa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# gdbserver(1)

# CLI

```markdown
  gdbserver [opts] comm prog [args]
    opts:
      --disable-randomization
      --no-disable-randomization

    comm:
      host:port
      tty
```

# Example

```markdown
# Start gdbserver.
gdbserver localhost:1234 /bin/ls

# Attach gdb.
gdb -ex 'target remote localhost:1234'
```