review.openocd Code Review - openocd.git/rss - doc/manual/primer/commands.txt history https://review.openocd.org/gitweb?p=openocd.git;a=history;f=doc/manual/primer/commands.txt Open On-Chip Debugger en Gerrit gitweb-logo.png review.openocd Code Review - openocd.git/rss - doc/manual/primer/commands.txt history https://review.openocd.org/gitweb?p=openocd.git;a=history;f=doc/manual/primer/commands.txt Tue, 14 May 2019 18:37:11 +0000 Tue, 14 May 2019 18:37:11 +0000 gitweb v.2.30.2/2.30.2 helper/command: change prototype of command_print/command_print_sameline Antonio Borneo <borneo.antonio@gmail.com> Wed, 3 Apr 2019 08:37:24 +0000 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=6cb5ba6f1136df2986850f5c176cb38e34ca1795 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=6cb5ba6f1136df2986850f5c176cb38e34ca1795 helper/command: change prototype of command_print/command_print_sameline helper/command: change prototype of command_print/command_print_sameline To prepare for handling TCL return values consistently, all calls to command_print/command_print_sameline should switch to CMD as first parameter. Change prototype of command_print() and command_print_sameline() to pass CMD instead of CMD_CTX. Since the first parameter is currently not used, the change can be done though scripts without manual coding. This patch is created using the command: sed -i PATTERN $(find src/ doc/ -type f) with all the following patters: 's/\(command_print(cmd\)->ctx,/\1,/' 's/\(command_print(CMD\)_CTX,/\1,/' 's/\(command_print(struct command_\)context \*context,/\1invocation *cmd,/' 's/\(command_print_sameline(cmd\)->ctx,/\1,/' 's/\(command_print_sameline(CMD\)_CTX,/\1,/' 's/\(command_print_sameline(struct command_\)context \*context,/\1invocation *cmd,/' This change is inspired by http://openocd.zylin.com/1815 from Paul Fertser but is now done through scripting. Change-Id: I3386d8f96cdc477e7a2308dd18269de3bed04385 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/5081 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
  • [D] doc/manual/primer/commands.txt
]]>
doc: fix several typos within manual documents Antonio Borneo <borneo.antonio@gmail.com> Sat, 10 Feb 2018 22:56:30 +0000 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=f0767a316a11c03924322b96b8d3feae1fe99a34 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=f0767a316a11c03924322b96b8d3feae1fe99a34 doc: fix several typos within manual documents doc: fix several typos within manual documents Mostly trivial fixes spotted by spell checker Change-Id: I3af693faf5506c866e2abe253a0e37aea3c4d284 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/4510 Tested-by: jenkins Reviewed-by: Christopher Head <chead@zaber.com> Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
  • [D] doc/manual/primer/commands.txt
]]>
Doc/examples: clarify usage messages David Brownell <dbrownell@users.sourceforge.net> Sat, 9 Jan 2010 07:13:39 +0000 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=ae710059291ba9830a9b20d899bdef6a5122dd73 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=ae710059291ba9830a9b20d899bdef6a5122dd73 Doc/examples: clarify usage messages Doc/examples: clarify usage messages Update/bugfix the "hello" example; emphasize using EBNF syntax, matching the User's Guide. Correct the Texinfo style guide to say EBNF, not BNF. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
  • [D] doc/manual/primer/commands.txt
]]>
whitespace cleanup, mostly for docs Antonio Borneo <borneo.antonio@gmail.com> Tue, 29 Dec 2009 23:48:49 +0000 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=7c5acf8660ddfce4746152e03749b699532f513f https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=7c5acf8660ddfce4746152e03749b699532f513f whitespace cleanup, mostly for docs whitespace cleanup, mostly for docs Remove useless space/tab at end of lines. Remove spaces in indentation and replace with tab. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
  • [D] doc/manual/primer/commands.txt
]]>
update command handler documentation Zachary T Welch <zw@superlucidity.net> Wed, 25 Nov 2009 02:47:35 +0000 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=ed90b6659f6d6b98b59d65f7a889e0221bdffa87 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=ed90b6659f6d6b98b59d65f7a889e0221bdffa87 update command handler documentation update command handler documentation Adds sections on command registration and chaining, giving an overview to developers that want to use these features.
  • [D] doc/manual/primer/commands.txt
]]>
update command_handler documentation Zachary T Welch <zw@superlucidity.net> Tue, 17 Nov 2009 13:38:17 +0000 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=789d47c18097abb5ee6cc8544e0ba030000fd418 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=789d47c18097abb5ee6cc8544e0ba030000fd418 update command_handler documentation update command_handler documentation Improve the developer manual and primer sections which talk about writing command handlers. Notably, it documents the new CMD_* macros.
  • [D] doc/manual/primer/commands.txt
]]>
add documention for writing built-in commands Zachary T Welch <zw@superlucidity.net> Wed, 11 Nov 2009 09:31:34 +0000 https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=ebbc762182c943d5967ea106933181a2fb726b1b https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=ebbc762182c943d5967ea106933181a2fb726b1b add documention for writing built-in commands add documention for writing built-in commands This documentation update provides an introduction to the command handling facilities provided by command.[ch]. A primer walks the user through the elements of a pointedly pedantic module: src/hello.c. A summary of the API is provided in the OpenOCD Architecture section.
  • [D] doc/manual/primer/commands.txt
]]>