openocd.git
14 years agoFix bootstrap typo noticed by Edgar Grimberg <edgar.grimberg@zylin.com>.
zwelch [Wed, 13 May 2009 23:37:29 +0000 (23:37 +0000)]
Fix bootstrap typo noticed by Edgar Grimberg <edgar.grimberg@zylin.com>.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1780 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoFix bootstrap script to support MacOS glibtoolize oddity.
zwelch [Wed, 13 May 2009 21:55:16 +0000 (21:55 +0000)]
Fix bootstrap script to support MacOS glibtoolize oddity.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1779 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agozy1000 1.52 snapshot
oharboe [Wed, 13 May 2009 18:58:55 +0000 (18:58 +0000)]
zy1000 1.52 snapshot

git-svn-id: svn://svn.berlios.de/openocd/trunk@1777 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdd JTAG Primer to doxygen manual, contributed by Strontium.
zwelch [Wed, 13 May 2009 11:10:35 +0000 (11:10 +0000)]
Add JTAG Primer to doxygen manual, contributed by Strontium.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1776 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoInclude types.h in command.h to make stdint.h available through it.
zwelch [Wed, 13 May 2009 10:50:32 +0000 (10:50 +0000)]
Include types.h in command.h to make stdint.h available through it.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1775 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoadded verify_jtag command
oharboe [Wed, 13 May 2009 10:21:50 +0000 (10:21 +0000)]
added verify_jtag command

git-svn-id: svn://svn.berlios.de/openocd/trunk@1774 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoInclude files required to rebuild the HTTP web pages in distribution.
zwelch [Wed, 13 May 2009 10:14:40 +0000 (10:14 +0000)]
Include files required to rebuild the HTTP web pages in distribution.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1773 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoshuffled comments about for jtag_add_dr_out() fn.
oharboe [Wed, 13 May 2009 09:53:23 +0000 (09:53 +0000)]
shuffled comments about for jtag_add_dr_out() fn.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1772 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoCommit skeleton files for high-level developer manual using doxygen.
zwelch [Wed, 13 May 2009 08:58:08 +0000 (08:58 +0000)]
Commit skeleton files for high-level developer manual using doxygen.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1771 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoirscan now also works correctly in addition to not crashing :-)
oharboe [Tue, 12 May 2009 19:31:50 +0000 (19:31 +0000)]
irscan now also works correctly in addition to not crashing :-)

git-svn-id: svn://svn.berlios.de/openocd/trunk@1770 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years ago- add missing svn props from svn 1768 commit
ntfreak [Tue, 12 May 2009 18:32:57 +0000 (18:32 +0000)]
- add missing svn props from svn 1768 commit

git-svn-id: svn://svn.berlios.de/openocd/trunk@1769 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years ago4-bit ECC support for Marvell Kirkwood SOC
oharboe [Tue, 12 May 2009 17:29:16 +0000 (17:29 +0000)]
4-bit ECC support for Marvell Kirkwood SOC

git-svn-id: svn://svn.berlios.de/openocd/trunk@1768 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoNicolas Pitre <nico@cam.org> lower JTAG clock for SheevaPlug
oharboe [Tue, 12 May 2009 17:14:10 +0000 (17:14 +0000)]
Nicolas Pitre <nico@cam.org> lower JTAG clock for SheevaPlug

git-svn-id: svn://svn.berlios.de/openocd/trunk@1767 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agomove eCos type definition to types.h where it belongs.
oharboe [Tue, 12 May 2009 12:16:31 +0000 (12:16 +0000)]
move eCos type definition to types.h where it belongs.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1766 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdd stdint.h to types.h to provide intptr_t.
zwelch [Tue, 12 May 2009 10:52:01 +0000 (10:52 +0000)]
Add stdint.h to types.h to provide intptr_t.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1765 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years ago- fix build issue when HAVE_ELF_H is not defined
ntfreak [Tue, 12 May 2009 10:47:48 +0000 (10:47 +0000)]
- fix build issue when HAVE_ELF_H is not defined

git-svn-id: svn://svn.berlios.de/openocd/trunk@1764 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoeCos fixes
oharboe [Tue, 12 May 2009 10:02:47 +0000 (10:02 +0000)]
eCos fixes

