Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] gdbserver: qXfer multiprocess
@ 2009-06-16 20:10 Aleksandar Ristovski
  2009-06-16 21:09 ` Pedro Alves
  0 siblings, 1 reply; 9+ messages in thread
From: Aleksandar Ristovski @ 2009-06-16 20:10 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Hello,

This adds check for multiprocess before appending 
'multiprocess' to reply.

Thanks,

-- 
Aleksandar Ristovski
QNX Software Systems


ChangeLog:

* server.c (handle_query): Use multi_process and output
multiprocess accordingly.

[-- Attachment #2: gdbserver-server.c-multiprocess-20090615.diff --]
[-- Type: text/x-patch, Size: 605 bytes --]

Index: server.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/server.c,v
retrieving revision 1.97
diff -u -p -r1.97 server.c
--- server.c	24 May 2009 21:06:53 -0000	1.97
+++ server.c	15 Jun 2009 18:36:36 -0000
@@ -1106,7 +1106,8 @@ handle_query (char *own_buf, int packet_
       if (the_target->qxfer_osdata != NULL)
 	strcat (own_buf, ";qXfer:osdata:read+");
 
-      strcat (own_buf, ";multiprocess+");
+      if (multi_process)
+	strcat (own_buf, ";multiprocess+");
 
       if (target_supports_non_stop ())
 	strcat (own_buf, ";QNonStop+");

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-06-19 13:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-16 20:10 [patch] gdbserver: qXfer multiprocess Aleksandar Ristovski
2009-06-16 21:09 ` Pedro Alves
2009-06-17  0:56   ` Aleksandar Ristovski
2009-06-17  1:04     ` Pedro Alves
2009-06-17  1:17       ` Aleksandar Ristovski
2009-06-17 17:19       ` Aleksandar Ristovski
2009-06-17 18:04         ` Pedro Alves
2009-06-17 19:06           ` Aleksandar Ristovski
2009-06-19 13:41             ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox