Changeset 80487bc5 in mainline for uspace/lib/libc


Ignore:
Timestamp:
2010-01-25T21:40:13Z (15 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:
uspace/lib/libc
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/udebug.c

    r0d21b53 r80487bc5  
    9797}
    9898
     99int udebug_regs_read(int phoneid, thash_t tid, void *buffer)
     100{
     101        return async_req_3_0(phoneid, IPC_M_DEBUG_ALL, UDEBUG_M_REGS_READ,
     102            tid, (sysarg_t)buffer);
     103}
     104
    99105int udebug_go(int phoneid, thash_t tid, udebug_event_t *ev_type,
    100106    sysarg_t *val0, sysarg_t *val1)
  • uspace/lib/libc/include/udebug.h

    r0d21b53 r80487bc5  
    5151int udebug_mem_read(int phoneid, void *buffer, uintptr_t addr, size_t n);
    5252int udebug_args_read(int phoneid, thash_t tid, sysarg_t *buffer);
     53int udebug_regs_read(int phoneid, thash_t tid, void *buffer);
    5354int udebug_go(int phoneid, thash_t tid, udebug_event_t *ev_type,
    5455        sysarg_t *val0, sysarg_t *val1);
Note: See TracChangeset for help on using the changeset viewer.