From: Ø. H. <oyv...@zy...> - 2008-10-23 22:00:39
|
> Debug: 700 10078 gdb_server.c:1997 gdb_input_inner(): received packet: 'mfffffffe,4 > Debug: 701 10078 gdb_server.c:1137 gdb_read_memory_packet(): addr: 0xfffffffe, len: 0x00000004 > Debug: 702 10078 target.c:1057 target_read_buffer(): reading buffer of 4 byte at 0xfffffffe > Error: 703 10078 target.c:1068 target_read_buffer(): address+size wrapped(0xfffffffe, 0x00000004) > Error: 704 10078 gdb_server.c:1098 gdb_error(): unexpected error -4 This is pretty damning evidence that there is a bug of some sort in the toolchain(or GDB specifically). GDB should never issue this packet regardless of what OpenOCD, Eclipse or the application does wrong... it asks to read 4 bytes at address 0xfffffffe which runs off the end of the universe(address space at least). Can you try the GDB from http://www.zylin.com/gccbinary.html ? -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer |