From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: <gdb-patches@sourceware.org>
Subject: [RFA] gdbserver: also issue remote debug information for getpkt in no-ack-mode
Date: Mon, 09 Feb 2009 16:04:00 -0000 [thread overview]
Message-ID: <000701c98ad0$0a20eb50$1e62c1f0$@u-strasbg.fr> (raw)
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;
}
next reply other threads:[~2009-02-09 16:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 16:04 Pierre Muller [this message]
2009-02-13 23:53 ` Pedro Alves
2009-02-14 0:23 ` Pierre Muller
2009-02-14 6:39 ` Pierre Muller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000701c98ad0$0a20eb50$1e62c1f0$@u-strasbg.fr' \
--to=muller@ics.u-strasbg.fr \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox