Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: cgd@broadcom.com
To: "Monika Chaddha" <monika@acmet.com>
Cc: gdb@sources.redhat.com, acmet@vsnl.net
Subject: Re: GDB6.2.1 : Queries about mips simulator configuration
Date: Wed, 15 Sep 2004 06:41:00 -0000	[thread overview]
Message-ID: <yov57jqwqdvv.fsf@ldt-sj3-010.sj.broadcom.com> (raw)
In-Reply-To: <002401c49a4a$133f00d0$5100a8c0@monika>

I've been really busy.  I've not had time to look at mips16 patch
yet...

At Tue, 14 Sep 2004 16:30:41 +0530, Monika Chaddha wrote:
> Queries: 
> 
> 1. 'sim_gen': According to my understanding this is name of simulator
> generator. For the targets in which 32-bit instructions are supported it
> is assigned as 'IGEN' and the targets in which 16-bit instructions or 32
> and 16-bit both are supported, it is assigned as 'M16'.

Mostly.  There's another option, "MULTI" for use by simulators which
support multiple CPU types at once.

What these do is control the way 'igen' is invoked to generate the
simulator.

> Are 'IGEN' and 'M16' two different simulator generators or they are
> sharing something? 
> Is M16 using 'IGEN' indirectly?
> 
> I have gone through 'makefile.in' file also but could not gather much
> information.

AFAICT, they both generate simulators in approximately the same way,
but different parameters are used for each.

In Makefile.in, compare tmp-igen with tmp-m16.

Most of this stuff predates my maintainership -- i've never touched
MIPS16, really, for instance.


> 2. sim_m16_machine="-M mips16,mipsIII"
> 
> I had reported this bug that gdb6.0 was not building for mips16 after
> that you have done this modification " (sim_m16_machine): Include
> mipsIII" to fix this problem. I have also attached the mails for
> reference.

Right.  MIPS16 doesn't exist in a vacuum.  Any machine that implements
MIPS16 must also implement a MIPS I...MIPS64 ISA as well, which in
fact is the underlying ISA used by the machine.

The MIPS16 support needs some basic information and functions related
to the underlying ISA.



cgd


       reply	other threads:[~2004-09-15  6:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <002401c49a4a$133f00d0$5100a8c0@monika>
2004-09-15  6:41 ` cgd [this message]
2004-09-15  9:37   ` Monika Chaddha

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=yov57jqwqdvv.fsf@ldt-sj3-010.sj.broadcom.com \
    --to=cgd@broadcom.com \
    --cc=acmet@vsnl.net \
    --cc=gdb@sources.redhat.com \
    --cc=monika@acmet.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