>> I still am stuck and no breaky points !

Really? I'm confused. I'm seeing other problems - that are some what 
related - but I'm not sure (see earlier email subject: Clearing all 
breakpoints & watch points)

I see you only setting one breakpoint.   I see the breakpoint working. 
If I look at the log - vrs - the source code -  I see the following:

Debug: 454 1297182 gdb_server.c:2050 gdb_input_inner(): received packet: 
'Z1,196,2'
Debug: 509 1352651 gdb_server.c:2050 gdb_input_inner(): received packet: 
'z1,196,2'
Debug: 515 1627149 gdb_server.c:2050 gdb_input_inner(): received packet: 
'Z1,196,2'
Debug: 570 1867380 gdb_server.c:2050 gdb_input_inner(): received packet: 
'z1,196,2'
Debug: 629 5711327 gdb_server.c:2050 gdb_input_inner(): received packet: 
'Z1,196,2'
Debug: 684 5723749 gdb_server.c:2050 gdb_input_inner(): received packet: 
'z1,196,2'

1) All received packets are always printed during debug logs.
       see: gdb_server.c - line 2050 -

2)  All "Z" (upper case) packets *set* breakpoints
3)  All "z" (lower case) packets *clear* breakpoints

The fields are:

    Z <type>  COMMA  <address> COMMA <size>

See: "gdb_breakpoint_watchpoint_add()" - line 1375 of gdb_server.c

GDB is always using the hardware breakpoint, type 1.  Why? Because GDB 
knows the breakpoint location is in *FLASH*  GDB knows this because of 
the "memory map" that was sent.

    ie:  gdb_memory_map     enable

It is always setting/clearing the break point at address 0x196, always a 
thumb break point (length is 2)

I don't see errors in your log - I see them in my log...

-Duane.



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

Reply via email to