1. 13 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      add src/hello.c to augment new command tutorial · 89870c86
      Zachary T Welch authored
      The hello module provides the 'hello' command, printing a greetings
      to the command console.  It can grow to serve as pedagogical example
      of services that OpenOCD developers should use: a runnable style guide.
      89870c86
  2. 20 Oct, 2009 1 commit
  3. 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
      b1f7b359
  4. 21 Sep, 2009 1 commit
  5. 24 Jun, 2009 1 commit
  6. 09 Jun, 2009 1 commit
  7. 27 May, 2009 2 commits
    • zwelch's avatar
      Update build system to find moved scripts -- Step 3 of 2: · dd86b54e
      zwelch authored
      - Update references from using PKGLIBDIR to PKGDATADIR.
      - Update built-in script search paths to reflect new install location:
        - $(pkgdatadir)       =>   $(pktdatadir)/site
        - $(pkglibdir)        =>   $(pktdatadir)/scripts
      - Update installed location of httpd files:
        - $(pkglibdir)/httpd   =>   $(pkgdatadir)/httpd
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1920 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      dd86b54e
    • zwelch's avatar
      Move TCL script files -- Step 1 of 2: · 140d6c8e
      zwelch authored
      - Move src/target/{interface,target,board,test}/ into src/tcl/
      - Remove existing rules in src/Makefile.am and src/target/Makefile.am.
      - Add Makefile.am handling of *.cfg and *.tcl files in top Makefile.am:
        - Add dist-hook to include such files under src/tcl in the distribution.
        - Add install-data-hook to install contents of '$(top_srcdir)/src/tcl/'.
        - Add uninstall-hook to remove the installed script files.
      - Change paths to (un)install script files in '$(pkgdatadir)/scripts'.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1918 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      140d6c8e
  8. 10 May, 2009 1 commit
  9. 02 May, 2009 1 commit
    • zwelch's avatar
      Update autotools scripts to require automake 1.6. The configure.in script · 66add57a
      zwelch authored
      already required autoconf 2.59 (circa 2006), so there is no reason to
      support versions of automake older than 1.6 (circa 2002).
      
      The first part of this patch upgrades the configure.in script:
      
           1. Use current calling conventions for the AC_INIT and
              AM_INIT_AUTOMAKE macros, bringing their usage up-to-date with
              the version of autoconf already specified by AC_PREREQ.
           2. Add AC_CONFIG_SRCDIR macro, required by new version of AC_INIT.
           3. Automatically enable all of automake's warnings except Makefile
              portability (which OpenOCD violates by using GNU make's $(wildcard)).
              [[ While automake has its own -Werror option, I did not enabled it
              due to existing warnings. ]]
           4. Add the missing AM_PROG_C_O check, required by the build rules for
              openocd.o in src/Makefile.am.
           5. Adjust version number to show progress toward the next release.
           6. Include a bug reporting e-mail address to direct users to this list.
      
      This patch makes the following adjustments to the Makefile.am files:
      
           1. Update AUTOMAKE_OPTIONS to require automake version 1.6
           2. Rewrite all deprecated INCLUDES assignments as AM_CPPFLAGS
           3. Clean-up all AM_CPPFLAGS declarations to be patch-friendly.
           4. Remove vestigial references to $(all_includes)
           5. Remove erroneous references to @CPPFLAGS@ (only use AM_CPPFLAGS)
           6. Remove unused -I and -D directives in helper/, flash/, target/
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@1591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      66add57a
  10. 13 Feb, 2009 1 commit
  11. 20 Jan, 2009 2 commits
  12. 19 Jan, 2009 1 commit
  13. 27 Dec, 2008 2 commits
  14. 19 Dec, 2008 1 commit
  15. 16 Dec, 2008 1 commit
  16. 15 Dec, 2008 1 commit
  17. 25 Sep, 2008 1 commit
  18. 24 Jul, 2008 1 commit
  19. 21 Jul, 2008 1 commit
  20. 20 Jul, 2008 1 commit
  21. 17 Jul, 2008 2 commits
  22. 13 Jul, 2008 2 commits
  23. 12 Jul, 2008 2 commits
  24. 11 Jul, 2008 3 commits
  25. 06 Jul, 2008 3 commits
    • oharboe's avatar
      moving Tcl stuff around slightly. · 163bd860
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@759 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      163bd860
    • oharboe's avatar
      fix a few compilation problems. · 0bb7c9d1
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      0bb7c9d1
    • oharboe's avatar
      src/helper/configuration.h · dc796a20
      oharboe authored
      	- Log output handlers now get a "const char *line"
      	- Added "const" to parameter.
      
      src/helper/command.c
      src/helper/command.h
      	- New function:  'command_output_text()'
      	- Log output handlers now get a "const char *line"
       
      src/helper/options.c
      	- Log output handlers now get a "const char *line"
      
      src/server/telnet_server.c
      	- DO not transmit NULL bytes via TELNET.
      	- Log output handlers now get a "const char *line"
      	
      src/server/gdb_server.c
      	- Log output handlers now get a "const char *line"
      	
      	*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent 
      	previously to the mailing list for TCL users try
      
      src/target/target.c
      	*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent 
      	previously to the mailing list for TCL users try
      	
      src/target/target.h
      	*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent 
      	previously to the mailing list for TCL users try
      
      src/openocd.c
          - **MAJOR** Work: New TCL/Jim function: mem2array
      	- **MAJOR** Work: Redirect Tcl/Jim stdio output to remote users.
      	- Previously: TCL output did not go to GDB.
      	- Previously: TCL output did not go to TELNET
      	- Previously: TCL output only goes to control console.
      	- This fixes that problem.
      	+ Created callbacks:
      		+openocd_jim_fwrite()	
      		+openocd_jim_fread()
      		+openocd_jim_vfprintf()
      		+openocd_jim_fflush()
      		+openocd_jim_fgets()
      
      src/Makefile.am
      	- New TCL files.
      	- Future note: This should be more automated.  As the list of
      	  'tcl' files grows maintaning this list will suck.
      
      src/Jim.c
      	- ** THIS INCLUDES A PREVIOUS PATCH I SENT EARLIER **
      	- that impliments many [format] specifies JIM did not support.
      	- Jim_FormatString() - **MAJOR** work.
      	- Previously only supported "%s" "%d" and "%c"
      	- And what support existed had bugs.
      	- NEW: *MANY* formating parameters are now supported.
      	- TODO: The "precision" specifier is not supported.
      
      	** NEW ** This patch.
      	
      	- Jim_StringToWide() test if no conversion occured.
      	- Jim_StringToIndex() test if no conversion occured.
      	- Jim_StringToDouble() test if no conversion occured.
      
      	** NEW ** This Patch. Major Work.
      	- Previously output from JIM did not get sent to GDB
      	- Ditto: Output to Telnet session.
      	- Above items are now fixed - By introducing callbacks
      	  new function pointers in the "interp" structure.
      
      	- Helpers that call the callbacks.
      	
      	- New function: Jim_fprintf()
      	- New function: Jim_vfprintf()
      	- New function: Jim_fwrite()
      	- New function: Jim_fread()
      	- New function: Jim_fflush()
      	- New function: Jim_fgets()
      
      	By default: the output is to STDIO as previous.
      	The "openocd.c" - redirects the output as needed.
      	
      	- Jim_Panic() - Send panic to both STDERR and the interps
      	specified STDERR output as a 2nd choice.
      
      	- Now JIM's "stdin/stdout/stderr" paramters are "void *"
      	and are no longer "FILE *".
      
      src/Jim.h
      	- **MAJOR**
      	-  New JIM STDIO callbacks in the "interp" structure.
      	-  change: "stdin/stdout/stderr" are now "void *" cookies.
      	-  New JIM stdio helper functions.
      
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@755 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      dc796a20
  26. 04 Jul, 2008 1 commit
  27. 14 May, 2008 1 commit
  28. 01 May, 2008 1 commit
  29. 11 Mar, 2008 1 commit
  30. 10 Dec, 2007 1 commit