2007-05-16 Markus Deuling <deuling@de.ibm.com>

* server.c (handle_query): Add reply for qC packet.
This commit is contained in:
Ulrich Weigand 2007-05-16 15:26:35 +00:00
parent 93f02886fd
commit bb63802a4f
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-05-16 Markus Deuling <deuling@de.ibm.com>
* server.c (handle_query): Add reply for qC packet.
2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt>
Leo Zayas <lerele@champenstudios@com>

View File

@ -259,6 +259,15 @@ handle_query (char *own_buf, int *new_packet_len_p)
{
static struct inferior_list_entry *thread_ptr;
/* Reply the current thread id. */
if (strcmp ("qC", own_buf) == 0)
{
thread_ptr = all_threads.head;
sprintf (own_buf, "QC%x",
thread_to_gdb_id ((struct thread_info *)thread_ptr));
return;
}
if (strcmp ("qSymbol::", own_buf) == 0)
{
if (the_target->look_up_symbols != NULL)