gas/
[deliverable/binutils-gdb.git] / gdb / tracepoint.c
index 63f66c7b73f5ed47b22b4b05836ae8caa348117e..6d76f4b1bfca6d474befc47d03566e1816106199 100644 (file)
@@ -4545,6 +4545,8 @@ tfile_xfer_partial (struct target_ops *ops, enum target_object object,
              if (amt > len)
                amt = len;
 
+             if (maddr != offset)
+               lseek (trace_fd, offset - maddr, SEEK_CUR);
              tfile_read (readbuf, amt);
              return amt;
            }
This page took 0.023934 seconds and 4 git commands to generate.