1. 01 Dec, 2009 4 commits
    • Zachary T Welch's avatar
      do not extern 'interp' from command.c · 7b2906de
      Zachary T Welch authored
      Adds 'interp' field to command_context, chasing the few remaining
      references to the global variable outside of the command module.
    • Zachary T Welch's avatar
      allow deferal of init · cee1f39f
      Zachary T Welch authored
      Adds 'noinit' command to prevent OpenOCD from running 'init' at the end
      up startup, allowing it to be given from telnet or TCL.  This provides
      the old behavior by default, and users can add this command to their
      scripts to get the new behavior.
    • Zachary T Welch's avatar
      move server_init() to openocd_main() · 64653b0b
      Zachary T Welch authored
      Moves the telnet and TCL server startup to server_init(), moving their
      respective command registration in to server_register_commands().
      Adds proper error checking for these particular startup processes.
      Moves the core server startup to openocd_main(), improving related error
      checking and preparing to defer 'init'.
    • Zachary T Welch's avatar
      improve gdb_init() sequence · ec6c1962
      Zachary T Welch authored
      Rework gdb_init to create flexible APIs (gdb_target_add_{one,all}) and
      static helper (gdb_target_start) for starting GDB services.  Eliminates
      duplicated code and provides general mechanisms for adding GDB services.
      The 'init' command is updated to call the new API, and later patches can
      decouple its policy of adding all targets therein.
      Provides the new capability to use both piped and TCP servers when
      multiple targets are defined.  The first target fills the pipe, and
      others will be started on TCP ports (unless disabled, i.e. gdb_port=0).
  2. 29 Nov, 2009 1 commit
  3. 25 Nov, 2009 5 commits
    • Zachary T Welch's avatar
      log: improve initialization · be482a53
      Zachary T Welch authored
      Removes redundant assignment of start_ms from log_register_commands().
      Eliminates command_context parameter and return value.
      Adds Doxygen comment block for this API call.
    • Zachary T Welch's avatar
      improve command handling examples · a93b4041
      Zachary T Welch authored
      Removes hello and foo commands from top-level registration.  Instead,
      the dummy interface driver and faux flash driver have been augmented
      to register these commands as sub-commands.
    • Zachary T Welch's avatar
      httpd: use register_commands() · 8f5ff3dd
      Zachary T Welch authored
      Updates httpd_start() to use register_commands() for 'readform' and
      'writeform' commands.  Adds server/httpd.h to export the new signatures
      for this function (and httpd_stop), which allows removing the obsoleted
      declarations inside openocd.c.
    • Zachary T Welch's avatar
      openocd: use register_commands() · 1595fd7c
      Zachary T Welch authored
      Use register_commands() for top-level version and init command.
    • Zachary T Welch's avatar
      use COMMAND_REGISTER macro · 833e7f52
      Zachary T Welch authored
      Replaces direct calls to register_command() with a macro, to allow
      its parameters to be changed and callers updated in phases.
  4. 20 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      refactor command registration · 9e9633c6
      Zachary T Welch authored
      Refactors the command registration to use helpers to simplify the code.
      The unregistration routines were made more flexible by allowing them
      to operate on a single command, such that one can remove all of a
      commands children in one step (perhaps before adding back a 'config'
      subcommand that allows getting the others back).  Eliminates a bit
      of duplicated code and adds full API documentation for these routines.
  5. 18 Nov, 2009 1 commit
  6. 17 Nov, 2009 2 commits
  7. 16 Nov, 2009 2 commits
  8. 14 Nov, 2009 1 commit
  9. 13 Nov, 2009 4 commits
  10. 08 Oct, 2009 1 commit
  11. 07 Oct, 2009 1 commit
    • dbrownell's avatar
      Change version labels to work better with GIT · b1f7b359
      dbrownell authored
       - The guess-rev.sh script is now a tweaked version of "setlocalversion" as
         seen in Linux, U-Boot, and various other projects.  When it finds source
         control support (git, hg, svn) it uses IDs from there.  Else (specific
         to this project) it reports itself as "-snapshot", e.g. from gitweb.
         I verified this new "guess-rev.sh" script runs under Cygwin.
       - Also update the generic version strings to be like "0.3.0-dev" (during
         development) instead of the very long "0.3.0-in-development".  These also
         show up in the PDF docs.  For better tracking, we might eventually change
         these strings to include the version IDs too.
       - Change the startup banner version strings so they include the guess-rev
         output.  Development and release versions with GIT will be like
          Open On-Chip Debugger 0.3.0-dev-00282-g7191a4f-dirty (2009-10-05-20:57) 
          Open On-Chip Debugger 0.3.0 (2009-10-05-20:57) 
         instead of the previous SVN-specific (even when using git-svn!)
          Open On-Chip Debugger 0.3.0-in-development (2009-10-05-01:39) svn:exported
          Open On-Chip Debugger 0.3.0 (2009-10-05-01:39) Release
      git-svn-id: svn://svn.berlios.de/openocd/trunk@2809 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  12. 17 Jul, 2009 1 commit
  13. 30 Jun, 2009 1 commit
  14. 23 Jun, 2009 4 commits
  15. 30 May, 2009 1 commit
  16. 11 May, 2009 2 commits
  17. 10 May, 2009 2 commits
  18. 03 May, 2009 1 commit
  19. 02 May, 2009 1 commit
  20. 01 May, 2009 2 commits
  21. 20 Jan, 2009 1 commit
  22. 19 Jan, 2009 1 commit