On 15 March 2013 10:32, Vivien Giraud <[email protected]> wrote:
> Hi Spencer,
> Thank's, I'm using latest master, I tried to implement patch on latest but
> it's did not work.
> When it crash I got this :
>
> Debug: 2610 2147049 gdb_server.c:2048 gdb_input_inner(): received packet:
> 'Hg0'
> Debug: 2611 2147049 gdb_server.c:2048 gdb_input_inner(): received packet:
> 'g'
>
> So I searched what openOCD do when he received 'g' and found this :
>
>                 case 'g':
>                     retval = gdb_get_registers_packet(connection, packet,
> packet_size);
>
> That's strange because when I hit 'info registers' I can resume  but if I
> do 'info threads' gdb crash.
>
> So I don't think it come from gdb_get_registers_packet() function
> Someone know how to have a very verbose mode in gdb or openocd, (I already
> use -d3 in openocd and I have nothing verbose for gdb)
> I have tried to launch gdb into gdb but I haven't found nothing particular :
>

see gdb_server.c:85 - simply define _DEBUG_GDB_IO_
However i generally debug the gdb side using
set remotelogfile remote.log

Does an older version show this issue, eg. v0.6.1 ?

Have you tried both remote and extended-remote ?

Spen

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to