summaryrefslogtreecommitdiff
path: root/src/helper
Commit message (Collapse)AuthorAgeFilesLines
* Improve in-source documentation that was causing Doxygen warnings.zwelch2009-06-031-0/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2025 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* more missing eCos typesoharboe2009-06-021-0/+14
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2001 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Whitespace-only updates to automake input files:zwelch2009-05-311-6/+23
| | | | | | | | - use continuations to break long lines of variable assignments - makes these variables more patch-friendly and conform to style guide git-svn-id: svn://svn.berlios.de/openocd/trunk@1970 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Author: Nicolas Pitre <nico@cam.org>kc8apf2009-05-271-1/+13
| | | | | | | | - Silence errors about keep_alive() not being called frequently enough unless a gdb session is active or debugging is enabled git-svn-id: svn://svn.berlios.de/openocd/trunk@1933 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Update build system to find moved scripts -- Step 3 of 2:zwelch2009-05-272-6/+9
| | | | | | | | | | | | - Update references from using PKGLIBDIR to PKGDATADIR. - Update built-in script search paths to reflect new install location: - $(pkgdatadir) => $(pktdatadir)/site - $(pkglibdir) => $(pktdatadir)/scripts - Update installed location of httpd files: - $(pkglibdir)/httpd => $(pkgdatadir)/httpd git-svn-id: svn://svn.berlios.de/openocd/trunk@1920 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* David Brownell <david-b@pacbell.net>:zwelch2009-05-241-1/+1
| | | | | | | | | The "Illegal mode for command" diagnostic is deeply useless. Say "Command '%s' only runs during configuration stage" instead, letting users know what the real issue is. git-svn-id: svn://svn.berlios.de/openocd/trunk@1908 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* delete unused codeoharboe2009-05-211-26/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1878 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix warning. Use %p for pointersoharboe2009-05-211-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1877 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Additional format warning fixes in ioutil, required by r1873 changes.zwelch2009-05-211-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1874 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* David Brownell <david-b@pacbell.net>: This patch adds annotations tozwelch2009-05-211-3/+7
| | | | | | | | | | the key command_*() helper functions, fixng the bugs that turned up. Several of these bugs were from misuse of PRIi64; that's for 64-bit integers, NOT for "long long" or "u64" (which work best with %lld). git-svn-id: svn://svn.berlios.de/openocd/trunk@1873 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix warningsoharboe2009-05-191-4/+10
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1837 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove unecessary(and poptentially harmful?) "" around argumentsoharboe2009-05-181-1/+1
| | | | | | | passed in to "eval" in command.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1811 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* less weird error messages for unknown commands. Check if command exists ↵oharboe2009-05-181-3/+4
| | | | | | before trying it. git-svn-id: svn://svn.berlios.de/openocd/trunk@1810 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
* fix -fno-common/Mac build problems. oharboe2009-05-151-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1795 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Less wrong handling of JIM_EMBEDDED, follow Jim Tcl doc's and only use ↵oharboe2009-05-152-4/+8
| | | | | | JIM_EMBEDDED in a single .c file. Still broken w/-fno-common(i.e. Mac OS). git-svn-id: svn://svn.berlios.de/openocd/trunk@1794 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* revert to 1775. 1790 causes SEGFAULT w/Cygwin.oharboe2009-05-151-0/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1793 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove JIM_EMBEDDED symbol; not appropriate or necessary.zwelch2009-05-141-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1790 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Include types.h in command.h to make stdint.h available through it.zwelch2009-05-131-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1775 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* move eCos type definition to types.h where it belongs. oharboe2009-05-121-1/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1766 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add stdint.h to types.h to provide intptr_t.zwelch2009-05-121-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1765 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix build issue when HAVE_ELF_H is not definedntfreak2009-05-121-21/+29
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1764 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-126-22/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1761 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Make system.h private by including it from config.h autoheader.zwelch2009-05-121-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1759 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Audit and reduce #include directives in jim source files.zwelch2009-05-122-23/+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
* Remove config.h from types.h; all .c files are required to include it.zwelch2009-05-121-4/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1756 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Include assert.h in system.h to promote tree-wide use of assertions.zwelch2009-05-121-0/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1750 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Update jim helper files to use proper configure script support:zwelch2009-05-113-24/+12
| | | | | | | | | | | | - 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
* leave eCos include file issues alone for now. oharboe2009-05-111-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1723 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Mark API layering violations in the helper module with @todo notes.zwelch2009-05-112-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1718 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove redundant config.h from replacements.h, obtained from types.h.zwelch2009-05-111-4/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1717 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Audit and eliminate redundant helper #include directives.zwelch2009-05-1111-69/+11
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1706 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Simplify #include directives in ioutil.c, use new header checks.zwelch2009-05-111-36/+27
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1705 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add --enable-malloc-logging configure option and update log.c to match.zwelch2009-05-111-5/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1703 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Factor system #includes out of replacements.h into new system.h.zwelch2009-05-113-30/+79
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1702 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Finish portability support for AC_HEADER_STDBOOL configure macro.zwelch2009-05-111-1/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1701 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove redundant sys/types.h #include directives (now in types.h).zwelch2009-05-113-4/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1700 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add configure check for sys/types.h; include in our types.h.zwelch2009-05-111-0/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1699 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Extend autotools build to create shared library libopenocd with libtool:zwelch2009-05-101-5/+5
| | | | | | | | | | | - Add libtoolize step too bootstrap script; creates ltmain.sh script. - Add AC_PROG_LIBTOOL to configure.in to add libtool support to build. - Change Makefile.am library rules from static (_a) to libtool (_la). - Install libopenocd.{la,so,a} in $(libdir); update openocd link rules. - Extend MAINTAINERCLEANFILES in top-level Makefile.am to remove ltmain.sh. git-svn-id: svn://svn.berlios.de/openocd/trunk@1695 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Reverse revision 1691: all of its functionality has migrated elsewhere.zwelch2009-05-103-543/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1694 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Revive tclapi.c from r1650:zwelch2009-05-103-1/+545
| | | | | | | | | | | | * 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
* Michael Bruck <mbruck@digenius.de> use more constoharboe2009-05-102-11/+9
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1687 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Michael Bruck <mbruck@digenius.de> use more constoharboe2009-05-092-11/+11
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1686 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix typo from hurrying the last commit. Nothing to see here.zwelch2009-05-081-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1662 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix loadFile to return file length once again.zwelch2009-05-081-5/+9
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1661 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix warnings in ioutil.c; improves loadFile inteface.zwelch2009-05-081-12/+14
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1658 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove unreferenced tcpapi.c source file.zwelch2009-05-071-534/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1655 b42882b7-edfa-0310-969c-e2dbd0fdcd60