This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] mips32_next_pc overdue cleanup
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [RFA] mips32_next_pc overdue cleanup
- From: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- Date: Thu, 5 Jul 2001 13:33:46 -0700
- Cc: Eli Zaretskii <eliz at is dot elta dot co dot il>, gdb-patches at sources dot redhat dot com
- References: <Pine.SUN.3.91.1010705094609.15332F-100000@is> <3B44CE13.8070405@cygnus.com>
On Thu, Jul 05, 2001 at 04:29:07PM -0400, Andrew Cagney wrote:
> Eli wrote:
>
> > According to the masks in the opcodes
> >> directory, these changes are rigt, and what we had before can't possibly
> >> work. Especially the fact that we would never, ever predict a BNE as taken
> >> before these changes convinced me that they really were correct and this
> >> code had never been particularly tested. Comments?
> >
> >
> > I'd appreciate a short test case for this. I'd like to verify that
> > the previous stuff indeed didn't work and that the new stuff does.
> >
> > Assuming that this code is run on SGI Irix, that is.
>
>
> I'm wondering the same thing.
>
> > I'll try to make one. I'm not immediately sure how.
> >
> > It looks almost as if this code was for an unreleased port inside
> > Cygnus - anyone know if that's true? I see active work on it in 1998
> > and 2000 in the ChangeLogs, and no mention of removing calls to it
> > - but nothing uses it at all.
>
>
> I'll do some digging.
Thanks. I'm curious.
Is there a CVS repository backed up somewhere which predates 1999, when
it seems the sourceware copy was created? Makes it a little more
challenging to do the archaelogy.
> One thing, it is very easy for a software single step function to be
> implemented yet never tested - everything supports h/w singlestep
> now-a-days.
Everything except my target :)
The thing is, the (trivial) software single step function wasn't even
in mips-tdep.c. Only all the complicated support routines for it were.
The lossage isn't all that surprising, given that these functions had
no callers.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer