Laurentiu Cocanu - document various commands.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 17 Oct 2008 14:53:08 +0000 (14:53 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 17 Oct 2008 14:53:08 +0000 (14:53 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1083 b42882b7-edfa-0310-969c-e2dbd0fdcd60

doc/openocd.texi

index d0c51428080a0ed03fff9feb278193e37faf382c..0cb6b1d4b646b68eaf24286b126bce5661069798 100644 (file)
@@ -835,6 +835,13 @@ openocd -c "fast enable" -c "interface dummy" -f target/str710.cfg
 
 @subsection Target state handling
 @itemize @bullet
+@item @b{reg} [@option{#}|@option{name}] [value]
+@cindex reg
+@*Access a single register by its number[@option{#}] or by its [@option{name}].
+No arguments: list all available registers for the current target.
+Number or name argument: display a register
+Number or name and value arguments: set register value
+
 @item @b{poll} [@option{on}|@option{off}]
 @cindex poll
 @*Poll the target for its current state. If the target is in debug mode, architecture
@@ -880,6 +887,10 @@ With no arguments a "reset run" is executed
 @*Immediately halt the target, and execute the reset script (works only with certain
 configurations)
 @end itemize
+
+@item @b{soft_reset_halt}
+@cindex reset
+@*Requesting target halt and executing a soft reset.
 @end itemize
 
 @subsection Memory access commands
@@ -919,6 +930,23 @@ These commands allow accesses of a specific size to the memory system:
 This will first attempt comparison using a crc checksum, if this fails it will try a binary compare.
 @end itemize
 
+@subsection Breakpoint commands
+@cindex Breakpoint commands
+@itemize @bullet
+@item @b{bp} <@var{addr}> <@var{len}> [@var{hw}]
+@cindex bp
+@*set breakpoint <address> <length> [hw]
+@item @b{rbp} <@var{addr}>
+@cindex rbp
+@*remove breakpoint <adress>
+@item @b{wp} <@var{addr}> <@var{len}> <@var{r}|@var{w}|@var{a}> [@var{value}] [@var{mask}]
+@cindex wp
+@*set watchpoint <address> <length> <r/w/a> [value] [mask]
+@item @b{rwp} <@var{addr}>
+@cindex rwp
+@*remove watchpoint <adress>
+@end itemize
+
 @subsection Flash commands
 @cindex Flash commands
 @itemize @bullet