Hi,

2008/11/18 Øyvind Harboe <[EMAIL PROTECTED]>:
> Take #2
>
> Hopefully better this time....
>
> Testing & comments welcome!
I applied this patch on latest svn sources (1173) - no other patches.
There is no error as mentioned in my previous message.

GDB stopped on breakpoint correctly (address 0x210). Here is what
disassemble command shows:
  disassemble
  Dump of assembler code for function init:
  0x00000204 <init+0>:  mov     r12, sp
  0x00000208 <init+4>:  stmdb   sp!, {r11, r12, lr, pc}
  0x0000020c <init+8>:  sub     r11, r12, #4    ; 0x4
  0x00000210 <init+12>: cdple   14, 14, cr13, cr14, cr14, {7}
<- should be: mvn r2, #35
  0x00000214 <init+16>: mvn     r3, #35 ; 0x23
  0x00000218 <init+20>: ldr     r3, [r3]
  0x0000021c <init+24>: bic     r3, r3, #15     ; 0xf

Data at 0x210:
  mon mdw 0x210 1
  0x00000210: deeedeee

Ok, that is quite successful - more or less I have assembly code
visible correctly. Let's do some stepping:
  s
  s
  _boot () at src/crt0.S:42
  42            ldr   pc,_undf

It jumped to undefined instruction exception. Øyvind - I can say you
are on good road to fix that big endian error.

Regards,
Krzysztof
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to