* server.c (handle_query): Add reply for qC packet.
+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>
{
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)