Dennis Ruffer wrote:
> 
> On Nov 16, 2007, at 4:54 AM, Anton Ertl wrote:
> I'm not real good at gdb anyway, so I'd prefer sending you an Intel  
> Mac, if we have to get this fixed any time soon.

I actually have at least one collegue who has an Intel Mac running
MacOs X; the main problem is that the machine would have to be set up
for Gforth development (another problem is that this machine is his
laptop, so it's offline much of the time).  I would prefer to get ssh
access to a machine that's already set up.

> > Another possible source of the problem would be if the image was
> > corrupted for some reason.  Here's the start of the image I got:
> >
> > [c1:~/gforth:11716] od -tx4  gforth.fi|head
> > 0000000 2f202123 2f727375 61636f6c 69622f6c
> > 0000020 66672f6e 6874726f 362e302d 322d392e
> > 0000040 30373030 20343036 6d692d2d 2d656761
> > 0000060 656c6966 2020200a 726f6647 05336874
> > 0000100 00000000 00000000 00033848 00400000
> > 0000120 00004000 00004000 00003c00 00003a00
> > 0000140 00005ff8 0000df04 00004000 00000000
> > 0000160 4001b000 40020000 40025000 4002a000
> > 0000200 00000000 00000004 706f6f6e 20202020
> > 0000220 fffffff5 00000040 00000004 6c6c6163
> 
> Now here's something we can maybe debug.  This is what I get:
> 
> FPGA-1 od -tx4 gforth.fi|head
> 0000000 2f202123 2f727375 61636f6c 69622f6c
> 0000020 66672f6e 6874726f 362e302d 322d392e
> 0000040 30373030 20343036 6d692d2d 2d656761
> 0000060 656c6966 2020200a 726f6647 05336874
> 0000100 00000000 00000000 00033840 00400000
                            image size
> 0000120 00004000 00004000 00003c00 00003a00
> 0000140 00005ff8 0000df04 00004000 00000000
          boot-ip  throw-ip     
> 0000160 0003d000 00042000 00047000 0004c000
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stack bases
> 0000200 00000000 00000004 706f6f6e 20202020
> 0000220 fffffff5 00000040 00000004 6c6c6163
> 
> The 23rd value and the 36th-39th values are different.

The stack bases are dead at that point (they will be overwritten as
soon as Gforth starts), so that's not the issue.  The difference in
image size probably has a harmless explanation (like differences in
GFORTHPATH).  The values I had suspected were the ips, and these are
the same, so that's not the problem.

- anton

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to