Hi,

2008/11/14 Øyvind Harboe <[EMAIL PROTECTED]>:
> Attach are fixes to gdb-server.c. Hopefully:
>
> - big endian registers are now correctly translated back/forth.
> Ditto for little endian.
> - I've also fixed corruption when setting lots of registers at the
> same time for big and small endian, but I'm not sure when
> GDB exercised that code path
>
>
> Testing & comments welcome!
I applied your patch but it broke something - here is the log:

target remote localhost:3333
0xdc420000 in ?? ()
monitor reset init
JTAG device found: 0x3100e02f (Manufacturer: 0x017, Part: 0x100e, Version: 0x3)
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0xf00000d3 pc: 0x00000000
load
Loading section .text, size 0x204 lma 0x0
Loading section .data, size 0x658 lma 0x4000
Start address 0x0, load size 2140
Transfer rate: 10 KB/sec, 1070 bytes/write.
continue
invalid mode value encountered
invalid mode value encountered
Remote failure reply: E0E

Regards,
Krzysztof
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to