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

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/or1ksim/debug
    from Rev 346 to Rev 376
    Reverse comparison

Rev 346 → Rev 376

/rsp-server.c
55,7 → 55,7
 
 
/* Define to log each packet */
/* #define RSP_TRACE 1 */
/*#define RSP_TRACE 1*/
 
/*! Name of the Or1ksim RSP service */
#define OR1KSIM_RSP_SERVICE "or1ksim-rsp"
1849,6 → 1849,39
buf->len = strlen (buf->data);
put_packet (buf);
}
else if (0 == strncmp ("qTStatus", buf->data, strlen ("qTStatus")))
{
/* Ask the stub if there is a trace experiment running right now.
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 ("");
}
else if (0 == strncmp ("qXfer:", buf->data, strlen ("qXfer:")))
{
/* 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.