1. 06 Jul, 2008 1 commit
    • oharboe's avatar
      src/helper/configuration.h · dc796a20
      oharboe authored
      	- Log output handlers now get a "const char *line"
      	- Added "const" to parameter.
      	- New function:  'command_output_text()'
      	- Log output handlers now get a "const char *line"
      	- Log output handlers now get a "const char *line"
      	- DO not transmit NULL bytes via TELNET.
      	- Log output handlers now get a "const char *line"
      	- Log output handlers now get a "const char *line"
      	previously to the mailing list for TCL users try
      	previously to the mailing list for TCL users try
      	previously to the mailing list for TCL users try
          - **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:
      	- New TCL files.
      	- Future note: This should be more automated.  As the list of
      	  'tcl' files grows maintaning this list will suck.
      	- 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 *".
      	- **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
  2. 05 Jul, 2008 1 commit
  3. 04 Jul, 2008 1 commit
  4. 27 Jun, 2008 1 commit
  5. 16 Jun, 2008 1 commit
  6. 21 May, 2008 1 commit
  7. 07 May, 2008 1 commit
  8. 23 Apr, 2008 1 commit
  9. 10 Apr, 2008 1 commit
  10. 09 Apr, 2008 1 commit
  11. 04 Apr, 2008 1 commit
  12. 25 Mar, 2008 1 commit
  13. 07 Mar, 2008 1 commit
  14. 05 Mar, 2008 1 commit
    • oharboe's avatar
      * fixed malloc corruption in target->debug_reason · 6d950146
      oharboe authored
      	* GDB remote server will now remain online even if the target
      	  is in a funny state, e.g. if it requires a reset, it is
      	  running while GDB is not in the continue or step packet,
      	  e.g. via monitor resume/halt commands in GDB script.
      	* Added some _DEBUG_GDB_IO_ debug tools
      	* Fixed a couple of GDB server lockups, e.g. when O packets
      	  detect a severed connection
      	* added ACK upon connection (send +).
      	* added keep-alive messages to reset so GDB protocol remains happy.
      	* fixed crash when timing out connection to GDB
      git-svn-id: svn://svn.berlios.de/openocd/trunk@445 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  15. 29 Feb, 2008 2 commits
  16. 28 Feb, 2008 1 commit
    • oharboe's avatar
      - Added TARGET_REQ_DEBUGCHAR target_request debugmsg. This · 0689e3dd
      oharboe authored
        provides a better impeadance match for debug output char fn's, e.g. eCos.
      - Line endings are now added at the caller site of command_print*(). command_print()
        still adds a line ending
      - echo of commands in scripts are now available via debug_level instead of
        forced echo
      - Added a USER_SAMELINE() for printing without a lineend.
      git-svn-id: svn://svn.berlios.de/openocd/trunk@364 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  17. 25 Feb, 2008 2 commits
  18. 23 Feb, 2008 1 commit
  19. 19 Feb, 2008 1 commit
    • ntfreak's avatar
      - Fixed bug in pathmove for XScale · 5c0e8efa
      ntfreak authored
      - added virtual address to working_area.
      - Improved error messages in a number of places
      - Added ERROR_COMMAND_SYNTAX_ERROR that commands can return to have syntax printed
      - Added help for some config commands
      - Added verification of sw breakpoints with ERROR() message
      - Removed a couple of exit()'s and replaced with error message
      - cosmetic fix to armv4_5.c, easier to read
      - added polymorphic(with default) virt2phys and mmu enable query function to target.h
      - added virt2phys command that uses target->type->virt2phys() fn
      Thanks to Øyvind Harboe
      git-svn-id: svn://svn.berlios.de/openocd/trunk@310 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  20. 18 Feb, 2008 2 commits
  21. 13 Feb, 2008 1 commit
  22. 10 Jan, 2008 2 commits
  23. 29 Dec, 2007 1 commit
    • ntfreak's avatar
      - minimum autoconf 2.59 is now required and verified - due to issues with AS_HELP_STRING · 6c9b804d
      ntfreak authored
      - native win32 now handles WSAECONNRESET - no longer exits openocd
      - qCRC packet now works correctly under cygwin (gdb compare-sections command)
      - removed __USE_GNU define from gdbserver.c
      - gdb qSupported packet is now handled, with this we are able to tell gdb packet size, memory map of target
      - added new target script gdb_program_config - called before gdb flash programming
      - new gdb server command gdb_memory_map (enable|disable> - default is disable
      - new gdb server command gdb_flash_program (enable|disable> - default is disable
      - gdb flash programming supported - vFlash packets
      - image_elf_read_section now does not clear any remaining data, this was causing the gdb checksum to fail with certain files
      - reformat of usbprog.c
      - memory leak in command_print fixed
      - updated texi doc to include new commands
      - added gdb programming section to docs
      git-svn-id: svn://svn.berlios.de/openocd/trunk@246 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  24. 18 Dec, 2007 1 commit
  25. 10 Dec, 2007 1 commit
    • mifi's avatar
      - Fixing two compiler warnings · 9c999216
      mifi authored
      - Reducing  stack usage for recursive scripts
      - Do not exit on bogus arguments to reset_config. No longer exit the application upon bogus arguments to reset_config, but return errors.
      thanks to Øyvind Harboe for these patches.
      git-svn-id: svn://svn.berlios.de/openocd/trunk@226 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  26. 25 Apr, 2007 1 commit
  27. 26 Mar, 2007 1 commit
  28. 22 Jan, 2007 1 commit
    • drath's avatar
      - fix incorrect parsing of whitespace in command.c (thanks to Magnus Lundin) · 4fc97d3f
      drath authored
      - fix infinite recursion in target_init_handler (thanks to jw and Magnus Lundin)
      - fix CFI flash handlign with buswidth < 32bit (thanks to Daniele Orio for reporting this)
      - add support for reading JTAG device id (currently only as debug output on startup)
      - cleaned up handling of EmbeddedICE registers. Supported functionality and register size now determined by EmbeddedICE version number.
      - small cleanups/fixes
      git-svn-id: svn://svn.berlios.de/openocd/trunk@124 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  29. 05 Nov, 2006 1 commit
  30. 17 Jul, 2006 1 commit
  31. 12 Jun, 2006 1 commit
    • drath's avatar
      - the 'help' command now takes an optional argument to display help only on a... · b9628acc
      drath authored
      - the 'help' command now takes an optional argument to display help only on a certain command (thanks to Andrew Dyer for this enhancement)
      - OpenOCD now includes the ability to diassemble instructions on its own (only ARM for now, Thumb might follow). 
      The command is "armv4_5 disassemble <address> <count> ['thumb']" (thumb is currently unsupported).
      I've compared the produced disassembly against GDB/GNU Objdump output, and it seems to be correct, but there may still be some bugs left.
      git-svn-id: svn://svn.berlios.de/openocd/trunk@68 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  32. 05 Jun, 2006 1 commit
  33. 02 Jun, 2006 1 commit