git-svn-id: svn://svn.berlios.de/openocd/trunk@1763 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoInclude project doxygen configuration with distribution tarballs.
zwelch [Tue, 12 May 2009 08:56:22 +0000 (08:56 +0000)]
Include project doxygen configuration with distribution tarballs.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1762 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and remove redundant uses of replacements.h in the tree.
zwelch [Tue, 12 May 2009 08:35:17 +0000 (08:35 +0000)]
Audit and remove redundant uses of replacements.h in the tree.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1761 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMake replacements.h private by including it from config.h autoheader.
zwelch [Tue, 12 May 2009 08:33:18 +0000 (08:33 +0000)]
Make replacements.h private by including it from config.h autoheader.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1760 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMake system.h private by including it from config.h autoheader.
zwelch [Tue, 12 May 2009 08:24:47 +0000 (08:24 +0000)]
Make system.h private by including it from config.h autoheader.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1759 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and reduce #include directives in jim source files.
zwelch [Tue, 12 May 2009 07:44:57 +0000 (07:44 +0000)]
Audit and reduce #include directives in jim source files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1758 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoDefine _GNU_SOURCE in config.h, remove definitions from source files.
zwelch [Tue, 12 May 2009 07:35:00 +0000 (07:35 +0000)]
Define _GNU_SOURCE in config.h, remove definitions from source files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1757 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoRemove config.h from types.h; all .c files are required to include it.
zwelch [Tue, 12 May 2009 07:22:07 +0000 (07:22 +0000)]
Remove config.h from types.h; all .c files are required to include it.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1756 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoInclude config.h in pregenerated rlink_speed_table.c source.
zwelch [Tue, 12 May 2009 07:13:12 +0000 (07:13 +0000)]
Include config.h in pregenerated rlink_speed_table.c source.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1755 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoUpdate rlink_make_speed_table.pl script to add config.h to its output.
zwelch [Tue, 12 May 2009 07:12:10 +0000 (07:12 +0000)]
Update rlink_make_speed_table.pl script to add config.h to its output.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1754 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agofix memory corruption introduce in 1730
oharboe [Tue, 12 May 2009 07:03:50 +0000 (07:03 +0000)]
fix memory corruption introduce in 1730

git-svn-id: svn://svn.berlios.de/openocd/trunk@1753 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoadded jtag_alloc_in_value32 - not used in this commit.
oharboe [Tue, 12 May 2009 06:59:21 +0000 (06:59 +0000)]
added jtag_alloc_in_value32 - not used in this commit.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1752 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agofix ancient bug & SEGFAULT in irscan
oharboe [Tue, 12 May 2009 06:17:22 +0000 (06:17 +0000)]
fix ancient bug & SEGFAULT in irscan

git-svn-id: svn://svn.berlios.de/openocd/trunk@1751 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoInclude assert.h in system.h to promote tree-wide use of assertions.
zwelch [Tue, 12 May 2009 04:52:15 +0000 (04:52 +0000)]
Include assert.h in system.h to promote tree-wide use of assertions.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1750 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoRemove duplicate definition of encode in httpd.tcl.
zwelch [Mon, 11 May 2009 22:37:52 +0000 (22:37 +0000)]
Remove duplicate definition of encode in httpd.tcl.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1749 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agonow builds on 64 and 32 bit systems
oharboe [Mon, 11 May 2009 21:05:51 +0000 (21:05 +0000)]
now builds on 64 and 32 bit systems

git-svn-id: svn://svn.berlios.de/openocd/trunk@1748 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agofix jtag_add_dr_scan() usage a bit... avoid lots of malloc()'s.
oharboe [Mon, 11 May 2009 12:03:40 +0000 (12:03 +0000)]
fix jtag_add_dr_scan() usage a bit... avoid lots of malloc()'s.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1746 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoUpdate jim helper files to use proper configure script support:
zwelch [Mon, 11 May 2009 11:20:45 +0000 (11:20 +0000)]
Update jim helper files to use proper configure script support:
- 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

14 years agofix USB performance regression for verify_ircapture
oharboe [Mon, 11 May 2009 10:10:11 +0000 (10:10 +0000)]
fix USB performance regression for verify_ircapture

git-svn-id: svn://svn.berlios.de/openocd/trunk@1743 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoUSB performance regression fix
oharboe [Mon, 11 May 2009 09:43:50 +0000 (09:43 +0000)]
USB performance regression fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1742 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoretire jtag_add_dr_scan_now
oharboe [Mon, 11 May 2009 09:36:55 +0000 (09:36 +0000)]
retire jtag_add_dr_scan_now

