Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@transmeta.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Rama Singh <rama10nov@yahoo.co.in>, gdb@sources.redhat.com
Subject: Re: GDB interface with simulator
Date: Fri, 14 Nov 2003 19:36:00 -0000	[thread overview]
Message-ID: <16309.11924.328913.919528@casey.transmeta.com> (raw)
In-Reply-To: <20031114185546.GA5030@nevyn.them.org>

Daniel Jacobowitz writes:
 > > I don't recall why support for gdbserver+sim has been removed.
 > > Maybe I'm mistaken and it's still there and I just can't see it.
 > 
 > Because there was no point.  The current simulators link directly into
 > GDB, and the simulator interface has changed since anyone tried to use
 > gdbserver that way.  The correct thing is to write a layer in your
 > simulator that serves the same purpose (speaks the remote protocol). 
 > It's not too hard.

How about instead of adding it to every simulator,
just add it as a common piece of code that gets linked in with
<target>-run and turned on when some argument is passed.

OTOH, is all one would end up doing is copying a bunch of code
from gdb/gdbserver to sim/common?

[That's an honest question.  Just trying to learn how you require it.]


  parent reply	other threads:[~2003-11-14 19:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14  7:15 Rama Singh
2003-11-14  7:43 ` John Williams
2003-11-14 11:56   ` Rama Singh
2003-11-14 17:07 ` Doug Evans
2003-11-14 18:55   ` Daniel Jacobowitz
2003-11-14 19:07     ` Theodore A. Roth
2003-11-14 19:36     ` Doug Evans [this message]
2003-11-20 18:02     ` Rama Singh

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=16309.11924.328913.919528@casey.transmeta.com \
    --to=dje@transmeta.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=rama10nov@yahoo.co.in \
    /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