Files
openocd/src/target
Mike Dunn 2e7d51c96a xscale: trace buffer remains enabled until explicitly disabled
Hi everyone,

Since a call went out for patches... been sitting on this for months.  For some
reason, the xscale trace buffer is automatically disabled as soon as a break
occurs and the trace data is collected.  This patch was a result of the
frustration of always re-enabling it, or else hitting a breakpoint and checking
the trace data, only to discover that I forgot to re-enable it before resuming.
Don't see why it should work this way.  There is no run-time penalty, AFAIK.

Along the way, I also cleaned up a little by removing the ugly practice of
recording wrap mode by setting the fill count variable to "-1", replacing it
with an enum that records the trace mode.

I've been using this for months.  Comments, criticisms gratefully received.

Mike

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
2010-12-04 09:40:15 +01:00
..
2010-07-20 08:42:52 +02:00
2010-07-20 08:42:52 +02:00
2010-09-20 13:12:35 +02:00
2010-07-19 22:13:49 +02:00
2010-08-11 10:58:49 +02:00
2010-07-19 22:13:49 +02:00
2010-01-21 16:45:00 -08:00
2010-07-19 22:13:49 +02:00
2010-04-10 16:59:50 +08:00
2010-09-20 13:12:35 +02:00
2010-03-01 10:39:57 -08:00
2010-04-10 16:46:01 +08:00
2010-10-28 10:08:16 +01:00
2010-03-05 10:39:25 -08:00
2010-07-19 22:13:49 +02:00
2010-10-28 10:08:16 +01:00
2010-07-19 22:13:49 +02:00
2010-09-20 13:12:35 +02:00
2010-08-15 21:51:34 +02:00
2010-08-15 21:51:34 +02:00
2010-08-15 21:51:34 +02:00
2010-09-20 13:12:35 +02:00
2010-08-15 21:51:34 +02:00
2010-08-15 21:51:34 +02:00
2010-08-15 21:51:34 +02:00
2010-06-21 22:14:18 +08:00
2010-06-21 22:14:17 +08:00
2010-09-14 16:25:48 +02:00
2010-04-14 07:36:08 +02:00
2010-10-29 15:10:51 +02:00
2010-10-29 15:10:51 +02:00
2010-09-21 22:17:38 +02:00
2010-09-20 13:12:35 +02:00
2010-09-29 18:56:07 +02:00
2009-12-19 13:07:26 -08:00
2010-09-29 18:56:07 +02:00
2010-09-27 16:29:51 +02:00
2010-11-18 14:05:56 +00:00
2010-10-28 10:08:16 +01:00
2010-09-20 13:12:35 +02:00
2009-11-22 10:27:29 -08:00
2010-01-11 12:58:06 +01:00
2010-10-29 15:10:51 +02:00
2009-12-13 12:52:23 -08:00
2010-01-07 15:05:26 -08:00
2010-06-23 07:55:43 +02:00