Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2898 |
5912 d 13 h |
svoboda |
/branches/tracing/ |
Implement operation UDEBUG_M_STOP that stops a thread. Can be used for stopping program by hitting a key in debugger. Somewhat jittery demo in sctrace. Fix missing lock of THREAD->debug_lock in udebug_stoppable_end() |
|
/branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/include/udebug/udebug_ops.h /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c /branches/tracing/uspace/app/sctrace/debug_api.c /branches/tracing/uspace/app/sctrace/debug_api.h /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2897 |
5912 d 15 h |
svoboda |
/branches/tracing/kernel/generic/ |
Fix bad allocation with locks held in udebug_thread_read() |
|
/branches/tracing/kernel/generic/include/udebug/udebug_ops.h /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
|
2896 |
5912 d 15 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Handle malloc return values properly |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
|
2895 |
5912 d 16 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Prevent sctrace tables from becoming broken when syscall/ipc/errno enums change |
|
/branches/tracing/uspace/app/sctrace/errors.c /branches/tracing/uspace/app/sctrace/ipc_desc.c /branches/tracing/uspace/app/sctrace/syscalls.c
|
2894 |
5912 d 16 h |
svoboda |
/branches/tracing/ |
Add missing copyright messages |
|
/branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/include/udebug/udebug_ipc.h /branches/tracing/kernel/generic/include/udebug/udebug_ops.h /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c /branches/tracing/uspace/app/sctrace/debug_api.c /branches/tracing/uspace/app/sctrace/debug_api.h /branches/tracing/uspace/app/sctrace/errors.c /branches/tracing/uspace/app/sctrace/errors.h /branches/tracing/uspace/app/sctrace/ipc_desc.c /branches/tracing/uspace/app/sctrace/ipc_desc.h /branches/tracing/uspace/app/sctrace/ipcp.c /branches/tracing/uspace/app/sctrace/ipcp.h /branches/tracing/uspace/app/sctrace/proto.c /branches/tracing/uspace/app/sctrace/proto.h /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/app/sctrace/syscalls.c /branches/tracing/uspace/app/sctrace/syscalls.h /branches/tracing/uspace/app/tester/debug/debug1.c /branches/tracing/uspace/lib/libc/include/udebug.h
|
2892 |
5913 d 23 h |
svoboda |
/branches/tracing/kernel/generic/src/ |
Fix retval for udebug_rp_mem_write() |
|
/branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2888 |
5918 d 19 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Verify that a task sending debug calls really is the callee's debugger |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2887 |
5918 d 20 h |
svoboda |
/branches/tracing/kernel/ |
Split executive parts of udebug_ipc.c to udebug_ops.c |
|
/branches/tracing/kernel/generic/include/udebug/udebug_ops.h /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
/branches/tracing/kernel/Makefile /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2886 |
5918 d 21 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Move rest of debug method processing, that can be moved, to kbox thread |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2885 |
5918 d 22 h |
svoboda |
/branches/tracing/ |
Start moving debug method processing to kbox_thread. Start with BEGIN, END, THREAD_READ |
|
/branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/uspace/app/sctrace/debug_api.c
|
2883 |
5919 d 15 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Add some console and vfs method names for fun |
|
/branches/tracing/uspace/app/sctrace/proto.c /branches/tracing/uspace/app/sctrace/proto.h /branches/tracing/uspace/app/sctrace/sctrace.c
|
2882 |
5919 d 15 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Set protocol 'console' by default for phone 1 |
|
/branches/tracing/uspace/app/sctrace/ipcp.c /branches/tracing/uspace/app/sctrace/ipcp.h /branches/tracing/uspace/app/sctrace/sctrace.c
|
2880 |
5919 d 15 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Detect and display operation names by method number |
|
/branches/tracing/uspace/app/sctrace/ipcp.c /branches/tracing/uspace/app/sctrace/proto.c /branches/tracing/uspace/app/sctrace/proto.h /branches/tracing/uspace/app/sctrace/sctrace.c
|
2878 |
5919 d 16 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Protocol registration, detect protocol by service name, display protocol name |
|
/branches/tracing/uspace/app/sctrace/proto.c
/branches/tracing/uspace/app/sctrace/Makefile /branches/tracing/uspace/app/sctrace/ipcp.c /branches/tracing/uspace/app/sctrace/proto.h /branches/tracing/uspace/app/sctrace/sctrace.c
|
2877 |
5919 d 18 h |
svoboda |
/branches/tracing/uspace/app/ |
Match sync call answers properly, handle connects and disconnects |
|
/branches/tracing/uspace/app/sctrace/ipcp.c /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2875 |
5919 d 20 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Fix sctrace Makefile |
|
/branches/tracing/uspace/app/sctrace/Makefile
|
2874 |
5919 d 20 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Rename ipc.* to ipcp.* in sctrace |
|
/branches/tracing/uspace/app/sctrace/ipcp.c /branches/tracing/uspace/app/sctrace/ipcp.h
/branches/tracing/uspace/app/sctrace/ipc.c /branches/tracing/uspace/app/sctrace/ipc.h
/branches/tracing/uspace/app/sctrace/sctrace.c
|
2873 |
5919 d 22 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Match IPC responses to questions in sctrace ipcp module |
|
/branches/tracing/uspace/app/sctrace/proto.h
/branches/tracing/uspace/app/sctrace/ipc.c /branches/tracing/uspace/app/sctrace/ipc.h /branches/tracing/uspace/app/sctrace/sctrace.c
|
2872 |
5920 d 11 h |
svoboda |
/branches/tracing/uspace/app/ |
Add call hashes, sync calls and hangups to IPC module interface of sctrace |
|
/branches/tracing/uspace/app/sctrace/ipc.c /branches/tracing/uspace/app/sctrace/ipc.h /branches/tracing/uspace/app/sctrace/ipc_desc.c /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/app/tester/ipc/register.c
|
2871 |
5920 d 17 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Foundation for parsing IPC messages in sctrace |
|
/branches/tracing/uspace/app/sctrace/ipc.c /branches/tracing/uspace/app/sctrace/ipc.h /branches/tracing/uspace/app/sctrace/ipc_desc.c /branches/tracing/uspace/app/sctrace/ipc_desc.h
/branches/tracing/uspace/app/sctrace/Makefile /branches/tracing/uspace/app/sctrace/sctrace.c
|
2870 |
5921 d 10 h |
svoboda |
/branches/tracing/kernel/generic/ |
Terminate debugging session on debugger disconnect |
|
/branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2869 |
5921 d 10 h |
svoboda |
/branches/tracing/kernel/generic/src/time/ |
Make preempted threads stoppable, so CPU-bound threads can be stopped |
|
/branches/tracing/kernel/generic/src/time/clock.c
|
2868 |
5921 d 15 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Start tracing new threads in sctrace |
|
/branches/tracing/uspace/app/sctrace/sctrace.c
|
2867 |
5921 d 15 h |
svoboda |
/branches/tracing/ |
Signal hash of new thread with a UDEBUG_EVENT_NEW_THREAD message |
|
/branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2866 |
5921 d 21 h |
svoboda |
/branches/tracing/kernel/generic/ |
Verify that thread is waiting in syscall event when reading syscall args |
|
/branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2865 |
5921 d 21 h |
svoboda |
/branches/tracing/kernel/generic/src/ |
Put proper udebug_stoppable_end() in uinit |
|
/branches/tracing/kernel/generic/src/main/uinit.c /branches/tracing/kernel/generic/src/proc/thread.c
|
2862 |
5934 d 9 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Use async_serialize_start/end() for fibril synchronization in sctrace |
|
/branches/tracing/uspace/app/sctrace/sctrace.c
|
2854 |
5939 d 23 h |
svoboda |
/branches/tracing/ |
Fix condition for generating debug events. Properly initialize threads created during debugging session |
|
/branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2853 |
5940 d 0 h |
svoboda |
/branches/tracing/uspace/app/ |
Fix thread index passed to fibril_create in sctrace.c |
|
/branches/tracing/uspace/app/sctrace/debug_api.c /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2851 |
5940 d 10 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Fix locking order in udebug_rp_end (to the somewhat unintuitive threads_lock => t->debug_lock => t->lock |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2850 |
5940 d 10 h |
svoboda |
/branches/tracing/uspace/app/ |
Initial support for multithreaded tasks in sctrace. Replace debug1 test. |
|
/branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2849 |
5940 d 10 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Move code for verifying and locking down a thread for a debugging op to _thread_op_begin()/_thread_op_end(). Rewritten to prevent case of mistaken task identity |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2848 |
5940 d 20 h |
svoboda |
/branches/tracing/kernel/generic/ |
Use debug_lock in thread struct for finer locking, to avoid problems with waitq_wakeup |
|
/branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2842 |
5941 d 13 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Fix and document verify_thread() |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2841 |
5941 d 13 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Add verify_thread() to check that a thread is valid for debug ops |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2840 |
5941 d 13 h |
svoboda |
/branches/tracing/kernel/generic/src/ipc/ |
Fix: Clear kb_thread_at_hand when terminating kbox thread |
|
/branches/tracing/kernel/generic/src/ipc/ipc.c
|
2839 |
5941 d 13 h |
svoboda |
/branches/tracing/kernel/generic/ |
Add thread_attach_by_id() and use it to do ipc_connect_kbox() with proper locking |
|
/branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/kernel/generic/src/proc/task.c /branches/tracing/kernel/generic/src/proc/thread.c
|
2838 |
5941 d 16 h |
svoboda |
/branches/tracing/ |
Respond to pending GO messages with UDEBUG_EVENT_FINISHED on terminating the debugging session. Set retval for DEBUG_END answer. |
|
/branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/uspace/app/sctrace/sctrace.c
|
2837 |
5941 d 20 h |
svoboda |
/branches/tracing/ |
Handle hangup message sent to kbox. Exit kbox thread when the last phone has been disconnected. |
|
/branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/uspace/app/sctrace/sctrace.c
|
2836 |
5941 d 21 h |
svoboda |
/branches/tracing/kernel/generic/src/ipc/ |
Fix: only create kbox thread if it doesn't exist yet |
|
/branches/tracing/kernel/generic/src/ipc/ipc.c
|