git-svn-id: svn://svn.berlios.de/openocd/trunk@1741 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_dr_scan() from the synchronous version - USB performance fix
oharboe [Mon, 11 May 2009 09:18:02 +0000 (09:18 +0000)]
switch to jtag_add_dr_scan() from the synchronous version - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1740 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_dr_scan_check() - USB performance fix
oharboe [Mon, 11 May 2009 09:14:47 +0000 (09:14 +0000)]
switch to jtag_add_dr_scan_check() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1739 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_dr_scan_check() - USB performance fix
oharboe [Mon, 11 May 2009 09:12:32 +0000 (09:12 +0000)]
switch to jtag_add_dr_scan_check() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1738 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_dr_scan_check() - USB performance fix
oharboe [Mon, 11 May 2009 09:10:03 +0000 (09:10 +0000)]
switch to jtag_add_dr_scan_check() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1737 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agochange jtag_add_callback API to be able to support check_value/mask
oharboe [Mon, 11 May 2009 08:39:49 +0000 (08:39 +0000)]
change jtag_add_callback API to be able to support check_value/mask

git-svn-id: svn://svn.berlios.de/openocd/trunk@1735 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoFix ft2232 for CygWin, provided by Michael Bruck <mbruck@digenius.de>.
zwelch [Mon, 11 May 2009 08:26:42 +0000 (08:26 +0000)]
Fix ft2232 for CygWin, provided by Michael Bruck <mbruck@digenius.de>.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1734 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:48:26 +0000 (07:48 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1733 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:47:53 +0000 (07:47 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1732 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:47:21 +0000 (07:47 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1731 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:40:42 +0000 (07:40 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1730 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:39:36 +0000 (07:39 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1729 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:38:10 +0000 (07:38 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1728 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:36:16 +0000 (07:36 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1727 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:35:05 +0000 (07:35 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1726 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:33:43 +0000 (07:33 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1725 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoswitch to jtag_add_callback() - USB performance fix
oharboe [Mon, 11 May 2009 07:26:59 +0000 (07:26 +0000)]
switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1724 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoleave eCos include file issues alone for now.
oharboe [Mon, 11 May 2009 07:26:11 +0000 (07:26 +0000)]
leave eCos include file issues alone for now.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1723 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdd svn:eol-style property to recently added system.h.
zwelch [Mon, 11 May 2009 07:04:25 +0000 (07:04 +0000)]
Add svn:eol-style property to recently added system.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1722 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoused by upcoming commits
oharboe [Mon, 11 May 2009 06:55:00 +0000 (06:55 +0000)]
used by upcoming commits

git-svn-id: svn://svn.berlios.de/openocd/trunk@1721 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoadd to svn ignore
oharboe [Mon, 11 May 2009 06:54:00 +0000 (06:54 +0000)]
add to svn ignore

git-svn-id: svn://svn.berlios.de/openocd/trunk@1720 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoUpdate Doxyfile configuration for doxygen 1.5.8:
zwelch [Mon, 11 May 2009 06:32:59 +0000 (06:32 +0000)]
Update Doxyfile configuration for doxygen 1.5.8:
- Enable doxygen's C language optimizations.
- Use dot command (from graphviz package) to generate visual graphs.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1719 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMark API layering violations in the helper module with @todo notes.
zwelch [Mon, 11 May 2009 05:50:21 +0000 (05:50 +0000)]
Mark API layering violations in the helper module with @todo notes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1718 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoRemove redundant config.h from replacements.h, obtained from types.h.
zwelch [Mon, 11 May 2009 05:33:39 +0000 (05:33 +0000)]
Remove redundant config.h from replacements.h, obtained from types.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1717 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives in main src/ files.
zwelch [Mon, 11 May 2009 05:00:17 +0000 (05:00 +0000)]
Audit and eliminate redundant #include directives in main src/ files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1716 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives in other target files.
zwelch [Mon, 11 May 2009 04:56:37 +0000 (04:56 +0000)]
Audit and eliminate redundant #include directives in other target files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1715 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives in arm target files.
zwelch [Mon, 11 May 2009 04:46:21 +0000 (04:46 +0000)]
Audit and eliminate redundant #include directives in arm target files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1714 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives in core target files.
zwelch [Mon, 11 May 2009 04:38:18 +0000 (04:38 +0000)]
Audit and eliminate redundant #include directives in core target files.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1713 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives in src/flash sources.
zwelch [Mon, 11 May 2009 04:30:41 +0000 (04:30 +0000)]
Audit and eliminate redundant #include directives in src/flash sources.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1712 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives in src/flash headers.
zwelch [Mon, 11 May 2009 04:28:24 +0000 (04:28 +0000)]
Audit and eliminate redundant #include directives in src/flash headers.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1711 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives in src/{pld,svf,xsvf}.
zwelch [Mon, 11 May 2009 04:25:09 +0000 (04:25 +0000)]
Audit and eliminate redundant #include directives in src/{pld,svf,xsvf}.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1710 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives from src/server.
zwelch [Mon, 11 May 2009 04:22:15 +0000 (04:22 +0000)]
Audit and eliminate redundant #include directives from src/server.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1709 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoFix compilation of target_request.h when it is included first.
zwelch [Mon, 11 May 2009 04:21:24 +0000 (04:21 +0000)]
Fix compilation of target_request.h when it is included first.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1708 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant #include directives from src/jtag.
zwelch [Mon, 11 May 2009 04:04:58 +0000 (04:04 +0000)]
Audit and eliminate redundant #include directives from src/jtag.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1707 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAudit and eliminate redundant helper #include directives.
zwelch [Mon, 11 May 2009 03:59:02 +0000 (03:59 +0000)]
Audit and eliminate redundant helper #include directives.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1706 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoSimplify #include directives in ioutil.c, use new header checks.
zwelch [Mon, 11 May 2009 03:48:32 +0000 (03:48 +0000)]
Simplify #include directives in ioutil.c, use new header checks.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1705 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdd remaining header checks to be used in subsequent patches.
zwelch [Mon, 11 May 2009 03:47:56 +0000 (03:47 +0000)]
Add remaining header checks to be used in subsequent patches.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1704 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdd --enable-malloc-logging configure option and update log.c to match.
zwelch [Mon, 11 May 2009 03:35:25 +0000 (03:35 +0000)]
Add --enable-malloc-logging configure option and update log.c to match.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1703 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoFactor system #includes out of replacements.h into new system.h.
zwelch [Mon, 11 May 2009 02:52:00 +0000 (02:52 +0000)]
Factor system #includes out of replacements.h into new system.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1702 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoFinish portability support for AC_HEADER_STDBOOL configure macro.
zwelch [Mon, 11 May 2009 02:29:53 +0000 (02:29 +0000)]
Finish portability support for AC_HEADER_STDBOOL configure macro.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1701 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoRemove redundant sys/types.h #include directives (now in types.h).
zwelch [Mon, 11 May 2009 02:27:16 +0000 (02:27 +0000)]
Remove redundant sys/types.h #include directives (now in types.h).

git-svn-id: svn://svn.berlios.de/openocd/trunk@1700 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdd configure check for sys/types.h; include in our types.h.
zwelch [Mon, 11 May 2009 02:24:58 +0000 (02:24 +0000)]
Add configure check for sys/types.h; include in our types.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1699 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoAdd AC_HEADER_ASSERT macro to configure; provides --disable-assert option.
zwelch [Mon, 11 May 2009 00:57:19 +0000 (00:57 +0000)]
Add AC_HEADER_ASSERT macro to configure; provides --disable-assert option.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1698 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoUse AC_HEADER_STDBOOL macro instead of AC_CHEACK_HEADERS(stdbool.h).
zwelch [Mon, 11 May 2009 00:49:51 +0000 (00:49 +0000)]
Use AC_HEADER_STDBOOL macro instead of AC_CHEACK_HEADERS(stdbool.h).

git-svn-id: svn://svn.berlios.de/openocd/trunk@1697 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoOpenOCD now requires autoconf 2.60 to process AC_PROG_CC_C99 macro.
zwelch [Mon, 11 May 2009 00:44:59 +0000 (00:44 +0000)]
OpenOCD now requires autoconf 2.60 to process AC_PROG_CC_C99 macro.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1696 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoExtend autotools build to create shared library libopenocd with libtool:
zwelch [Sun, 10 May 2009 22:03:57 +0000 (22:03 +0000)]
Extend autotools build to create shared library libopenocd with libtool:
- 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

14 years agoReverse revision 1691: all of its functionality has migrated elsewhere.
zwelch [Sun, 10 May 2009 21:33:53 +0000 (21:33 +0000)]
Reverse revision 1691: all of its functionality has migrated elsewhere.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1694 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoExtend configure script to check for environ declaration in stdlib.h.
zwelch [Sun, 10 May 2009 20:10:11 +0000 (20:10 +0000)]
Extend configure script to check for environ declaration in stdlib.h.

Patch contributed by Martin Thomas <mthomas@rhrk.uni-kl.de>.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1693 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoWrote up post processing JTAG API. Not used yet, but reference implementation will...
oharboe [Sun, 10 May 2009 19:48:09 +0000 (19:48 +0000)]
Wrote up post processing JTAG API. Not used yet, but reference implementation will be used in subsequent explanations of new scheme + patches to use it.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1692 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoRevive tclapi.c from r1650:
zwelch [Sun, 10 May 2009 19:44:38 +0000 (19:44 +0000)]
Revive tclapi.c from r1650:
* 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

14 years agoDavid Brownell <david-b@pacbell.net> whitespace fixes.
oharboe [Sun, 10 May 2009 19:02:07 +0000 (19:02 +0000)]
David Brownell <david-b@pacbell.net> whitespace fixes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1690 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoDavid Brownell <david-b@pacbell.net> whitespace fixes. Testing out on one file first...
oharboe [Sun, 10 May 2009 19:01:03 +0000 (19:01 +0000)]
David Brownell <david-b@pacbell.net> whitespace fixes. Testing out on one file first...

git-svn-id: svn://svn.berlios.de/openocd/trunk@1689 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoDavid Brownell <david-b@pacbell.net> fix warnings
oharboe [Sun, 10 May 2009 18:01:50 +0000 (18:01 +0000)]
David Brownell <david-b@pacbell.net> fix warnings

git-svn-id: svn://svn.berlios.de/openocd/trunk@1688 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMichael Bruck <mbruck@digenius.de> use more const
oharboe [Sun, 10 May 2009 12:55:16 +0000 (12:55 +0000)]
Michael Bruck <mbruck@digenius.de> use more const

git-svn-id: svn://svn.berlios.de/openocd/trunk@1687 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMichael Bruck <mbruck@digenius.de> use more const
oharboe [Sat, 9 May 2009 09:30:00 +0000 (09:30 +0000)]
Michael Bruck <mbruck@digenius.de> use more const

git-svn-id: svn://svn.berlios.de/openocd/trunk@1686 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMichael Bruck <mbruck@digenius.de> ARM11 C99 updates
oharboe [Sat, 9 May 2009 07:36:19 +0000 (07:36 +0000)]
Michael Bruck <mbruck@digenius.de> ARM11 C99 updates

git-svn-id: svn://svn.berlios.de/openocd/trunk@1685 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agowhitespace fixes
oharboe [Fri, 8 May 2009 21:03:28 +0000 (21:03 +0000)]
whitespace fixes

git-svn-id: svn://svn.berlios.de/openocd/trunk@1684 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoplugged bug w/irlen > 32 introduce in 1672
oharboe [Fri, 8 May 2009 20:48:28 +0000 (20:48 +0000)]
plugged bug w/irlen > 32 introduce in 1672

git-svn-id: svn://svn.berlios.de/openocd/trunk@1683 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agowhitespace fixes
oharboe [Fri, 8 May 2009 20:44:52 +0000 (20:44 +0000)]
whitespace fixes

git-svn-id: svn://svn.berlios.de/openocd/trunk@1682 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoDavid Brownell <david-b@pacbell.net> DaVinci dm6446
oharboe [Fri, 8 May 2009 20:27:19 +0000 (20:27 +0000)]
David Brownell <david-b@pacbell.net> DaVinci dm6446

git-svn-id: svn://svn.berlios.de/openocd/trunk@1680 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agosync up zy1000 interface to bitbang driver's handling of exiting the shift state
oharboe [Fri, 8 May 2009 19:24:40 +0000 (19:24 +0000)]
sync up zy1000 interface to bitbang driver's handling of exiting the shift state

git-svn-id: svn://svn.berlios.de/openocd/trunk@1679 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agoMichael Fischer <fischermi@t-online.de> fix compile problems on Mac
oharboe [Fri, 8 May 2009 18:54:59 +0000 (18:54 +0000)]
Michael Fischer <fischermi@t-online.de> fix compile problems on Mac

git-svn-id: svn://svn.berlios.de/openocd/trunk@1678 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agofix gaffe in 1672
oharboe [Fri, 8 May 2009 18:12:43 +0000 (18:12 +0000)]
fix gaffe in 1672

git-svn-id: svn://svn.berlios.de/openocd/trunk@1677 b42882b7-edfa-0310-969c-e2dbd0fdcd60

14 years agostm32 profiling wip
oharboe [Fri, 8 May 2009 13:30:45 +0000 (13:30 +0000)]
stm32 profiling wip

git-svn-id: svn://svn.berlios.de/openocd/trunk@1676 b42882b7-edfa-0310-969c-e2dbd0fdcd60

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)