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: Eli Zaretskii <eliz at is dot elta dot co dot il>,gdb-patches at sources dot redhat dot com
- Subject: Re: [RFA] mips32_next_pc overdue cleanup
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 05 Jul 2001 16:29:07 -0400
- Cc: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- References: <Pine.SUN.3.91.1010705094609.15332F-100000@is>
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.
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.
Andrew