Changeset 80487bc5 in mainline for kernel/generic/include/udebug


Ignore:
Timestamp:
2010-01-25T21:40:13Z (16 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e515b21a
Parents:
0d21b53
Message:

Allow taskdump to read register state and extract PC, FP (not implemented for all arches).

Location:
kernel/generic/include/udebug
Files:
2 edited

Legend:

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

    r0d21b53 r80487bc5  
    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 */
     94UDEBUG_M_REGS_READ,
     95
    8596/** Read the list of the debugged tasks's threads.
    8697 *
     
    122133} udebug_method_t;
    123134
    124                                
     135
    125136typedef enum {
    126137        UDEBUG_EVENT_FINISHED = 1,      /**< Debuging session has finished */
  • kernel/generic/include/udebug/udebug_ops.h

    r0d21b53 r80487bc5  
    4949int udebug_args_read(thread_t *t, void **buffer);
    5050
     51int udebug_regs_read(thread_t *t, void **buffer);
     52
    5153int udebug_mem_read(unative_t uspace_addr, size_t n, void **buffer);
    5254
Note: See TracChangeset for help on using the changeset viewer.