Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2911 |
5940 d 17 h |
svoboda |
/branches/tracing/ |
Add 'debug' program - the foundation of a breakpoint debugger |
|
/branches/tracing/uspace/app/debug /branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/cmd.h /branches/tracing/uspace/app/debug/main.c
/branches/tracing/boot/arch/ia32/Makefile.inc /branches/tracing/boot/arch/ia32/grub/menu.lst /branches/tracing/uspace/Makefile
|
2908 |
5940 d 19 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Don't wait for another GO in THREAD_E event, terminate debugging of this thread instead |
|
/branches/tracing/kernel/generic/src/udebug/udebug.c
|
2906 |
5940 d 22 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Remove obsolete debug_api.x from sctrace |
|
/branches/tracing/uspace/app/sctrace/debug_api.c /branches/tracing/uspace/app/sctrace/debug_api.h
|
2905 |
5940 d 23 h |
svoboda |
/branches/tracing/uspace/lib/libc/ |
Use prettier types in libc udebug wrapper |
|
/branches/tracing/uspace/lib/libc/generic/udebug.c /branches/tracing/uspace/lib/libc/include/udebug.h
|
2904 |
5941 d 0 h |
svoboda |
/branches/tracing/uspace/ |
Move udebug API wrappers from sctrace to libc |
|
/branches/tracing/uspace/lib/libc/generic/udebug.c
/branches/tracing/uspace/app/sctrace/Makefile /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/lib/libc/Makefile /branches/tracing/uspace/lib/libc/include/udebug.h
|
2903 |
5941 d 0 h |
svoboda |
/branches/tracing/ |
Rename event NEW_THREAD to THREAD_B. Add THREAD_E event - thread exit |
|
/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
|
2902 |
5941 d 1 h |
svoboda |
/branches/tracing/kernel/generic/ |
Implement proper kbox thread shutdown, with all bells and whistles. Use THREAD->debug_active in udebug_stoppable_xx() and friends |
|
/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 /branches/tracing/kernel/generic/src/udebug/udebug.c
|
2901 |
5941 d 13 h |
svoboda |
/branches/tracing/ |
Split SYSCALL event into SYSCALL_B and SYSCALL_E, the extra event allows seeing long-running syscalls immediately, as well as calls with invalid syscall id |
|
/branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/syscall/syscall.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c /branches/tracing/uspace/app/sctrace/sctrace.c
|
2900 |
5941 d 14 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Remove superfluous malloc return value checks |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
|
2899 |
5941 d 14 h |
svoboda |
/branches/tracing/ |
Add support for SET_EVMASK debug operation |
|
/branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/include/udebug/udebug_ops.h /branches/tracing/kernel/generic/src/proc/task.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
|
2898 |
5941 d 16 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 |
5941 d 18 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 |
5941 d 18 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 |
5941 d 19 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 |
5941 d 19 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 |
5943 d 2 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 |
5947 d 22 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 |
5947 d 23 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 |
5948 d 0 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 |
5948 d 1 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 |
5948 d 18 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 |
5948 d 18 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 |
5948 d 19 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 |
5948 d 20 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 |
5948 d 21 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 |
5948 d 23 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Fix sctrace Makefile |
|
/branches/tracing/uspace/app/sctrace/Makefile
|
2874 |
5948 d 23 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 |
5949 d 1 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 |
5949 d 14 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 |
5949 d 20 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 |
5950 d 13 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 |
5950 d 13 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 |
5950 d 18 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Start tracing new threads in sctrace |
|
/branches/tracing/uspace/app/sctrace/sctrace.c
|
2867 |
5950 d 19 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 |
5951 d 0 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 |
5951 d 0 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 |
5963 d 12 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 |
5969 d 2 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 |
5969 d 3 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 |
5969 d 13 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
|