Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/udebug/udebug.h

    r3698e44 r8af9950  
    2727 */
    2828
    29 /** @addtogroup generic
     29/** @addtogroup generic 
    3030 * @{
    3131 */
     
    8383UDEBUG_M_ARGS_READ,
    8484
    85 /** Read thread's userspace register state (istate_t).
    86  *
    87  * - ARG2 - thread identification
    88  * - ARG3 - destination address in the caller's address space
    89  *
    90  * or, on error, retval will be
    91  * - ENOENT - thread does not exist
    92  * - EBUSY - register state not available
    93  */
    94 UDEBUG_M_REGS_READ,
    95 
    9685/** Read the list of the debugged tasks's threads.
    9786 *
     
    10796 */
    10897UDEBUG_M_THREAD_READ,
    109 
    110 /** Read the name of the debugged task.
    111  *
    112  * - ARG2 - destination address in the caller's address space
    113  * - ARG3 - size of receiving buffer in bytes
    114  *
    115  * The kernel fills the buffer with a non-terminated string.
    116  *
    117  * - ARG2 - number of bytes that were actually copied
    118  * - ARG3 - number of bytes of the complete data
    119  *
    120  */
    121 UDEBUG_M_NAME_READ,
    122 
    123 /** Read the list of the debugged task's address space areas.
    124  *
    125  * - ARG2 - destination address in the caller's address space
    126  * - ARG3 - size of receiving buffer in bytes
    127  *
    128  * The kernel fills the buffer with a series of as_area_info_t structures.
    129  * Upon answer, the kernel will set:
    130  *
    131  * - ARG2 - number of bytes that were actually copied
    132  * - ARG3 - number of bytes of the complete data
    133  *
    134  */
    135 UDEBUG_M_AREAS_READ,
    13698
    13799/** Read the debugged tasks's memory.
     
    146108} udebug_method_t;
    147109
    148 
     110                               
    149111typedef enum {
    150112        UDEBUG_EVENT_FINISHED = 1,      /**< Debuging session has finished */
     
    177139
    178140#include <synch/mutex.h>
    179 #include <synch/condvar.h>
    180141#include <arch/interrupt.h>
    181142#include <atomic.h>
     
    220181        bool stoppable;         /**< thread is stoppable */
    221182        bool active;            /**< thread is in a debugging session */
    222         condvar_t active_cv;
    223183} udebug_thread_t;
    224184
     
    242202
    243203int udebug_task_cleanup(struct task *ta);
    244 void udebug_thread_fault(void);
    245204
    246205#endif
Note: See TracChangeset for help on using the changeset viewer.