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/verilog/vpi/c
- from Rev 397 to Rev 425
- ↔ Reverse comparison
Rev 397 → Rev 425
/gdb.c
2804,8 → 2804,14
static void |
rsp_query (struct rsp_buf *p_buf) |
{ |
if (0 == strcmp ("qC", p_buf->data)) |
if (0 == strcmp ("qAttached", p_buf->data)) |
{ |
/* We are always attaching to an existing process with the bare metal |
embedded system. */ |
put_str_packet ("1"); |
} |
else if (0 == strcmp ("qC", p_buf->data)) |
{ |
/* Return the current thread ID (unsigned hex). A null response |
indicates to use the previously selected thread. Since we do not |
support a thread concept, this is the appropriate response. */ |
2884,6 → 2890,11
p_buf->len = strlen (p_buf->data); |
put_packet (p_buf); |
} |
else if (0 == strncmp ("qTStatus", p_buf->data, strlen ("qTStatus"))) |
{ |
/* We don't support tracing, so return empty packet. */ |
put_str_packet (""); |
} |
else if (0 == strncmp ("qXfer:", p_buf->data, strlen ("qXfer:"))) |
{ |
/* For now we support no 'qXfer' requests, but these should not be |