mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-08-01 20:27:57 +08:00
15 lines
252 B
Bash
Executable File
15 lines
252 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -o xtrace
|
|
|
|
gdb-multiarch -silent -nx -batch \
|
|
-ex "target remote localhost:2331" \
|
|
-ex "monitor reset 0" \
|
|
-ex "load" \
|
|
-ex "monitor reset 0" \
|
|
-ex "monitor go" \
|
|
-ex "monitor sleep 3000" \
|
|
-ex "disconnect" \
|
|
-ex "quit" \
|
|
${1}
|