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/orpsocv2/bench/sysc
    from Rev 403 to Rev 425
    Reverse comparison

Rev 403 → Rev 425

/src/GdbServerSC.cpp
962,8 → 962,15
void
GdbServerSC::rspQuery ()
{
if (0 == strcmp ("qC", pkt->data))
if (0 == strcmp ("qAttached", pkt->data))
{
// We are always attaching to an existing process with the bare metal
// embedded system.
pkt->packStr ("1");
rsp->putPkt (pkt);
}
else if (0 == strcmp ("qC", pkt->data))
{
// Return the current thread ID (unsigned hex). A null response
// indicates to use the previously selected thread. We use the constant
// OR1KSIM_TID to represent our single thread of control.
1053,6 → 1060,12
pkt->setLen (strlen (pkt->data));
rsp->putPkt (pkt);
}
else if (0 == strncmp ("qTStatus", pkt->data, strlen ("qTstatus")))
{
// We don't support tracing, return empty packet
pkt->packStr ("");
rsp->putPkt (pkt);
}
else if (0 == strncmp ("qXfer:", pkt->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.