summaryrefslogtreecommitdiff
path: root/src/openocd.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove whitespace that occurs before ')'.zwelch2009-06-231-2/+2
| | | | | | | - Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove whitespace that occurs after '('.zwelch2009-06-231-2/+2
| | | | | | | - Replace '([ \t]*' with '('. git-svn-id: svn://svn.berlios.de/openocd/trunk@2376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Fixes '=' whitespacezwelch2009-06-231-5/+5
| | | | | | | | | - Replace ')\(=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(=\)(' with '\1 \2 ('. - Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Fixes '!=' whitespacezwelch2009-06-231-4/+4
| | | | | | | | | - Replace ')\(!=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(!=\)(' with '\1 \2 ('. - Replace '\(\w\)\(!=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Encapsulate the global "jtag" jtag_interface pointer:zwelch2009-05-301-3/+1
| | | | | | | | | - Add jtag_interface_quit, factored from exit_handler() in openocd.c. - Remove its extern declaration. - Add static keyword to its definition. git-svn-id: svn://svn.berlios.de/openocd/trunk@1952 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Audit and eliminate redundant #include directives in main src/ files.zwelch2009-05-111-9/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1716 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove redundant sys/types.h #include directives (now in types.h).zwelch2009-05-111-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1700 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Reverse revision 1691: all of its functionality has migrated elsewhere.zwelch2009-05-101-2/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1694 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Revive tclapi.c from r1650:zwelch2009-05-101-0/+2
| | | | | | | | | | | | * Remove superfluous #include directives. * Fix warnings and API usage to cure its bit rot. * Build into libhelper library (for now). Add tclapi.h to export tclapi_register_commands(). Register tclapi commands in openocd.c:setup_command_handler(). git-svn-id: svn://svn.berlios.de/openocd/trunk@1691 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix embedded buildsoharboe2009-05-031-2/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1598 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Dick Hollenbeck <dick@softplc.com> moved stuff into openocd.c - should never ↵oharboe2009-05-021-0/+15
| | | | | | have been in main.c in the first place. DLL will now build. git-svn-id: svn://svn.berlios.de/openocd/trunk@1590 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add static keywords to main application helper functions.zwelch2009-05-011-6/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1587 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Dick Hollenbeck <dick@softplc.com>: move OPENOCD_VERSION to use config.hzwelch2009-05-011-2/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1586 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fixes for handling release versionskc8apf2009-01-201-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1347 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove unused includes, fixes build issues under FreeBSDntfreak2009-01-191-8/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1341 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* SVF player courtesy of Simon Qian <simonqian@SimonQian.com>kc8apf2009-01-191-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1339 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* moved ioutil init to the right spot: before config scriptsoharboe2009-01-091-7/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1311 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* check syntax for init/versionoharboe2008-12-171-0/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1257 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* work in progress to hook up libmicrohttpd + tcl integrationoharboe2008-12-161-0/+13
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1251 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* sync up to tap_xxx rename + add with-ioutil for standalone openocd ↵oharboe2008-12-151-0/+9
| | | | | | implemetnations git-svn-id: svn://svn.berlios.de/openocd/trunk@1243 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove target specific variant and use target->variant memberntfreak2008-12-131-10/+2
| | | | | | | - fix build warning in cortex_m3 - code cleanup - remove trailing lf and convert c++ comments git-svn-id: svn://svn.berlios.de/openocd/trunk@1238 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix telnet async messages. retired telnet_async command - no user ↵oharboe2008-11-051-16/+26
| | | | | | serviceable parts inside. git-svn-id: svn://svn.berlios.de/openocd/trunk@1135 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* unsik Kim <donari75@gmail.com> - mflash supportoharboe2008-10-161-3/+17
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1067 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix tcl_port typo in docsntfreak2008-10-151-16/+3
| | | | | | | | - remove build warning from openocd.c - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1065 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Richard Missenden exit now works during startup scriptoharboe2008-10-081-6/+15
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1031 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* reduce patch problems by moving $xxx expansion into seperate fnoharboe2008-10-071-12/+30
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1027 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - renamed x7926 driver to aduc702x to match other flash driversntfreak2008-09-241-6/+0
| | | | | | | - removed c99 types (mingw issues) from aduc driver and cleanup - updated docs for aduc702x flash driver git-svn-id: svn://svn.berlios.de/openocd/trunk@995 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* put instructions on how to report bugs onto the users radaroharboe2008-09-211-0/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@988 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix target_examine declarationntfreak2008-08-061-1/+1
| | | | | | | | - remove build warnings - added --enable-gccwarnings to docs - update mips_m4k_examine function git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* GDB monitor commands now also get halted state upon e.g. "reset halt".oharboe2008-08-051-0/+20
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@892 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Better handling of OpenOCD command invocation result/context.oharboe2008-07-241-1/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@866 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* daemon_startup is now retired in favour of adding "init" and "reset ↵oharboe2008-07-191-20/+0
| | | | | | halt/init/run" to the end of the config file/openocd command line. git-svn-id: svn://svn.berlios.de/openocd/trunk@835 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> move tcl stuff nearer to where it belongs.oharboe2008-07-181-551/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@824 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin ckhardin at gmail.com Instead of stashing the context in a ↵oharboe2008-07-171-24/+64
| | | | | | | | | | | global variable, just use the "context" associated with the interp structure being passed around And fixed the message referring to mem2array in the array2mem function git-svn-id: svn://svn.berlios.de/openocd/trunk@821 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Collect output from openocd commands into openocd_output local variableoharboe2008-07-171-53/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@820 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin ckhardin at gmail.com oharboe2008-07-171-15/+5
| | | | | | | There isn't a real value to the cfg_cmd_ctx since everything should be run thru the initial context created at start. git-svn-id: svn://svn.berlios.de/openocd/trunk@819 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> and Øyvind Harboeoharboe2008-07-171-52/+0
| | | | | | | | | This patch just uses the command.c interface to create tcl commands for the root level commands and avoids a bit of the "TCL" bleed into the rest of the openocd code. Multilevel commands also supported. git-svn-id: svn://svn.berlios.de/openocd/trunk@818 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fixes to \ and / handling for OpenOCDoharboe2008-07-161-30/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@815 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* do not print jim tcl error message trace for ERROR_COMMAND_CLOSE_CONNECTIONoharboe2008-07-161-16/+15
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@812 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* better error messages for target event scripts.oharboe2008-07-161-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@810 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com>oharboe2008-07-141-11/+32
| | | | | | | | | This evaluates the file at the correct level for the interpreter and the sets and all the globals are then done as expected. added a const to find_file function to avoid typecasting git-svn-id: svn://svn.berlios.de/openocd/trunk@806 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove unused objcopy from configure.inntfreak2008-07-131-15/+2
| | | | | | | | - make sure bin2char is built before openocd - add generated startup_tcl.c to clean list - pass startup_tcl directly to Jim_Eval git-svn-id: svn://svn.berlios.de/openocd/trunk@805 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> - hopefully final word on startup.tcl => ↵oharboe2008-07-131-5/+5
| | | | | | c conversion git-svn-id: svn://svn.berlios.de/openocd/trunk@803 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis <openocd@duaneellis.com> fix to tcl putsoharboe2008-07-131-1/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@802 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove requirement for file2c.tclntfreak2008-07-121-7/+15
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* work in progress to improve helpoharboe2008-07-111-12/+18
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@792 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - retired variable stuff. oharboe2008-07-111-29/+21
| | | | | | | | - drscan is now a low level tcl command: execute DR scan <device> <num_bits> <value> <num_bits1> <value2> - removed obsolete partial command text support git-svn-id: svn://svn.berlios.de/openocd/trunk@791 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* startup.tcl (former commands.tcl) is now embedded into OpenOCD executable.oharboe2008-07-111-2/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@787 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com>oharboe2008-07-101-4/+177
| | | | | | | | | Add semantics to support memwrite(32,16,8) with an array2mem command Move the global up in bits2bytes.tcl so the set puts the value in the global context. Add memwrite procs to memory.tcl git-svn-id: svn://svn.berlios.de/openocd/trunk@786 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added search paths before running tcl/commands.tcl. oharboe2008-07-101-4/+10
| | | | | | | - improved error handling for missing tcl/commands.tcl git-svn-id: svn://svn.berlios.de/openocd/trunk@785 b42882b7-edfa-0310-969c-e2dbd0fdcd60