Re: [RFA] New GDB target iq2000

Daniel Jacobowitz
2005-03-04T16:01:42Z

On Fri, Mar 04, 2005 at 04:51:27PM +0100, Corinna Vinschen wrote:
> On Mar 4 10:06, Daniel Jacobowitz wrote:
> > On Fri, Mar 04, 2005 at 04:01:29PM +0100, Corinna Vinschen wrote:
> > > All three cases don't look like simple coincidence. In all three cases
> > > we suffer from either optimized code or unavailable debug information.
> > > The target specific "knowledge", which is represented by the call to
> > > iq2000_scan_prologue helps to master this situation.
> >
> > Would you mind posting disassembly, line table (readelf -wl), and GDB
> > transcript for these failures?
>
> Sure. First the both break.exp fails, which are interlocked:

Thanks! I don't quite grok this bit:

> - Disassembly of function marker4:
>
> 80000368 <marker4>:
> 80000368: 27 bd ff f0 addiu r29,r29,0xfff0

> break marker4^M
> Breakpoint 2 at 0x800001f0: file testsuite/gdb.base/break1.c, line 43.^M

The PCs don't match - I haven't been able to work out how the one
input produced the other output yet.

Let me try something different, which will hopefully waste less of your
time. Could you mail me the two binaries, and the patch to use
skip_prologue_using_sal? I can build an iq2000 GDB easily enough; I
just don't want to set up an entire iq2000 toolchain.