gdb: GDB/MI File Transfer Commands

 
 27.21 GDB/MI File Transfer Commands
 ===================================
 
 The '-target-file-put' Command
 ------------------------------
 
 Synopsis
 ........
 
       -target-file-put HOSTFILE TARGETFILE
 
    Copy file HOSTFILE from the host system (the machine running GDB) to
 TARGETFILE on the target system.
 
 GDB Command
 ...........
 
 The corresponding GDB command is 'remote put'.
 
 Example
 .......
 
      (gdb)
      -target-file-put localfile remotefile
      ^done
      (gdb)
 
 The '-target-file-get' Command
 ------------------------------
 
 Synopsis
 ........
 
       -target-file-get TARGETFILE HOSTFILE
 
    Copy file TARGETFILE from the target system to HOSTFILE on the host
 system.
 
 GDB Command
 ...........
 
 The corresponding GDB command is 'remote get'.
 
 Example
 .......
 
      (gdb)
      -target-file-get remotefile localfile
      ^done
      (gdb)
 
 The '-target-file-delete' Command
 ---------------------------------
 
 Synopsis
 ........
 
       -target-file-delete TARGETFILE
 
    Delete TARGETFILE from the target system.
 
 GDB Command
 ...........
 
 The corresponding GDB command is 'remote delete'.
 
 Example
 .......
 
      (gdb)
      -target-file-delete remotefile
      ^done
      (gdb)