From 70b2de2a63f3655891c71781fa4027965e1b0293 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Sat, 9 Feb 2008 11:44:17 +0000 Subject: - added synchronous wait/resume patch. Thanks Øyvind Harboe - updated docs for halt and wait_halt and resume commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.berlios.de/openocd/trunk@285 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- doc/openocd.texi | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/openocd.texi b/doc/openocd.texi index 19736ace..7c8bc0c6 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -651,14 +651,23 @@ Poll the target for its current state. If the target is in debug mode, architect specific information about the current state are printed. An optional parameter allows continuous polling to be enabled and disabled. -@item @b{halt} +@item @b{halt} [@option{ms}] @cindex halt -Send a halt request to the target. The debugger signals the debug request, -and waits for the target to enter debug mode. +Send a halt request to the target and waits for it to halt for [@option{ms}]. +Default [@option{ms}] is 5 seconds if no arg given. +Optional arg @option{ms} is a timeout in milliseconds. Using 0 as the [@option{ms}] +will stop openocd from waiting. + +@item @b{wait_halt} [@option{ms}] +@cindex wait_halt +Wait for the target to enter debug mode. Optional [@option{ms}] is +a timeout in milliseconds. Default [@option{ms}] is 5 seconds if no +arg given. @item @b{resume} [@var{address}] @cindex resume Resume the target at its current code position, or at an optional address. +Openocd will wait 5 seconds for the target to resume. @item @b{step} [@var{address}] @cindex step -- cgit v1.2.3