OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [debug/] [rsp-server.c] - Diff between revs 376 and 385

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 376 Rev 385
Line 1849... Line 1849...
      buf->len = strlen (buf->data);
      buf->len = strlen (buf->data);
      put_packet (buf);
      put_packet (buf);
    }
    }
  else if (0 == strncmp ("qTStatus", buf->data, strlen ("qTStatus")))
  else if (0 == strncmp ("qTStatus", buf->data, strlen ("qTStatus")))
    {
    {
      /* Ask the stub if there is a trace experiment running right now.
      /* We don't support tracing, so return empty packet. */
         The reply has the form:
 
         `Trunning[;field]...'
 
          running is a single digit 1 if the trace is presently running, or 0
 
          if not. It is followed by semicolon-separated optional fields that an
 
          agent may use to report additional status.
 
      */
 
      put_str_packet ("T0");
 
    }
 
  else if ((0 == strncmp ("qTfV", buf->data, strlen ("qTfV"))) ||
 
           (0 == strncmp ("qTsV", buf->data, strlen ("qTsV"))))
 
    {
 
      /*
 
        These packets request data about trace state variables that are on the
 
        target. gdb sends qTfV to get the first vari of data, and multiple qTsV
 
        to get additional variables. Replies to these packets follow the syntax
 
        of the QTDV packets that define trace state variables.
 
      */
 
      put_str_packet ("");
 
    }
 
  else if (0 == strncmp ("qTfP", buf->data, strlen ("qTfP")))
 
    {
 
      /*
 
        These packets request data about tracepoints that are being used by the
 
        target. gdb sends qTfP to get the first piece of data, and multiple
 
        qTsP to get additional pieces. Replies to these packets generally take
 
        the form of the QTDP packets that define tracepoints. (FIXME add
 
        detailed syntax)
 
      */
 
      put_str_packet ("");
      put_str_packet ("");
    }
    }
  else if (0 == strncmp ("qXfer:", buf->data, strlen ("qXfer:")))
  else if (0 == strncmp ("qXfer:", buf->data, strlen ("qXfer:")))
    {
    {
      /* For now we support no 'qXfer' requests, but these should not be
      /* For now we support no 'qXfer' requests, but these should not be

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.