Add gdb file-write

This commit is contained in:
Andrea Cardaci 2018-05-28 21:24:15 +02:00
parent 1a46497ae9
commit 41e62d689a

View File

@ -4,4 +4,8 @@ functions:
- code: gdb -nx -ex '!sh' -ex quit
sudo-enabled:
- code: sudo gdb -nx -ex '!sh' -ex quit
file-write:
- code: |
LFILE=file_to_write
gdb -nx -ex "dump value $LFILE \"data\"" -ex quit
---