Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] gdbserver: also issue remote debug information for getpkt in no-ack-mode
@ 2009-02-09 16:04 Pierre Muller
  2009-02-13 23:53 ` Pedro Alves
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Muller @ 2009-02-09 16:04 UTC (permalink / raw)
  To: gdb-patches


  gdbserver with --remote-debug
only prints out putpkt information
if noack_mode is set.
  getpkt debug information is only printed out
if noack_mode is zero.

  The following patch also issues
getpkt debug information if noack_mode is non-zero.  

  Is this OK?

  I am still not capable of running
a testsuite for gdbserver...
  thus I can't give you any results on
the testsuite.

  Could someone tell me how to setup a
dejagnu target to run the testsuite 
with cygwin gdbserver on a cygwin machine?


Pierre Muller
Pascal language support maintainer for GDB


gdbserver/ChangeLog entry:

2009-02-09  Pierre Muller  <muller@ics.u-strasbg.fr>

	* remote-utils.c (getpkt): Also generate remote-debug
	information if noack_mode is set.

  




Index: gdb/gdbserver/remote-utils.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/remote-utils.c,v
retrieving revision 1.60
diff -u -p -r1.60 remote-utils.c
--- gdb/gdbserver/remote-utils.c	3 Jan 2009 05:57:57 -0000	1.60
+++ gdb/gdbserver/remote-utils.c	9 Feb 2009 15:44:54 -0000
@@ -823,6 +823,15 @@ getpkt (char *buf)
 	  fflush (stderr);
 	}
     }
+  else
+    {
+      if (remote_debug)
+	{
+	  fprintf (stderr, "getpkt (\"%s\");  [no ack sent] \n", buf);
+	  fflush (stderr);
+	}
+
+    }
 
   return bp - buf;
 }


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

end of thread, other threads:[~2009-02-14  0:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-09 16:04 [RFA] gdbserver: also issue remote debug information for getpkt in no-ack-mode Pierre Muller
2009-02-13 23:53 ` Pedro Alves
2009-02-14  0:23   ` Pierre Muller
2009-02-14  6:39   ` Pierre Muller

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