From: Øyvind H. <go...@us...> - 2010-04-20 09:08:07
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via e4056cca2d10da3a746ebfa01799165140640071 (commit) from ddf7aabc6726956315f21394559ba1c543fcbf36 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e4056cca2d10da3a746ebfa01799165140640071 Author: Ãyvind Harboe <oyv...@zy...> Date: Tue Apr 20 09:05:07 2010 +0200 doc: gdb-attach can fix gdb connect issues Flash probing must succeed for e.g. gdb load and automatic hardware/software breakpoints to work. Signed-off-by: Ãyvind Harboe <oyv...@zy...> diff --git a/doc/openocd.texi b/doc/openocd.texi index bb8f3ab..5273d5d 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -3784,7 +3784,8 @@ proc my_attach_proc @{ @} @{ mychip.cpu configure -event gdb-attach my_attach_proc mychip.cpu configure -event gdb-attach @{ echo "Reset..." - reset halt + # To make flash probe and gdb load to flash work we need a reset init. + reset init @} @end example @@ -3804,7 +3805,11 @@ The following target events are defined: @* Currently not used (goal: when JTAG examine starts) @end ignore @item @b{gdb-attach} -@* When GDB connects +@* When GDB connects. This is before any communication with the target, so this +can be used to set up the target so it is possible to probe flash. Probing flash +is necessary during gdb connect if gdb load is to write the image to flash. Another +use of the flash memory map is for GDB to automatically hardware/software breakpoints +depending on whether the breakpoint is in RAM or read only memory. @item @b{gdb-detach} @* When GDB disconnects @item @b{gdb-end} ----------------------------------------------------------------------- Summary of changes: doc/openocd.texi | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |