Rev |
Age |
Author |
Path |
Log message |
Diff |
2849 |
6018 d 15 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 |
6019 d 1 h |
svoboda |
/branches/tracing/kernel/generic/ |
Use debug_lock in thread struct for finer locking, to avoid problems with waitq_wakeup |
|
2842 |
6019 d 18 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Fix and document verify_thread() |
|
2841 |
6019 d 18 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Add verify_thread() to check that a thread is valid for debug ops |
|
2840 |
6019 d 18 h |
svoboda |
/branches/tracing/kernel/generic/src/ipc/ |
Fix: Clear kb_thread_at_hand when terminating kbox thread |
|
2839 |
6019 d 19 h |
svoboda |
/branches/tracing/kernel/generic/ |
Add thread_attach_by_id() and use it to do ipc_connect_kbox() with proper locking |
|
2838 |
6019 d 21 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 |
6020 d 1 h |
svoboda |
/branches/tracing/ |
Handle hangup message sent to kbox. Exit kbox thread when the last phone has been disconnected. |
|
2836 |
6020 d 2 h |
svoboda |
/branches/tracing/kernel/generic/src/ipc/ |
Fix: only create kbox thread if it doesn't exist yet |
|
2835 |
6020 d 3 h |
svoboda |
/branches/tracing/ |
Improve UDEBUG_M_END handling, switch sctrace to async API |
|
2834 |
6020 d 14 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Handle UDEBUG_M_END call, fix check in udebug_syscall_event() |
|
2833 |
6020 d 15 h |
svoboda |
/branches/tracing/ |
Remove buffer size argument from ARGS_READ call. |
|
2832 |
6020 d 17 h |
svoboda |
/branches/tracing/ |
Add separate syscall tracing program (sctrace), displaying correct number of arguments and return value decoding |
|
2827 |
6024 d 1 h |
svoboda |
/branches/tracing/kernel/generic/ |
Verify that a thread/task is in appropriate state when handling debug calls |
|
2826 |
6024 d 3 h |
svoboda |
/branches/tracing/kernel/generic/ |
Move debug_go_call from task struct to thread struct |
|
2825 |
6024 d 3 h |
svoboda |
/branches/tracing/kernel/generic/ |
Introduce task debug-states (udebug_task_state_t) |
|
2824 |
6024 d 4 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Use intermediate buffers for handling REGS_READ, REGS_WRITE and THREADS_READ |
|
2823 |
6024 d 4 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Improve locking in udebug.c and udebug_ipc.c |
|
2819 |
6024 d 17 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Fix: crashed caused by missing return in switch statement |
|
2818 |
6024 d 17 h |
svoboda |
/branches/tracing/kernel/generic/ |
Add MEM_WRITE debug method for writing a task's memory |
|
2817 |
6024 d 18 h |
svoboda |
/branches/tracing/kernel/generic/ |
Add REGS_READ and REGS_WRITE debug methods to access userspace register state (no effect yet) |
|
2816 |
6024 d 20 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Use thread-struct pointer for identification within debug connection |
|
2815 |
6024 d 21 h |
svoboda |
/branches/tracing/kernel/generic/ |
Move kernelbox debug message handling to udebug/udebug_ipc.c |
|
2813 |
6025 d 0 h |
svoboda |
/branches/tracing/ |
Move debug call preprocessing from ipc/sysipc.c to udebug/udebug_ipc.c |
|
2812 |
6025 d 1 h |
svoboda |
/branches/tracing/ |
Group debug IPC calls under a single method number, differentiate by ARG1 |
|
2811 |
6025 d 1 h |
svoboda |
/branches/tracing/uspace/lib/libc/include/ipc/ |
Fix missing arguments to ipc_call_sync_slow() in ipc_call_sync_4_x macros |
|
2810 |
6025 d 2 h |
svoboda |
/branches/tracing/kernel/generic/src/ipc/ |
fix bug in debug_args_read() that caused it to only copy 6 bytes |
|
2809 |
6025 d 2 h |
svoboda |
/branches/tracing/ |
add call to read the debugged task's memory |
|
2808 |
6025 d 17 h |
svoboda |
/branches/tracing/ |
add kernel answerbox+thread to mediate access to task's memory |
|
2807 |
6026 d 4 h |
svoboda |
/branches/tracing/ |
initial support for debugging multithreaded tasks |
|
2806 |
6026 d 21 h |
svoboda |
/branches/tracing/uspace/app/tester/debug/ |
display syscall names in trace |
|
2805 |
6026 d 21 h |
svoboda |
/branches/tracing/ |
add ipc call to retrieve syscall arguments |
|
2804 |
6026 d 22 h |
svoboda |
/branches/tracing/kernel/generic/ |
allow for attaching to tasks with sleeping threads |
|
2803 |
6027 d 0 h |
svoboda |
/branches/tracing/kernel/generic/src/proc/ |
fix: initialize debug fields in task structure |
|
2801 |
6027 d 3 h |
svoboda |
/branches/tracing/ |
[tracing] initial debug interface support |
|
2800 |
6027 d 3 h |
svoboda |
/branches/tracing/kernel/generic/ |
[tracing] fix initialiation of answerbox->task in ipc_answerbox_init |
|
2799 |
6027 d 4 h |
svoboda |
/branches/tracing/ |
Revert all changes in tracing branch (sync to r2785 of trunk) |
|
2787 |
6035 d 20 h |
decky |
/branches/tracing/ |
add dynamic linking, debugging and tracing branch |
|
2785 |
6036 d 14 h |
jermar |
/trunk/uspace/app/tester/ |
Finish run_safe_tests() in app/tester (contributed by Tim Post). |
|
2784 |
6043 d 15 h |
jermar |
/trunk/kernel/arch/ |
Fortify ia32 and amd64 kernels against mallicious uspace applications that set
DF prior to entering the kernel. For AMD64 syscalls, we don't use the CLD
instruction, but make use of the SFMASK MSR instead. Simics works fine with
it, but QEMU seems to have a problem. |
|