Rev |
Age |
Author |
Path |
Log message |
Diff |
2924 |
5938 d 20 h |
svoboda |
/branches/tracing/ |
Preliminary mips32 breakpoint support for udebug/debugger. (You must write-enable code segments for it to work, yet) |
|
2921 |
5940 d 7 h |
svoboda |
/branches/tracing/kernel/ |
Add TRAP debug event. Support on ia32/amd64. |
|
2919 |
5940 d 7 h |
svoboda |
/branches/tracing/kernel/generic/ |
Simlify and fix REGS_READ and REGS_WRITE operations |
|
2918 |
5940 d 17 h |
svoboda |
/branches/tracing/ |
Add support for INT3 breakpoints on IA32 to kernel. UDEBUG_EVENT_BREAKPOINT |
|
2917 |
5940 d 17 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Fix: Must drop missed wakeups when waiting for go |
|
2913 |
5940 d 22 h |
svoboda |
/branches/tracing/kernel/generic/src/ |
Print less debugging messages to make things go faster |
|
2908 |
5940 d 23 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Don't wait for another GO in THREAD_E event, terminate debugging of this thread instead |
|
2903 |
5941 d 5 h |
svoboda |
/branches/tracing/ |
Rename event NEW_THREAD to THREAD_B. Add THREAD_E event - thread exit |
|
2902 |
5941 d 6 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 |
|
2901 |
5941 d 18 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 |
|
2900 |
5941 d 18 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Remove superfluous malloc return value checks |
|
2899 |
5941 d 19 h |
svoboda |
/branches/tracing/ |
Add support for SET_EVMASK debug operation |
|
2898 |
5941 d 20 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() |
|
2897 |
5941 d 23 h |
svoboda |
/branches/tracing/kernel/generic/ |
Fix bad allocation with locks held in udebug_thread_read() |
|
2896 |
5941 d 23 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Handle malloc return values properly |
|
2894 |
5942 d 0 h |
svoboda |
/branches/tracing/ |
Add missing copyright messages |
|
2892 |
5943 d 6 h |
svoboda |
/branches/tracing/kernel/generic/src/ |
Fix retval for udebug_rp_mem_write() |
|
2888 |
5948 d 3 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Verify that a task sending debug calls really is the callee's debugger |
|
2887 |
5948 d 3 h |
svoboda |
/branches/tracing/kernel/ |
Split executive parts of udebug_ipc.c to udebug_ops.c |
|
2886 |
5948 d 5 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Move rest of debug method processing, that can be moved, to kbox thread |
|
2885 |
5948 d 6 h |
svoboda |
/branches/tracing/ |
Start moving debug method processing to kbox_thread. Start with BEGIN, END, THREAD_READ |
|
2870 |
5950 d 17 h |
svoboda |
/branches/tracing/kernel/generic/ |
Terminate debugging session on debugger disconnect |
|
2869 |
5950 d 18 h |
svoboda |
/branches/tracing/kernel/generic/src/time/ |
Make preempted threads stoppable, so CPU-bound threads can be stopped |
|
2867 |
5950 d 23 h |
svoboda |
/branches/tracing/ |
Signal hash of new thread with a UDEBUG_EVENT_NEW_THREAD message |
|
2866 |
5951 d 5 h |
svoboda |
/branches/tracing/kernel/generic/ |
Verify that thread is waiting in syscall event when reading syscall args |
|
2865 |
5951 d 5 h |
svoboda |
/branches/tracing/kernel/generic/src/ |
Put proper udebug_stoppable_end() in uinit |
|
2854 |
5969 d 7 h |
svoboda |
/branches/tracing/ |
Fix condition for generating debug events. Properly initialize threads created during debugging session |
|
2851 |
5969 d 17 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 |
|
2849 |
5969 d 18 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 |
|
2848 |
5970 d 4 h |
svoboda |
/branches/tracing/kernel/generic/ |
Use debug_lock in thread struct for finer locking, to avoid problems with waitq_wakeup |
|
2842 |
5970 d 21 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Fix and document verify_thread() |
|
2841 |
5970 d 21 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Add verify_thread() to check that a thread is valid for debug ops |
|
2840 |
5970 d 21 h |
svoboda |
/branches/tracing/kernel/generic/src/ipc/ |
Fix: Clear kb_thread_at_hand when terminating kbox thread |
|
2839 |
5970 d 21 h |
svoboda |
/branches/tracing/kernel/generic/ |
Add thread_attach_by_id() and use it to do ipc_connect_kbox() with proper locking |
|
2838 |
5971 d 0 h |
svoboda |
/branches/tracing/ |
Respond to pending GO messages with UDEBUG_EVENT_FINISHED on terminating the debugging session. Set retval for DEBUG_END answer. |
|
2837 |
5971 d 4 h |
svoboda |
/branches/tracing/ |
Handle hangup message sent to kbox. Exit kbox thread when the last phone has been disconnected. |
|
2836 |
5971 d 5 h |
svoboda |
/branches/tracing/kernel/generic/src/ipc/ |
Fix: only create kbox thread if it doesn't exist yet |
|
2835 |
5971 d 5 h |
svoboda |
/branches/tracing/ |
Improve UDEBUG_M_END handling, switch sctrace to async API |
|
2834 |
5971 d 17 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Handle UDEBUG_M_END call, fix check in udebug_syscall_event() |
|
2833 |
5971 d 17 h |
svoboda |
/branches/tracing/ |
Remove buffer size argument from ARGS_READ call. |
|