Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
3036 5873 d 4 h svoboda /branches/tracing/kernel/generic/ Make sure area written by debugger is private and anonymous by copying it, if necessary. (Not atomic atm)  
3035 5874 d 8 h svoboda /branches/tracing/kernel/generic/ Use thread_join() to wait for kbox thread termination, instead of specific wait queue.  
3034 5874 d 10 h svoboda /branches/tracing/kernel/generic/ Convert kb_cleanup_lock to a mutex  
3026 5875 d 6 h svoboda /branches/tracing/kernel/generic/ Convert THREAD->udebug.lock to mutex. Protect against udebug_before_thread_runs() called from interrupt handler. Pending locking scheme change (multithreaded tasks may hang)  
3018 5877 d 3 h svoboda /branches/tracing/ Isolate udebug-related thread_t fields into udebug_thread_t  
3016 5877 d 8 h svoboda /branches/tracing/kernel/generic/ Synchronize debug ops on a task with a mutex instead of task->lock spinlock.  
3015 5877 d 9 h svoboda /branches/tracing/kernel/generic/ Call udebug_stoppable_begin() after scheduling, rather than before - avoid restricted contex.  
3014 5877 d 11 h svoboda /branches/tracing/kernel/generic/ Isolate udebug-related task_t fields into udebug_task_t.  
3013 5877 d 12 h svoboda /branches/tracing/kernel/generic/ Bypass area write-protection for udebug memory writes.  
2925 5890 d 11 h svoboda /branches/tracing/ Merged latest trunk changes to tracing branch  
2921 5892 d 12 h svoboda /branches/tracing/kernel/ Add TRAP debug event. Support on ia32/amd64.  
2919 5892 d 12 h svoboda /branches/tracing/kernel/generic/ Simlify and fix REGS_READ and REGS_WRITE operations  
2918 5892 d 22 h svoboda /branches/tracing/ Add support for INT3 breakpoints on IA32 to kernel. UDEBUG_EVENT_BREAKPOINT  
2903 5893 d 10 h svoboda /branches/tracing/ Rename event NEW_THREAD to THREAD_B. Add THREAD_E event - thread exit  
2902 5893 d 11 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 5893 d 23 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  
2899 5894 d 0 h svoboda /branches/tracing/ Add support for SET_EVMASK debug operation  
2898 5894 d 1 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 5894 d 4 h svoboda /branches/tracing/kernel/generic/ Fix bad allocation with locks held in udebug_thread_read()  
2894 5894 d 5 h svoboda /branches/tracing/ Add missing copyright messages  
2887 5900 d 8 h svoboda /branches/tracing/kernel/ Split executive parts of udebug_ipc.c to udebug_ops.c  
2885 5900 d 11 h svoboda /branches/tracing/ Start moving debug method processing to kbox_thread. Start with BEGIN, END, THREAD_READ  
2870 5902 d 23 h svoboda /branches/tracing/kernel/generic/ Terminate debugging session on debugger disconnect  
2867 5903 d 4 h svoboda /branches/tracing/ Signal hash of new thread with a UDEBUG_EVENT_NEW_THREAD message  
2866 5903 d 10 h svoboda /branches/tracing/kernel/generic/ Verify that thread is waiting in syscall event when reading syscall args  
2848 5922 d 9 h svoboda /branches/tracing/kernel/generic/ Use debug_lock in thread struct for finer locking, to avoid problems with waitq_wakeup  
2839 5923 d 2 h svoboda /branches/tracing/kernel/generic/ Add thread_attach_by_id() and use it to do ipc_connect_kbox() with proper locking  
2838 5923 d 5 h svoboda /branches/tracing/ Respond to pending GO messages with UDEBUG_EVENT_FINISHED on terminating the debugging session. Set retval for DEBUG_END answer.  
2833 5923 d 22 h svoboda /branches/tracing/ Remove buffer size argument from ARGS_READ call.  
2827 5927 d 9 h svoboda /branches/tracing/kernel/generic/ Verify that a thread/task is in appropriate state when handling debug calls  
2826 5927 d 10 h svoboda /branches/tracing/kernel/generic/ Move debug_go_call from task struct to thread struct  
2825 5927 d 11 h svoboda /branches/tracing/kernel/generic/ Introduce task debug-states (udebug_task_state_t)  
2818 5928 d 1 h svoboda /branches/tracing/kernel/generic/ Add MEM_WRITE debug method for writing a task's memory  
2817 5928 d 2 h svoboda /branches/tracing/kernel/generic/ Add REGS_READ and REGS_WRITE debug methods to access userspace register state (no effect yet)  
2815 5928 d 4 h svoboda /branches/tracing/kernel/generic/ Move kernelbox debug message handling to udebug/udebug_ipc.c  
2813 5928 d 8 h svoboda /branches/tracing/ Move debug call preprocessing from ipc/sysipc.c to udebug/udebug_ipc.c  
2812 5928 d 8 h svoboda /branches/tracing/ Group debug IPC calls under a single method number, differentiate by ARG1  
2809 5928 d 10 h svoboda /branches/tracing/ add call to read the debugged task's memory  
2808 5929 d 0 h svoboda /branches/tracing/ add kernel answerbox+thread to mediate access to task's memory  
2807 5929 d 11 h svoboda /branches/tracing/ initial support for debugging multithreaded tasks