summaryrefslogtreecommitdiff
path: root/src/helper/jim.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove editor preferences from source files.zwelch2009-06-191-9/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2294 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Initialize a more variables in jim.c to allow gcc-4.4 to build.zwelch2009-05-151-2/+2
| | | | | | | Fix provided by Benjamin Schmidt <DeMonk@gmx.net>. git-svn-id: svn://svn.berlios.de/openocd/trunk@1797 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Initialize value of objPtr local variable; prevents warning w/ gcc-4.4.zwelch2009-05-151-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1796 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* eCos fixesoharboe2009-05-121-0/+9
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1763 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Audit and remove redundant uses of replacements.h in the tree.zwelch2009-05-121-2/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1761 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Audit and reduce #include directives in jim source files.zwelch2009-05-121-16/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Define _GNU_SOURCE in config.h, remove definitions from source files.zwelch2009-05-121-3/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1757 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Update jim helper files to use proper configure script support:zwelch2009-05-111-3/+7
| | | | | | | | | | | | - configure.in: Add AC_TYPE_LONG_LONG_INT to detect 'long long int' support. - configure.in: Add AC_C_CONST to provide equivalent support as jim.h. - jim*.c: include config.h when HAVE_CONFIG_H is defined. - jim*.{h,c}: use HAVE_LONG_LONG_INT definition from config.h. - jim.h: Remove hard-coded const and HAVE_LONG_LONG definitions. - jim.h: -DJIM_NO_CONST has been obsoleted; -Dconst is equivalent. git-svn-id: svn://svn.berlios.de/openocd/trunk@1744 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix pointer cast alignment warnings in jim.c.zwelch2009-05-061-8/+17
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1620 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add autoconf check to determine where environ should be declared.zwelch2009-05-061-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1610 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix environ declaration for non-glibc systemskc8apf2009-05-041-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1599 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Backed out change to solve Mac OS compilation problems.oharboe2009-05-031-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1597 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix compilation when HAVE_UNISTD_H is not defined.zwelch2009-05-031-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1596 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixesoharboe2009-05-031-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1595 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Zach Welch <zw@superlucidity.net> fix warningsoharboe2009-05-021-3/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1589 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Michael Bruck <mbruck@digenius.de>: use HAVE_UNISTD_H for environ decl.zwelch2009-04-301-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1572 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove redundant declarations to allow building with -Wredundant-decls.zwelch2009-04-291-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1560 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Zach Welch <zw@superlucidity.net> wrap _GNU_SOURCE definesoharboe2009-04-271-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1532 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove environ warning under win32 buildntfreak2009-04-211-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1488 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Zach Welch <zw@superlucidity.net> fix unused return value warnings (2 of 4)oharboe2009-04-211-2/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1486 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Uwe Hermann <uwe@hermann-uwe.de> One of them is fixing a few compiler ↵oharboe2008-12-281-0/+1
| | | | | | | | | warnings (see attached patch) and likely also one (non-cosmetic) bug (the 'id_buff' change, which seems to be a buffer overflow). git-svn-id: svn://svn.berlios.de/openocd/trunk@1293 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* httpd wip oharboe2008-12-221-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1268 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* sync up to latest jim tcloharboe2008-12-161-174/+229
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1250 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added myself to copyright on files i remember adding large contributions ↵ntfreak2008-09-201-9/+0
| | | | | | | | | for over the years - cleaned up headers to match rest of code - added missing svn props for previously added files git-svn-id: svn://svn.berlios.de/openocd/trunk@987 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* typo fixed.oharboe2008-09-081-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@982 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis, added clock command.oharboe2008-09-081-1/+109
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@980 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis: "target as an [tcl] object" feature.oharboe2008-09-011-17/+64
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@975 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* sync with Jim Tcl repository.oharboe2008-08-251-6/+16
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@964 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix win32 build issues from previous jim patchntfreak2008-08-221-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@958 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* duane ellis: (A) a new concept called "Name Value Pair" or NVP, in simple ↵oharboe2008-08-191-2/+457
| | | | | | | | terms: Think: "String" and "Value". There can be many strings - all related to a single value, for examle: "T", "t", "y", "1", "yes", all can represent "truth", the reverse mapping is more simplistic - the first matching number wins. (B) a new "getopt" like feature for Jim - that simplifies argument parsing in complex functions, normally this would be used in conjunction with either an NVP table of options, or a more simpler Enumeration table. In contrast to the GNU "getopt" package, this is more of a "object model or code oriented" solution then a pure data structure used by GNU getopt, or the main stream Tcl/Tk option processing. git-svn-id: svn://svn.berlios.de/openocd/trunk@936 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
* jim license cleanupoharboe2008-07-211-17/+44
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@851 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis <openocd@duaneellis.com>oharboe2008-07-201-2/+5
| | | | | | | | improve error message in Jim when sourcing a file fails. Previously it did not tell you the CWD Jim was using as its reference point. (Helpful when script filenames are a relative path) git-svn-id: svn://svn.berlios.de/openocd/trunk@840 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> move jim into helperoharboe2008-07-171-0/+12134
git-svn-id: svn://svn.berlios.de/openocd/trunk@822 b42882b7-edfa-0310-969c-e2dbd0fdcd60