summaryrefslogtreecommitdiff
path: root/src/target/target.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Consolidate target selection code into single get_target() that handles both ↵kc8apf2009-05-181-23/+32
| | | | | | names and numbers. Provided by David Brownell <david-b@pacbell.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1804 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix array2mem/mem2array when used as a "method" on a target.oharboe2009-05-171-14/+14
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1801 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* take #2: dump_image now works for addresses not divisible by 4 oharboe2009-05-141-6/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1786 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* dump_image now works for addresses not divisible by 4oharboe2009-05-141-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1785 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* propagate error in dump_image. If an error occurs during dump_image, a tcl ↵oharboe2009-05-141-2/+2
| | | | | | exception is thrown. git-svn-id: svn://svn.berlios.de/openocd/trunk@1782 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Audit and eliminate redundant #include directives in core target files.zwelch2009-05-111-18/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1713 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Remove redundant sys/types.h #include directives (now in types.h).zwelch2009-05-111-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1700 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Dirk Behme <dirk.behme@googlemail.com> Add minimalist Cortex A8 fileoharboe2009-05-041-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1602 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Add static keywords to core target source file data and functions.zwelch2009-04-301-50/+48
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1579 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* SimonQian <simonqian@simonqian.com> AVR wipoharboe2009-04-271-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1540 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fix use of wrong format conversion for size_t (%zu instead of %u)kc8apf2009-04-221-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1502 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Zach Welch <zw@superlucidity.net>fix unused return value warnings (3 of 4)oharboe2009-04-211-8/+14
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1482 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Zach Welch <zw@superlucidity.net> fix -Wformat-security warnings (1 of 4)oharboe2009-04-211-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1481 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Zach Welch <zw@superlucidity.net> fix -Werror warningsoharboe2009-04-191-11/+13
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1472 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Commands: reg, profile, ocd_mem2array, ocd_array2mem, fast_load, etc only ↵duane2009-03-081-11/+15
| | | | | | work *IF* there is an actual target git-svn-id: svn://svn.berlios.de/openocd/trunk@1404 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Nicolas Pitre <nico@cam.org> fix "halt 0" to only halt and not to poll/wait ↵oharboe2009-03-051-0/+10
| | | | | | afterwards. This follows the intention in the docs. git-svn-id: svn://svn.berlios.de/openocd/trunk@1398 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* test code for elf parsing.oharboe2009-03-031-44/+63
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1396 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* tinkered a bit with performance for Cortex flash programming. Mainly make it ↵oharboe2009-02-231-6/+15
| | | | | | easier to profile as a start. git-svn-id: svn://svn.berlios.de/openocd/trunk@1380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* chain position is now required when creating a targetoharboe2009-01-281-0/+9
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Uwe Hermann <uwe@hermann-uwe.de> One of them is fixing a few compiler ↵oharboe2008-12-281-1/+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
* - add ability for openocd to communicate to gdb using pipes (stdin/stdout).ntfreak2008-12-151-5/+2
| | | | | | - this is enabled by new command line option option --pipe. git-svn-id: svn://svn.berlios.de/openocd/trunk@1242 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fast_load profiling tool moved to target.coharboe2008-12-151-1/+205
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1241 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove target specific variant and use target->variant memberntfreak2008-12-131-95/+48
| | | | | | | - 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
* jtag newtap change & huge manual updateduane2008-11-301-12/+16
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1194 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Rick Altherr <kc8apf@kc8apf.net> retire obsolete syntaxoharboe2008-11-271-145/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1190 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fixes segfault using the targets cmd if multiple targets definedntfreak2008-11-261-2/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1187 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* jtag_get_device() now returns NULL and reports error instead of invoking exit()oharboe2008-11-191-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1176 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* execute reset init upon power restore / srst deassertoharboe2008-11-101-5/+59
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1150 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix telnet async messages. retired telnet_async command - no user ↵oharboe2008-11-051-0/+7
| | | | | | serviceable parts inside. git-svn-id: svn://svn.berlios.de/openocd/trunk@1135 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* disable continous polling while srst is asserted and power dropout is detectedoharboe2008-11-051-1/+69
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1134 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Rick Alterr - The attached patch makes the target syntax parsing much more ↵oharboe2008-11-041-20/+29
| | | | | | robust and makes the variant optional again. git-svn-id: svn://svn.berlios.de/openocd/trunk@1129 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Rick Altherr <kc8apf@kc8apf.net> - fix warningsoharboe2008-11-031-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1126 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* invoke target_create() onceoharboe2008-11-021-1/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1124 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* step command now propagates erroroharboe2008-11-021-3/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1123 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Rick Altherr <kc8apf@kc8apf.net> - fix support for old target syntaxoharboe2008-10-281-11/+24
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1108 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Kees Jongenburger <kees.jongenburger@gmail.com> old" syntax target command ↵oharboe2008-10-271-2/+2
| | | | | | | | appears to be broken this patch addresses this issue git-svn-id: svn://svn.berlios.de/openocd/trunk@1107 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Laurentiu Cocanu - more help textoharboe2008-10-221-5/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1087 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Laurentiu Cocanu - memory read/write and exit() error path fixesoharboe2008-10-151-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1064 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* 김운식 <donari75@gmail.com> spotted a bug in target_write_u8oharboe2008-10-151-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1063 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* reset cleanup. Remove obsolete events that are not needed for compatibility.oharboe2008-10-141-2/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1053 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* reset cleanupoharboe2008-10-141-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1048 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Retired old reset code according to plan.oharboe2008-10-131-131/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1047 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fixed gaffes in reset script handling + improved erroroharboe2008-10-131-3/+7
| | | | | | | | messages a bit. The file and line # of the syntax error in a reset script is now printed. git-svn-id: svn://svn.berlios.de/openocd/trunk@1042 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Laurentiu Cocanu <laurentiu.cocanu@zylin.com> - Added additional error ↵oharboe2008-10-131-35/+100
| | | | | | checks mostly to src/target/target.c git-svn-id: svn://svn.berlios.de/openocd/trunk@1041 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* file not found SEGFAULT fixoharboe2008-10-081-0/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1030 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Centralize error handling for buggy register handlingoharboe2008-10-061-12/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1019 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* GDB alive fixes for verify_imageoharboe2008-10-031-0/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1014 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix noise in gdb console when single stepping. Remove printing of log before ↵oharboe2008-09-241-0/+8
| | | | | | processing halted event. git-svn-id: svn://svn.berlios.de/openocd/trunk@994 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added myself to copyright on files i remember adding large contributions ↵ntfreak2008-09-201-10/+4
| | | | | | | | | 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
* follow up to keep_alive() fix. process target events before returning from ↵oharboe2008-09-121-0/+4
| | | | | | reset procedure. git-svn-id: svn://svn.berlios.de/openocd/trunk@986 b42882b7-edfa-0310-969c-e2dbd0fdcd60