zwelch
004c7124c4
Audit and eliminate redundant #include directives from src/jtag.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1707 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 04:04:58 +00:00
zwelch
8a5b25790f
Audit and eliminate redundant helper #include directives.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1706 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 03:59:02 +00:00
zwelch
5a818f71d7
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
2009-05-11 03:48:32 +00:00
zwelch
ee22f119de
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
2009-05-11 03:47:56 +00:00
zwelch
6a8583ebc4
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
2009-05-11 03:35:25 +00:00
zwelch
af7cdfd82b
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
2009-05-11 02:52:00 +00:00
zwelch
4e7ec08939
Finish portability support for AC_HEADER_STDBOOL configure macro.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1701 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 02:29:53 +00:00
zwelch
490e271290
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
2009-05-11 02:27:16 +00:00
zwelch
eb6da244cb
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
2009-05-11 02:24:58 +00:00
zwelch
55342151a3
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
2009-05-11 00:57:19 +00:00
zwelch
bf25d3edf7
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
2009-05-11 00:49:51 +00:00
zwelch
76c0dcb324
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
2009-05-11 00:44:59 +00:00
zwelch
647e61cc6d
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
2009-05-10 22:03:57 +00:00
zwelch
104580e0bf
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
2009-05-10 21:33:53 +00:00
zwelch
a24ab3ae38
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
2009-05-10 20:10:11 +00:00
oharboe
26526a80ea
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
2009-05-10 19:48:09 +00:00
zwelch
72acdac71a
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
2009-05-10 19:44:38 +00:00
oharboe
90465379e5
David Brownell <david-b@pacbell.net> whitespace fixes.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1690 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10 19:02:07 +00:00
oharboe
64e5467ca7
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
2009-05-10 19:01:03 +00:00
oharboe
62d610f2b7
David Brownell <david-b@pacbell.net> fix warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1688 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10 18:01:50 +00:00
oharboe
3ac5d073dc
Michael Bruck <mbruck@digenius.de> use more const
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1687 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-10 12:55:16 +00:00
oharboe
79d515c347
Michael Bruck <mbruck@digenius.de> use more const
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1686 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-09 09:30:00 +00:00
oharboe
0c9a2e99ca
Michael Bruck <mbruck@digenius.de> ARM11 C99 updates
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1685 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-09 07:36:19 +00:00
oharboe
00fd07336e
whitespace fixes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1684 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 21:03:28 +00:00
oharboe
96509c764a
plugged bug w/irlen > 32 introduce in 1672
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1683 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 20:48:28 +00:00
oharboe
d7f71e7fe9
whitespace fixes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1682 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 20:44:52 +00:00
oharboe
de8430d3c3
David Brownell <david-b@pacbell.net> DaVinci dm6446
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1680 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 20:27:19 +00:00
oharboe
060f61ef24
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
2009-05-08 19:24:40 +00:00
oharboe
5f7791474b
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
2009-05-08 18:54:59 +00:00
oharboe
5ff0317aa3
fix gaffe in 1672
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1677 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 18:12:43 +00:00
oharboe
820da73f79
stm32 profiling wip
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1676 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 13:30:45 +00:00
oharboe
dbf69e3625
profiling numbers
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1675 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 12:26:50 +00:00
oharboe
49e286509b
add flush_count jtag queue profiling feature
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1674 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 11:46:01 +00:00
oharboe
8a58fb9402
fix (old?) bug in jtag_add_ir_scan()
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1673 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 11:18:41 +00:00
oharboe
57bc9f37c9
in_handler in_check_mask and in_check_value now removed from field. Last big patch in the series of JTAG API cleanup.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1672 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 09:48:00 +00:00
oharboe
4df87471ca
fix one gaffe in previous commit.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1671 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 09:37:25 +00:00
oharboe
84dfdd4de6
use assert instead of adding code that always runs
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1670 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 08:49:24 +00:00
oharboe
4f19ef3cce
pull up verify_capture_ir one level in api stack
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1669 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 08:46:28 +00:00
oharboe
bf4da345ec
retire jtag_set_check_value
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1668 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 07:28:00 +00:00
oharboe
fe629829f4
retire jtag_set_check_value
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1667 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 07:22:31 +00:00
oharboe
8173e02272
retire jtag_set_check_value
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1666 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 07:14:23 +00:00
oharboe
101ec4eae1
retire jtag_set_check_value
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1665 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 07:09:32 +00:00
oharboe
dd673b0b5f
first jtag_check_value_mask usage. tested by using "arm7_9 fast_memory_access enable" & "mdw 0 0x10"
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1664 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 06:45:27 +00:00
oharboe
75f98d1649
added comments w.r.t. potential performance problems
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1663 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 06:14:08 +00:00
zwelch
f2676adb3c
Fix typo from hurrying the last commit. Nothing to see here.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1662 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 05:33:08 +00:00
zwelch
6d60d22687
Fix loadFile to return file length once again.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1661 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 05:30:37 +00:00
zwelch
641919d491
Re-order and extend header file tests in configure script.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1660 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 04:59:05 +00:00
zwelch
d209029ca8
Fix warnings in httpd.c; builds with libmicrohttpd-0.4.1.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1659 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 04:49:27 +00:00
zwelch
1000674d1c
Fix warnings in ioutil.c; improves loadFile inteface.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1658 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-08 04:46:00 +00:00
oharboe
f6ed7cb271
more in_handler typo fixes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1657 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-07 23:00:28 +00:00