Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Robert Norton <rnorton@broadcom.com>
Cc: Jim Blandy <jimb@codesourcery.com>, s88 <dave.tw@gmail.com>,
		Wenbo Yang <wenbo.yang@simplnano.com>,
	gdb@sourceware.org
Subject: Re: What should a CPU simulator support?
Date: Fri, 06 Jul 2007 12:20:00 -0000	[thread overview]
Message-ID: <20070706122023.GA11676@caradoc.them.org> (raw)
In-Reply-To: <B0D822BFECD50F4991F2516EA50F273C01E4DFF6@NT-IRVA-0752.brcm.ad.broadcom.com>

On Fri, Jul 06, 2007 at 05:10:19AM -0700, Robert Norton wrote:
> OK. That's interesting. We support this too but I've always thought it a
> little cumbersome compared to built in simulator. Your stdin / out
> comment was interesting: I may look into this.

(Jim's comment actually.)  Yes, we find this very useful at
CodeSourcery; it's still a little cumbersome if you have no way to
give your users either an IDE or some automatic user-defined commands,
but if you can do either of those it's pretty much the same as typing
"target sim" from their perspective.

> Yeah that's pretty much what I figured. It'd be great if we could
> contribute, but unfortunately it's not my decision. All I can do is give
> bug reports and trivial fixes. I really appreciate your support though.

Right.  So, the summary here is that I recommend using the remote
protocol because it provides excellent long-term insulation from the
internals of GDB.  We try not to make backwards-incompatible changes
to the protocol, at least not without discussion and special
circumstances (e.g. no signs that anyone has used a feature in a
decade).  So there's no risk of the Z0 / Z1 packets disappearing,
unlike in the remote simulator.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-07-06 12:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  2:30 Wenbo Yang
2007-07-05 19:14 ` Jim Blandy
     [not found]   ` <c9d32f760707051300r192ea70bj3edcfc00892c5714@mail.gmail.com>
2007-07-05 21:32     ` Jim Blandy
2007-07-06 10:27       ` Robert Norton
2007-07-06 12:02         ` Daniel Jacobowitz
2007-07-06 12:10           ` Robert Norton
2007-07-06 12:20             ` Daniel Jacobowitz [this message]
2007-07-06 21:56               ` Eric Weddington
2007-07-06 22:13                 ` 'Daniel Jacobowitz'
     [not found] <c9d32f760707031824u7836642aud35629ae88fbfe3@mail.gmail.com>
2007-07-04  1:26 ` s88

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=20070706122023.GA11676@caradoc.them.org \
    --to=drow@false.org \
    --cc=dave.tw@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=jimb@codesourcery.com \
    --cc=rnorton@broadcom.com \
    --cc=wenbo.yang@simplnano.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