aboutsummaryrefslogtreecommitdiff
path: root/doc/openocd.texi
diff options
context:
space:
mode:
authorMarek Vrbka <marek.vrbka@codasip.com>2023-09-18 14:32:44 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2023-10-14 12:00:16 +0000
commit2c8c2cb6b1426afc73519a7445a71a0aed36cf0f (patch)
treeed6d66c04809d9ca4ad9c4e506edb8827dd3830f /doc/openocd.texi
parentbcaac692d0fce45189279a4c80cbd6852e4bbf4e (diff)
downloadriscv-openocd-2c8c2cb6b1426afc73519a7445a71a0aed36cf0f.zip
riscv-openocd-2c8c2cb6b1426afc73519a7445a71a0aed36cf0f.tar.gz
riscv-openocd-2c8c2cb6b1426afc73519a7445a71a0aed36cf0f.tar.bz2
command: Prepend logs during command capture
Previously, if you ran a tcl command in capture like so: "capture { reg 0x1000 hw }" Such command did overwrite the tcl result if LOG_LVL_INFO or lower was logged during it. This patch changes it by prepending the log to the tcl result instead. As the tcl results should not be lost during capture. Change-Id: I37381b45e15c931ba2844d65c9d38f6ed2f6e4fd Signed-off-by: Marek Vrbka <marek.vrbka@codasip.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7902 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins Reviewed-by: Jan Matyas <jan.matyas@codasip.com>
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r--doc/openocd.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 2d59238..6ec280a 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -12475,7 +12475,7 @@ Return information about the flash banks
@item @b{capture} <@var{command}>
Run <@var{command}> and return full log output that was produced during
-its execution. Example:
+its execution together with the command output. Example:
@example
> capture "reset init"