Changeset fea0ce6 in mainline for kernel/generic/include/udebug
- Timestamp:
- 2010-01-23T20:20:54Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e095644
- Parents:
- 9d3133d (diff), bc310a05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/generic/include/udebug
- Files:
-
- 2 edited
-
udebug.h (modified) (3 diffs)
-
udebug_ops.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/udebug/udebug.h
r9d3133d rfea0ce6 96 96 */ 97 97 UDEBUG_M_THREAD_READ, 98 99 /** Read the list of the debugged task's address space areas. 100 * 101 * - ARG2 - destination address in the caller's address space 102 * - ARG3 - size of receiving buffer in bytes 103 * 104 * The kernel fills the buffer with a series of as_area_info_t structures. 105 * Upon answer, the kernel will set: 106 * 107 * - ARG2 - number of bytes that were actually copied 108 * - ARG3 - number of bytes of the complete data 109 * 110 */ 111 UDEBUG_M_AREAS_READ, 98 112 99 113 /** Read the debugged tasks's memory. … … 139 153 140 154 #include <synch/mutex.h> 155 #include <synch/condvar.h> 141 156 #include <arch/interrupt.h> 142 157 #include <atomic.h> … … 181 196 bool stoppable; /**< thread is stoppable */ 182 197 bool active; /**< thread is in a debugging session */ 198 condvar_t active_cv; 183 199 } udebug_thread_t; 184 200 -
kernel/generic/include/udebug/udebug_ops.h
r9d3133d rfea0ce6 45 45 int udebug_stop(thread_t *t, call_t *call); 46 46 47 int udebug_thread_read(void **buffer, size_t buf_size, size_t *n); 47 int udebug_thread_read(void **buffer, size_t buf_size, size_t *stored, 48 size_t *needed); 48 49 int udebug_args_read(thread_t *t, void **buffer); 49 50
Note:
See TracChangeset
for help on using the changeset viewer.
