From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Aleksandar Ristovski <aristovski@qnx.com>, Doug Evans <dje@google.com>
Subject: Re: [patch] gdbserver: Add support for Z0/Z1 packets
Date: Wed, 24 Jun 2009 19:28:00 -0000 [thread overview]
Message-ID: <200906242028.52368.pedro@codesourcery.com> (raw)
In-Reply-To: <4A427C5B.8080205@qnx.com>
On Wednesday 24 June 2009 20:19:55, Aleksandar Ristovski wrote:
> Your patch: Wasn't it more desireable to distinguish between
> (1) -unsupported and
> (-1)-error?
>
> i.e. in "default", shouldn't it be "res=-1" so that it makes
> it clear that gdb passed invalid argument?
Z0, Z1, Z2, etc. are different packets, the "type" is not
an argument to a Z packet. If we ever came up with a
Z8 packet, a gdbserver not recognizing it should reply
"unsupported", not error.
>
> Testsuite: I do run it but I admit sometimes not due to
> issues my system is giving me lately; I have to run tests
> "manually" i.e. one by one (I'll have to take some time to
> figure out why is the test run, after some time, just
> starting to ERROR, unable to properly spawn new gdb instance).
Okay, but there's always test with local gdbserver on linux or Windows
otherwise. It's really easy:
http://sourceware.org/gdb/wiki/Native_gdbserver_testing
--
Pedro Alves
next prev parent reply other threads:[~2009-06-24 19:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 1:20 Aleksandar Ristovski
2009-06-17 1:35 ` Aleksandar Ristovski
2009-06-19 7:08 ` Doug Evans
2009-06-19 13:56 ` Aleksandar Ristovski
2009-06-20 22:01 ` Pedro Alves
2009-06-22 19:39 ` Aleksandar Ristovski
2009-06-22 22:46 ` Pedro Alves
2009-06-23 15:18 ` Aleksandar Ristovski
2009-06-23 15:59 ` Pedro Alves
2009-06-23 16:57 ` Aleksandar Ristovski
2009-06-24 18:51 ` Aleksandar Ristovski
2009-06-24 19:01 ` Doug Evans
2009-06-24 19:04 ` Aleksandar Ristovski
2009-06-24 19:10 ` Doug Evans
2009-06-24 19:10 ` Pedro Alves
2009-06-24 19:20 ` Aleksandar Ristovski
2009-06-24 19:28 ` Pedro Alves [this message]
2009-06-24 19:25 ` Aleksandar Ristovski
2009-06-25 22:18 ` Pedro Alves
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=200906242028.52368.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=aristovski@qnx.com \
--cc=dje@google.com \
--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