On Fri, Jul 5, 2013 at 5:11 PM, [email protected] <[email protected]> wrote: > Here's the error when gdb sends the wrong register size...
I built gdb from current git source to make sure it is the latest. With 'set arch mips:isa32' in gdb I don't get the 'P25=00002080ffffffff' error. It sends P25=00002080. If I set arch mips:4000 I get the P25 error. I'm kind of functioning with the gdb from git source. > > Debug: 451 20330 gdb_server.c:2016 gdb_input_inner(): received packet: > 'X80217fd0,424:<binary-data>' > Debug: 452 20331 gdb_server.c:1323 gdb_write_memory_binary_packet(): > addr: 0x80217fd0, len: 0x00000424 > Debug: 453 20331 target.c:1689 target_write_buffer(): writing buffer > of 1060 byte at 0x80217fd0 > Debug: 454 20331 mips_m4k.c:976 mips_m4k_write_memory(): address: > 0x80217fd0, size: 0x00000004, count: 0x00000109 > Debug: 455 20331 mips_m4k.c:1108 mips_m4k_bulk_write_memory(): > address: 0x80217fd0, count: 0x00000109 > Debug: 456 20331 mips32_pracc.c:1025 mips32_pracc_fastdata_xfer(): > mips32_pracc_fastdata_xfer using 0xa0080000 for write handler > Debug: 457 20360 gdb_server.c:2016 gdb_input_inner(): received packet: > 'X802183f4,1c8:<binary-data>' > Debug: 458 20360 gdb_server.c:1323 gdb_write_memory_binary_packet(): > addr: 0x802183f4, len: 0x000001c8 > Debug: 459 20360 target.c:1689 target_write_buffer(): writing buffer > of 456 byte at 0x802183f4 > Debug: 460 20360 mips_m4k.c:976 mips_m4k_write_memory(): address: > 0x802183f4, size: 0x00000004, count: 0x00000072 > Debug: 461 20360 mips_m4k.c:1108 mips_m4k_bulk_write_memory(): > address: 0x802183f4, count: 0x00000072 > Debug: 462 20360 mips32_pracc.c:1025 mips32_pracc_fastdata_xfer(): > mips32_pracc_fastdata_xfer using 0xa0080000 for write handler > Debug: 463 20385 gdb_server.c:2018 gdb_input_inner(): received packet: 'g' > Debug: 464 20387 gdb_server.c:2018 gdb_input_inner(): received packet: > 'P25=00002080ffffffff' > Debug: 465 20387 gdb_server.c:1110 gdb_set_register_packet(): - > Error: 466 20387 gdb_server.c:1131 gdb_set_register_packet(): gdb sent > a packet with wrong register size. chars 8 str 16 - > P25=00002080ffffffff > Debug: 467 20387 gdb_server.c:840 gdb_connection_closed(): GDB Close, > Target: rt5350.cpu, state: halted, gdb_actual_connections=0 > Debug: 468 20387 target.c:1300 target_call_event_callbacks(): target > event 6 (gdb-end) > Debug: 469 20387 target.c:1300 target_call_event_callbacks(): target > event 24 (gdb-detach) > Info : 470 20387 server.c:476 server_loop(): dropped 'gdb' connection > > > > -- > Jon Smirl > [email protected] -- Jon Smirl [email protected] ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
