Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Developing a new simulator
@ 2001-09-14  5:45 Harshad R Joglekar
  2001-09-15  7:17 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: Harshad R Joglekar @ 2001-09-14  5:45 UTC (permalink / raw)
  To: gdb

Hi all,

I want to write a simulator for a processor. I want to
develop both a GDB embedded simulator and a stand alone version. I had a
glance at the available options, but was unable to decide on the best
approach. The options seem to be,

1. Develop the simulator from scratch
All features have to be implemented manually, with a little help from
sim/common/.

2. Use cgen
Cgen provides a lot of options (for the simulator), and documentation.
The approach is also very formal (it uses a RTL like language). But as
of now, not many ports seem to be using it. I am not sure if cgen would
support various kinds of instructions, registers, etc. I also don't know
of it's reliability (since it is in version 1.0).
A compromise could be to use cgen generated code as a template, and
tailor it as required. Is this feasible?

3. Use igen or sid
I could not find any documentation on igen and sid is not yet released.
Reliability is
still a concern as in cgen.

What option would you recommend?

Thanks for any help,
Harshad
From ac131313@cygnus.com Fri Sep 14 08:04:00 2001
From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Jacobowitz <dan@debian.org>
Cc: "Steven J. Hill" <sjhill@cotw.com>, binutils@sources.redhat.com, gdb@sourceware.cygnus.com, linux-mips@oss.sgi.com
Subject: Re: Continued MIPS kernel debugging symbols problem...
Date: Fri, 14 Sep 2001 08:04:00 -0000
Message-id: <3BA20E7F.3020506@cygnus.com>
References: <3BA16CAA.6B4DF4A1@cotw.com> <20010914002827.A2305@nevyn.them.org>
X-SW-Source: 2001-09/msg00123.html
Content-length: 169

> 
> If you'll post a binary that you're having trouble debugging, I'll try
> to find time in the next couple of days to see what GDB is doing wrong.

PUT UP FOR FTP!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-15  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-14  5:45 Developing a new simulator Harshad R Joglekar
2001-09-15  7:17 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox