Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>,
	Kei Sakamoto <sakamoto.kei@renesas.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] New m32r remote target, m32rsdi
Date: Mon, 22 Sep 2003 07:14:00 -0000	[thread overview]
Message-ID: <3F6EA141.7020502@redhat.com> (raw)
In-Reply-To: <20030817210347.GF11300@nevyn.them.org>

> * remote-m32r-sdi.c : New file, interface to m32r on-chip 
>> debug interface, SDI (Scalable Debug Interface).
>> * Makefile.in (remote-m32r-sdi.o): Add build rule.
>> * config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o.
> 
> 
> I don't feel qualified to review a new remote target, so you'll have to
> ask the remote maintainer.


I don't feel exactly qualified either.  I think, in terms of the 
protocol, GDB we'll have to take it at face value.

Kei, Sorry for the delay, I think 6.0 is done for ....
 From the external interface interface viewpoint, I've noticed a few things:

- it has a custom serial [socket] interface
Is there a reason to not use serial.[hc]?  All new targets should use a 
common interface (in fact I think I just deleted the last target that 
didn't :-) as by doing this the user gets more consistent behavior.

- it isn't documented
Probably just a line or two after the doco for "target m32r" in 
doc/gdb.texinfo.

- it isn't async
Look at remote.c:remote_async_wait (although as far examples go it may 
not help much) and notice how, for 'O' packets, it returns:
           /* Return immediately to the event loop. The event loop will
              still be waiting on the inferior afterwards. */
           status->kind = TARGET_WAITKIND_IGNORE;
If this target is going to last, it's going to need to eventually become 
async (just not immediatly).  Please don't be suprized if, at some stage 
  in the not to distant future, I start making noises about this.

- it will need a brief NEWS entry!

enjoy,
Andrew



  parent reply	other threads:[~2003-09-22  7:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-04  7:57 Kei Sakamoto
2003-08-17 21:03 ` Daniel Jacobowitz
2003-08-21  4:29   ` Kei Sakamoto
2003-09-05  2:59     ` Kei Sakamoto
2003-09-05 14:21       ` Andrew Cagney
2003-09-08  6:13         ` Kei Sakamoto
2003-09-22  7:14   ` Andrew Cagney [this message]
2003-10-02  2:26     ` Kei Sakamoto
2003-10-10  1:41       ` Andrew Cagney
2003-10-14  7:53         ` Kei Sakamoto
2003-10-15  5:51           ` Eli Zaretskii
2003-10-15 14:40           ` Andrew Cagney
2003-10-16  2:43           ` Kei Sakamoto

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=3F6EA141.7020502@redhat.com \
    --to=ac131313@redhat.com \
    --cc=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=sakamoto.kei@renesas.com \
    /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