zwelch
dee85e5a00
Add static keywords to main application helper functions.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1587 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-01 03:07:32 +00:00
zwelch
1743395250
Dick Hollenbeck <dick@softplc.com>: move OPENOCD_VERSION to use config.h
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1586 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-01 01:18:05 +00:00
kc8apf
15b4be1c9c
Fixes for handling release versions
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1347 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-20 04:03:31 +00:00
ntfreak
0bcbff348b
- remove unused includes, fixes build issues under FreeBSD
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1341 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 19:54:44 +00:00
kc8apf
c8bc0bb1ae
SVF player courtesy of Simon Qian <simonqian@SimonQian.com>
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1339 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 07:13:02 +00:00
oharboe
59ff8d24d8
moved ioutil init to the right spot: before config scripts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1311 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 11:44:01 +00:00
oharboe
e873a6d27c
check syntax for init/version
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1257 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-17 14:55:12 +00:00
oharboe
0fc19255c3
work in progress to hook up libmicrohttpd + tcl integration
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1251 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-16 22:20:10 +00:00
oharboe
a98e1094a0
sync up to tap_xxx rename + add with-ioutil for standalone openocd implemetnations
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1243 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 11:32:22 +00:00
ntfreak
0cba0d4df3
- remove target specific variant and use target->variant member
...
- 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
2008-12-13 12:44:39 +00:00
oharboe
71c7306885
fix telnet async messages. retired telnet_async command - no user serviceable parts inside.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1135 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-05 08:48:50 +00:00
oharboe
a3035243dc
unsik Kim <donari75@gmail.com> - mflash support
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1067 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-16 06:15:03 +00:00
ntfreak
4457800afe
- fix tcl_port typo in docs
...
- 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
2008-10-15 15:11:36 +00:00
oharboe
30e5bff4b8
Richard Missenden exit now works during startup script
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1031 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-08 13:07:21 +00:00
oharboe
9d4f9dbd0b
reduce patch problems by moving $xxx expansion into seperate fn
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1027 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-07 18:12:07 +00:00
ntfreak
bdb5fd8c98
- renamed x7926 driver to aduc702x to match other flash drivers
...
- 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
2008-09-24 22:15:22 +00:00
oharboe
1b84df5be5
put instructions on how to report bugs onto the users radar
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@988 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-21 08:24:23 +00:00
ntfreak
ce16ff901c
- fix target_examine declaration
...
- 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
2008-08-06 14:36:37 +00:00
oharboe
09bb073239
GDB monitor commands now also get halted state upon e.g. "reset halt".
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@892 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-05 14:58:37 +00:00
oharboe
91a16a3810
Better handling of OpenOCD command invocation result/context.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@866 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 10:16:44 +00:00
oharboe
2cac9c333f
daemon_startup is now retired in favour of adding "init" and "reset 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
2008-07-19 08:04:32 +00:00
oharboe
679592d42e
Charles Hardin <ckhardin@gmail.com> move tcl stuff nearer to where it belongs.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@824 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 06:24:57 +00:00
oharboe
0ebb33b185
Charles Hardin ckhardin at gmail.com Instead of stashing the context in a 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
2008-07-17 17:31:07 +00:00
oharboe
5fefa83d07
Collect output from openocd commands into openocd_output local variable
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@820 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 12:02:55 +00:00
oharboe
5a3712072f
Charles Hardin ckhardin at gmail.com
...
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
2008-07-17 08:39:06 +00:00
oharboe
44928321e6
Charles Hardin <ckhardin@gmail.com> and Øyvind Harboe
...
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
2008-07-17 08:34:14 +00:00
oharboe
3287b8661d
Fixes to \ and / handling for OpenOCD
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@815 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 20:20:15 +00:00
oharboe
cb90c97f33
do not print jim tcl error message trace for ERROR_COMMAND_CLOSE_CONNECTION
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@812 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 10:12:29 +00:00
oharboe
396d73ad0c
better error messages for target event scripts.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@810 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 07:22:17 +00:00
oharboe
acce2bcccb
Charles Hardin <ckhardin@gmail.com>
...
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
2008-07-14 06:34:23 +00:00
ntfreak
696a20fea4
- remove unused objcopy from configure.in
...
- 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
2008-07-13 21:07:14 +00:00
oharboe
766b0ca8ac
Charles Hardin <ckhardin@gmail.com> - hopefully final word on startup.tcl => c conversion
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@803 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-13 17:31:40 +00:00
oharboe
6956527849
Duane Ellis <openocd@duaneellis.com> fix to tcl puts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@802 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-13 08:25:33 +00:00
ntfreak
2e832a399a
- remove requirement for file2c.tcl
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 16:25:17 +00:00
oharboe
69c6f1f7ea
work in progress to improve help
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@792 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 15:07:58 +00:00
oharboe
c5b718f5e8
- retired variable stuff.
...
- 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
2008-07-11 12:17:56 +00:00
oharboe
efc6063df8
startup.tcl (former commands.tcl) is now embedded into OpenOCD executable.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@787 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 06:44:22 +00:00
oharboe
2b3f4fd293
Charles Hardin <ckhardin@gmail.com>
...
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
2008-07-10 18:47:50 +00:00
oharboe
2858a9f740
- added search paths before running tcl/commands.tcl.
...
- improved error handling for missing tcl/commands.tcl
git-svn-id: svn://svn.berlios.de/openocd/trunk@785 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 18:24:30 +00:00
oharboe
bfa8c1b321
SEGFAULT fix for syntax error.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@783 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 08:57:35 +00:00
oharboe
92beb99bf7
improve error messages a little bit.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@781 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 22:19:05 +00:00
oharboe
66410d2537
"flash banks" is now implemented in Tcl on top of "flash_banks". openocd_throw prefix is no longer required when executing OpenOCD commands from tcl.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@779 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 15:22:05 +00:00
oharboe
f0f5157e09
tcl regression fixes.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@774 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 16:05:59 +00:00
ntfreak
31e2500259
- apply correct formatting to openocd.c
...
- Thanks Charles Hardin
git-svn-id: svn://svn.berlios.de/openocd/trunk@770 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 08:55:53 +00:00
oharboe
225ac18450
more tcl cleanup.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@768 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 20:02:51 +00:00
oharboe
b31d83c6c7
added pre/postlude fn's for when OpenOCD is sleeping.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@765 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 08:05:07 +00:00
ntfreak
655e4f88a6
- fixed build issues with win32
...
- fixed build warnings for last commit
- set svn props for last commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@760 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 23:22:17 +00:00
oharboe
163bd86071
moving Tcl stuff around slightly.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@759 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 22:03:07 +00:00
oharboe
0bb7c9d109
fix a few compilation problems.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:56:15 +00:00
oharboe
2b673d0c1e
Charles Hardin <ckhardin@gmail.com> - Tcl Server
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@757 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:33:05 +00:00