1. 30 Jan, 2012 1 commit
  2. 27 Jan, 2012 2 commits
  3. 23 Jan, 2012 3 commits
  4. 18 Jan, 2012 2 commits
  5. 15 Jan, 2012 2 commits
  6. 12 Jan, 2012 4 commits
  7. 04 Jan, 2012 4 commits
    • Mathias K's avatar
      Change return value on error. · 16b6b5e7
      Mathias K authored
      
      
      On wrong parameters a error is signalized to the calling function.
      
      Change-Id: I484443fdb39938e20382edc9246d5ec546a5c960
      Signed-off-by: default avatarMathias K <kesmtp@freenet.de>
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Reviewed-on: http://openocd.zylin.com/282
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      16b6b5e7
    • Spencer Oliver's avatar
      stlink: update to use ERROR_COMMAND_SYNTAX_ERROR · 42cb62cf
      Spencer Oliver authored
      
      
      Change-Id: I21b669b09df65b56659d2f057cf389ba7b1cecfa
      Signed-off-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      Reviewed-on: http://openocd.zylin.com/335
      
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Tested-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      42cb62cf
    • Øyvind Harboe's avatar
      retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR · 4668bd26
      Øyvind Harboe authored
      
      
      Change-Id: I6dee51e1fab1944085391f274a343cdb9014c7a4
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Reviewed-on: http://openocd.zylin.com/300
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      4668bd26
    • Mathias K's avatar
      command: print BUG warning when usage is missing · 54d6330b
      Mathias K authored
      
      
      These error messages will prompt patches to be submitted for missing
      .usage or empty fields. All of the below must be resolved before next
      release.
      
      The Jim defined commands are excluded from this checklist because the
      help text can be set later than during command registration.
      
      strlen(.usage) == 0 means that the command expects no arguments.
      
      Updates to this patch in Gerrit to fix problems below are most
      welcome. Anyone can push updated versions of a patch to Gerrit. If
      there are no further updates to this patch within a week, it will be
      pushed to the master branch to prompt more fixes.
      
      These were caught by launching OpenOCD.
      
      Error: BUG: command 'command' does not have the '.usage' field filled out
      Error: BUG: command 'script' does not have the '.usage' field filled out
      Error: BUG: command 'power_restore' does not have the '.usage' field filled out
      Error: BUG: command 'srst_deasserted' does not have the '.usage' field filled out
      Error: BUG: command 'measure_clk' does not have the '.usage' field filled out
      Error: BUG: command 'exit' does not have the '.usage' field filled out
      Error: BUG: command 'shutdown' does not have the '.usage' field filled out
      Error: BUG: command 'gdb_sync' does not have the '.usage' field filled out
      Error: BUG: command 'interface_list' does not have the '.usage' field filled out
      Error: BUG: command 'target' does not have the '.usage' field filled out
      Error: BUG: command 'target init' does not have the '.usage' field filled out
      Error: BUG: command 'flash' does not have the '.usage' field filled out
      Error: BUG: command 'flash init' does not have the '.usage' field filled out
      Error: BUG: command 'flash banks' does not have the '.usage' field filled out
      Error: BUG: command 'nand' does not have the '.usage' field filled out
      Error: BUG: command 'nand drivers' does not have the '.usage' field filled out
      Error: BUG: command 'nand init' does not have the '.usage' field filled out
      Error: BUG: command 'pld' does not have the '.usage' field filled out
      Error: BUG: command 'pld init' does not have the '.usage' field filled out
      Error: BUG: command 'mflash' does not have the '.usage' field filled out
      Error: BUG: command 'mflash init' does not have the '.usage' field filled out
      Error: BUG: command 'dummy' does not have the '.usage' field filled out
      Error: BUG: command 'dummy foo' does not have the '.usage' field filled out
      Error: BUG: command 'scan_chain' does not have the '.usage' field filled out
      Error: BUG: command 'jtag' does not have the '.usage' field filled out
      Error: BUG: command 'jtag init' does not have the '.usage' field filled out
      Error: BUG: command 'arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'etm' does not have the '.usage' field filled out
      Error: BUG: command 'arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu etm' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'target_request' does not have the '.usage' field filled out
      ^C
      oyvind@fierce:~/openocd$ openocd -c "interface dummy" -f board/at91eb40a.cfg 2>&1 | grep -w BUG
      Error: BUG: command 'command' does not have the '.usage' field filled out
      Error: BUG: command 'script' does not have the '.usage' field filled out
      Error: BUG: command 'power_restore' does not have the '.usage' field filled out
      Error: BUG: command 'srst_deasserted' does not have the '.usage' field filled out
      Error: BUG: command 'measure_clk' does not have the '.usage' field filled out
      Error: BUG: command 'exit' does not have the '.usage' field filled out
      Error: BUG: command 'shutdown' does not have the '.usage' field filled out
      Error: BUG: command 'gdb_sync' does not have the '.usage' field filled out
      Error: BUG: command 'interface_list' does not have the '.usage' field filled out
      Error: BUG: command 'target' does not have the '.usage' field filled out
      Error: BUG: command 'target init' does not have the '.usage' field filled out
      Error: BUG: command 'flash' does not have the '.usage' field filled out
      Error: BUG: command 'flash init' does not have the '.usage' field filled out
      Error: BUG: command 'flash banks' does not have the '.usage' field filled out
      Error: BUG: command 'nand' does not have the '.usage' field filled out
      Error: BUG: command 'nand drivers' does not have the '.usage' field filled out
      Error: BUG: command 'nand init' does not have the '.usage' field filled out
      Error: BUG: command 'pld' does not have the '.usage' field filled out
      Error: BUG: command 'pld init' does not have the '.usage' field filled out
      Error: BUG: command 'mflash' does not have the '.usage' field filled out
      Error: BUG: command 'mflash init' does not have the '.usage' field filled out
      Error: BUG: command 'dummy' does not have the '.usage' field filled out
      Error: BUG: command 'dummy foo' does not have the '.usage' field filled out
      Error: BUG: command 'scan_chain' does not have the '.usage' field filled out
      Error: BUG: command 'jtag' does not have the '.usage' field filled out
      Error: BUG: command 'jtag init' does not have the '.usage' field filled out
      Error: BUG: command 'arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'etm' does not have the '.usage' field filled out
      Error: BUG: command 'arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm' does not have the '.usage' field filled out
      Error: BUG: command 'arm reg' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu etm' does not have the '.usage' field filled out
      Error: BUG: command 'at91eb40a.cpu arm7_9' does not have the '.usage' field filled out
      Error: BUG: command 'target_request' does not have the '.usage' field filled out
      
      Change-Id: I2c3e529530a15d2295a1950ffc59e8f2fc661012
      Signed-off-by: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
      Signed-off-by: default avatarMathias K <kesmtp@freenet.de>
      Reviewed-on: http://openocd.zylin.com/299
      
      
      Tested-by: jenkins
      Reviewed-by: default avatarØyvind Harboe <oyvindharboe@gmail.com>
      Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
      54d6330b
  8. 03 Jan, 2012 2 commits
  9. 20 Dec, 2011 2 commits
  10. 11 Dec, 2011 1 commit
  11. 29 Nov, 2011 1 commit
  12. 24 Nov, 2011 9 commits
  13. 23 Nov, 2011 1 commit
  14. 14 Nov, 2011 1 commit
  15. 10 Nov, 2011 1 commit
  16. 08 Nov, 2011 1 commit
  17. 07 Nov, 2011 3 commits