1. 20 Sep, 2008 1 commit
  2. 01 Sep, 2008 1 commit
  3. 26 Aug, 2008 1 commit
  4. 24 Aug, 2008 1 commit
  5. 23 Aug, 2008 1 commit
  6. 22 Aug, 2008 1 commit
  7. 14 Aug, 2008 1 commit
  8. 13 Aug, 2008 3 commits
  9. 05 Aug, 2008 1 commit
  10. 25 Jul, 2008 1 commit
  11. 24 Jul, 2008 1 commit
  12. 23 Jul, 2008 2 commits
  13. 21 Jul, 2008 3 commits
    • oharboe's avatar
      restart is a per-target action · d0f32d0e
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@853 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      d0f32d0e
    • oharboe's avatar
      Allows config scripts to override handling of 'R'(restart) GDB packet. · fa33b329
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@852 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      fa33b329
    • oharboe's avatar
      · dfbb9f3e
      oharboe authored
      - jtag_khz/speed are now single parameter only. These are used
      from pre/post_reset event scripts. Adding the second parameter was
      a mistake seen in retrospect. this gives precise control in post_reset
      for *when* the post reset speed is set. The pre_reset event was
      added *after* the second parameter to jtag_khz/speed
      - the target implementations no longer gets involved in the reset mode
      scheme. Either they reset a target into a halted mode or not.
      target_process_reset()
      detects if the reset halt failed or not.
      - tcl target event names are now target_N_name.  Mainly internal
      at this early stage, but best to get the naming right now.
      - added hardcoded reset modes from gdb_server.c. I don't know precisely what
      these defaults should be or if it should be made configurable. Perhaps some
      hardcoded defaults will do for now and it can be made configurable later.
      - bugfix in cortex_m3.c for reset_run_and_xxx?
      - issue syntax error upon obsolete argument in target command instead of
      printing message that will surely drown in the log
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@849 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      dfbb9f3e
  14. 08 Jul, 2008 1 commit
  15. 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.
      
      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
  16. 07 May, 2008 1 commit
  17. 06 May, 2008 1 commit
  18. 23 Apr, 2008 1 commit
  19. 18 Apr, 2008 1 commit
  20. 13 Apr, 2008 1 commit
  21. 11 Apr, 2008 1 commit
  22. 07 Apr, 2008 1 commit
  23. 25 Mar, 2008 1 commit
  24. 22 Mar, 2008 1 commit
  25. 13 Mar, 2008 1 commit
  26. 10 Mar, 2008 2 commits
    • oharboe's avatar
      · 703dc714
      oharboe authored
      - fixed a problem with big endian XScale and GDB register packets.
      - hmm..... did I screw up? Was XScale and not gdb_server busted here?
        My thinking was that OpenOCD has a canonical internal representation
        of registers that match GDB's expectations
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@484 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      703dc714
    • oharboe's avatar
      - Fixed various error handling when looking for memory leaks · 0424155d
      oharboe authored
      - Fixed memory leak in gdb_server.c
      - pushed "Error:" statements up into fn's that know something about what went wrong
      - load_image now fails if target_write_memory() fails
      - only issue an asynchronous halt() upon connect of GDB. Synchronous halt/reset
        doesn't really work as what's required to initialize the target might involve a
        special monitor sequence for the target in question
      - syntax error handling improved(fewer exit()'s)
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@482 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      0424155d
  27. 07 Mar, 2008 1 commit
    • oharboe's avatar
      · c78b4fe4
      oharboe authored
      - Improves error handling upon GDB connect
      - switch to synchronous halt during connect. This fixes the bug
        where poll() was not invoked between halt() and servicing the
        'g' register packet
      - halt() no longer returns error code when target is already halted, just
        logs a warning. Only the halt() implementation can say anything
        meaningful about why a halt() failed, so error messages are pushed
        up to halt()
      - fixed soft_reset_halt infinite loop bug in arm7_9_common.c. The rest
        of the implementations are still busted.
      - by using USER() instead of command_print() the log gets the 
        source + line #. Nice.
      - no longer invoke exit() if soft_reset_halt fails. A reset can often 
        fix the problem.
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@475 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      c78b4fe4
  28. 06 Mar, 2008 1 commit
  29. 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
      6d950146
  30. 04 Mar, 2008 2 commits
  31. 01 Mar, 2008 1 commit
  32. 29 Feb, 2008 2 commits