Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: cgd@broadcom.com
To: aoliva@redhat.com
Cc: gdb-patches@sources.redhat.com, fche@redhat.com, echristo@redhat.com
Subject: Re: MIPS simulator initializes LSI pmon vector table with code
Date: Wed, 24 Apr 2002 11:19:00 -0000	[thread overview]
Message-ID: <yov54ri1ufhq.fsf@broadcom.com> (raw)
In-Reply-To: aoliva@redhat.com's message of "Wed, 24 Apr 2002 01:24:20 +0000 (UTC)"

At Wed, 24 Apr 2002 01:24:20 +0000 (UTC), "Alexandre Oliva" wrote:
> > * lsipmon puts the handler addresses at 0xbfc00200.  If the handler
> > address setup were run after the halt code init, I believe that would
> > have the right effect.
> 
> Except that some handlers would be incorrectly set with remnants of
> half halt sequences.

Uh, not true AFAICT.

The LSIPMON handler pointers for which this might be a problem are the
ones when loop == 0 and loop == 1, right?  Since both of those are
written, really, there would be no "half halt sequences" remaining.


> Now I have to confess that I have absolutely no idea of what's going
> on in there, and that I had never heard of these monitors before.

"hmm."


> Anyway, I don't have sufficient knowledge nor interest in these
> matters to remain in this discussion (in fact, my slow response time
> can be attributed to the fact that I don't read gdb-patches very
> often, I'm significantly behind on it, and I'm not sure when I'm going
> to have time to even think about catching up on it :-)
> 
> I suggest the maintainers of this simulator to build a mips-lsi-elf
> toolchain and attempt to run `make check-gcc' with the simulator to
> duplicate the problem I had run into, and investigate more closely
> what the correct fix would be.

That's unfortunate.

I'd certainly be willing, as co-maintainer, to help look into the
problem.  However, my time is rather limited.

The first thing to do there is IMO probably _not_ to run the GCC
tests; you've already verified that they're borken.  It's to find out
exactly what LSIPMON is _supposed_ to be doing, and why.  (The theory
being that it's important to understand what you're trying to change,
before you go and change it.  8-) I think that's the most sane path to
a fix that's likely to work in the longer term.

Do (any of) you have pointers to documentation which will help
elucidate LSIPMON's use of 0xbfc00200?



cgd


  parent reply	other threads:[~2002-04-24 18:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-18 12:46 Alexandre Oliva
2002-04-18 13:44 ` Andrew Cagney
2002-04-19 14:00   ` Alexandre Oliva
     [not found] ` <mailpost.1019159224.1687@news-sj1-1>
2002-04-18 15:43   ` cgd
     [not found]     ` <1019238909.1702.35.camel@ghostwheel.cygnus.com>
     [not found]       ` <yov54ri7pnbe.fsf@broadcom.com>
2002-04-19 11:36         ` Eric Christopher
2002-04-19 12:06           ` cgd
2002-04-19 12:48             ` Eric Christopher
2002-04-19 14:07     ` Alexandre Oliva
2002-04-19 15:32       ` cgd
2002-04-22 12:09         ` Alexandre Oliva
2002-04-22 12:30           ` cgd
2002-04-23 18:24             ` Alexandre Oliva
     [not found]               ` <mailpost.1019611460.15770@news-sj1-1>
2002-04-24 11:19                 ` cgd [this message]
2002-04-20  9:43 ` Andrew Cagney

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=yov54ri1ufhq.fsf@broadcom.com \
    --to=cgd@broadcom.com \
    --cc=aoliva@redhat.com \
    --cc=echristo@redhat.com \
    --cc=fche@redhat.com \
    --cc=gdb-patches@sources.redhat.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