Skip to content
Snippets Groups Projects
  1. Nov 13, 2009
    • 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. Oct 20, 2009
  3. Oct 07, 2009
    • 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. Sep 21, 2009
  5. Jun 24, 2009
  6. Jun 09, 2009
  7. May 27, 2009
    • 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. May 10, 2009
  9. May 02, 2009
    • 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. Feb 13, 2009
  11. Jan 20, 2009
  12. Jan 19, 2009
  13. Dec 27, 2008
  14. Dec 19, 2008
  15. Dec 16, 2008
  16. Dec 15, 2008
  17. Sep 25, 2008
  18. Jul 24, 2008
  19. Jul 21, 2008
  20. Jul 20, 2008
  21. Jul 17, 2008
  22. Jul 13, 2008
  23. Jul 12, 2008
  24. Jul 11, 2008
  25. Jul 06, 2008
    • 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. Jul 04, 2008
  27. May 14, 2008
  28. May 01, 2008
  29. Mar 11, 2008
  30. Dec 10, 2007
Loading