Next: GDB/MI Ada Exceptions Commands, Previous: GDB/MI Target Manipulation, Up: GDB/MI [Contents][Index]
-target-file-put hostfile targetfile
Copy file hostfile from the host system (the machine running GDB) to targetfile on the target system.
The corresponding GDB command is ‘remote put’.
(gdb) -target-file-put localfile remotefile ^done (gdb)
-target-file-get targetfile hostfile
Copy file targetfile from the target system to hostfile on the host system.
The corresponding GDB command is ‘remote get’.
(gdb) -target-file-get remotefile localfile ^done (gdb)
Delete targetfile from the target system.
The corresponding GDB command is ‘remote delete’.
(gdb) -target-file-delete remotefile ^done (gdb)