Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2898 |
5996 d 21 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
|
2895 |
5997 d 0 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 |
5997 d 1 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
|
2885 |
6003 d 7 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 |
6003 d 23 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 |
6004 d 0 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 |
6004 d 0 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 |
6004 d 1 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 |
6004 d 2 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 |
6004 d 4 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Fix sctrace Makefile |
|
/branches/tracing/uspace/app/sctrace/Makefile
|
2874 |
6004 d 4 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 |
6004 d 6 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 |
6004 d 19 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 |
6005 d 1 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
|
2868 |
6006 d 0 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Start tracing new threads in sctrace |
|
/branches/tracing/uspace/app/sctrace/sctrace.c
|
2867 |
6006 d 0 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
|
2862 |
6018 d 17 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 |
6024 d 7 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 |
6024 d 8 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
|
2850 |
6024 d 18 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
|
2838 |
6026 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. |
|
/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 |
6026 d 4 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
|
2835 |
6026 d 6 h |
svoboda |
/branches/tracing/ |
Improve UDEBUG_M_END handling, switch sctrace to async API |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/uspace/app/sctrace/debug_api.c /branches/tracing/uspace/app/sctrace/debug_api.h /branches/tracing/uspace/app/sctrace/sctrace.c
|
2833 |
6026 d 18 h |
svoboda |
/branches/tracing/ |
Remove buffer size argument from ARGS_READ call. |
|
/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
|
2832 |
6026 d 20 h |
svoboda |
/branches/tracing/ |
Add separate syscall tracing program (sctrace), displaying correct number of arguments and return value decoding |
|
/branches/tracing/uspace/app/sctrace /branches/tracing/uspace/app/sctrace/Makefile /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/sctrace.c /branches/tracing/uspace/app/sctrace/syscalls.c /branches/tracing/uspace/app/sctrace/syscalls.h
/branches/tracing/boot/arch/amd64/Makefile.inc /branches/tracing/boot/arch/amd64/grub/menu.lst /branches/tracing/boot/arch/arm32/loader/Makefile /branches/tracing/boot/arch/ia32/Makefile.inc /branches/tracing/boot/arch/ia32/grub/menu.lst /branches/tracing/boot/arch/ia32xen/Makefile.inc /branches/tracing/boot/arch/ia32xen/grub/menu.debug.lst /branches/tracing/boot/arch/ia32xen/grub/menu.lst /branches/tracing/boot/arch/ia64/loader/Makefile /branches/tracing/boot/arch/mips32/loader/Makefile /branches/tracing/boot/arch/ppc32/loader/Makefile /branches/tracing/boot/arch/ppc64/loader/Makefile /branches/tracing/boot/arch/sparc64/loader/Makefile /branches/tracing/uspace/Makefile
|
2813 |
6031 d 3 h |
svoboda |
/branches/tracing/ |
Move debug call preprocessing from ipc/sysipc.c to udebug/udebug_ipc.c |
|
/branches/tracing/kernel/generic/include/udebug /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/include/udebug/udebug_ipc.h /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
/branches/tracing/kernel/generic/include/udebug.h
/branches/tracing/kernel/Makefile /branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/kernel/generic/src/syscall/syscall.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/uspace/lib/libc/include/udebug.h
|
2812 |
6031 d 4 h |
svoboda |
/branches/tracing/ |
Group debug IPC calls under a single method number, differentiate by ARG1 |
|
/branches/tracing/uspace/lib/libc/include/udebug.h
/branches/tracing/kernel/generic/include/ipc/ipc.h /branches/tracing/kernel/generic/include/udebug.h /branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2811 |
6031 d 4 h |
svoboda |
/branches/tracing/uspace/lib/libc/include/ipc/ |
Fix missing arguments to ipc_call_sync_slow() in ipc_call_sync_4_x macros |
|
/branches/tracing/uspace/lib/libc/include/ipc/ipc.h
|
2809 |
6031 d 6 h |
svoboda |
/branches/tracing/ |
add call to read the debugged task's memory |
|
/branches/tracing/kernel/generic/include/ipc/ipc.h /branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2808 |
6031 d 20 h |
svoboda |
/branches/tracing/ |
add kernel answerbox+thread to mediate access to task's memory |
|
/branches/tracing/kernel/generic/include/ipc/ipc.h /branches/tracing/kernel/generic/include/ipc/sysipc.h /branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/syscall/syscall.h /branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/kernel/generic/src/proc/task.c /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/syscall/syscall.c /branches/tracing/uspace/app/tester/debug/debug1.c /branches/tracing/uspace/lib/libc/generic/ipc.c /branches/tracing/uspace/lib/libc/include/ipc/ipc.h
|
2807 |
6032 d 7 h |
svoboda |
/branches/tracing/ |
initial support for debugging multithreaded tasks |
|
/branches/tracing/kernel/generic/include/ipc/ipc.h /branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2806 |
6033 d 0 h |
svoboda |
/branches/tracing/uspace/app/tester/debug/ |
display syscall names in trace |
|
/branches/tracing/uspace/app/tester/debug/debug1.c
|
2805 |
6033 d 0 h |
svoboda |
/branches/tracing/ |
add ipc call to retrieve syscall arguments |
|
/branches/tracing/kernel/generic/include/ipc/ipc.h /branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/udebug.h /branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/kernel/generic/src/syscall/syscall.c /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/uspace/app/tester/debug/debug1.c
|
2801 |
6033 d 6 h |
svoboda |
/branches/tracing/ |
[tracing] initial debug interface support |
|
/branches/tracing/kernel/generic/include/udebug.h /branches/tracing/kernel/generic/src/udebug /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/uspace/app/tester/debug /branches/tracing/uspace/app/tester/debug/debug1.c /branches/tracing/uspace/app/tester/debug/debug1.def
/branches/tracing/kernel/Makefile /branches/tracing/kernel/generic/include/ipc/ipc.h /branches/tracing/kernel/generic/include/ipc/sysipc.h /branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/syscall/syscall.h /branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/syscall/syscall.c /branches/tracing/uspace/app/tester/Makefile /branches/tracing/uspace/app/tester/tester.c /branches/tracing/uspace/app/tester/tester.h /branches/tracing/uspace/lib/libc/generic/ipc.c /branches/tracing/uspace/lib/libc/include/ipc/ipc.h
|
2799 |
6033 d 7 h |
svoboda |
/branches/tracing/ |
Revert all changes in tracing branch (sync to r2785 of trunk) |
|
/branches/tracing/kernel/arch/ia32/include/tdebug.h /branches/tracing/kernel/arch/ia32/src/tdebug.c /branches/tracing/kernel/generic/include/tdebug /branches/tracing/kernel/generic/src/tdebug /branches/tracing/uspace/app/tester/tdebug /branches/tracing/uspace/lib/libc/generic/tdebug.c /branches/tracing/uspace/lib/libc/include/tdebug.h
/branches/tracing/kernel/Makefile /branches/tracing/kernel/arch/ia32/Makefile.inc /branches/tracing/kernel/doc/doxygroups.h /branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/syscall/syscall.h /branches/tracing/kernel/generic/src/interrupt/interrupt.c /branches/tracing/kernel/generic/src/proc/task.c /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/syscall/syscall.c /branches/tracing/uspace/app/tester/Makefile /branches/tracing/uspace/app/tester/ipc/connect.c /branches/tracing/uspace/app/tester/ipc/send_async.c /branches/tracing/uspace/app/tester/ipc/send_sync.c /branches/tracing/uspace/app/tester/tester.c /branches/tracing/uspace/app/tester/tester.h /branches/tracing/uspace/app/tetris/tetris.c /branches/tracing/uspace/lib/libc/Makefile
|
2787 |
6042 d 0 h |
decky |
/branches/tracing/ |
add dynamic linking, debugging and tracing branch |
|
/branches/tracing /branches/tracing/kernel/arch/ia32/include/tdebug.h /branches/tracing/kernel/arch/ia32/src/tdebug.c /branches/tracing/kernel/generic/include/tdebug /branches/tracing/kernel/generic/include/tdebug/systdebug.h /branches/tracing/kernel/generic/include/tdebug/tdebug.h /branches/tracing/kernel/generic/include/tdebug/tdebug_type.h /branches/tracing/kernel/generic/src/tdebug /branches/tracing/kernel/generic/src/tdebug/systdebug.c /branches/tracing/kernel/generic/src/tdebug/tdebug.c /branches/tracing/uspace/app/tester/tdebug /branches/tracing/uspace/app/tester/tdebug/tdebug1.c /branches/tracing/uspace/app/tester/tdebug/tdebug1.def /branches/tracing/uspace/lib/libc/generic/tdebug.c /branches/tracing/uspace/lib/libc/include/tdebug.h
/branches/tracing/kernel/Makefile /branches/tracing/kernel/arch/ia32/Makefile.inc /branches/tracing/kernel/doc/doxygroups.h /branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/proc/tasklet.h /branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/syscall/syscall.h /branches/tracing/kernel/generic/src/interrupt/interrupt.c /branches/tracing/kernel/generic/src/proc/task.c /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/syscall/syscall.c /branches/tracing/uspace/app/tester/Makefile /branches/tracing/uspace/app/tester/tester.h /branches/tracing/uspace/app/tetris/tetris.c /branches/tracing/uspace/lib/libc/Makefile
|
2785 |
6042 d 17 h |
jermar |
/trunk/uspace/app/tester/ |
Finish run_safe_tests() in app/tester (contributed by Tim Post). |
|
/trunk/uspace/app/tester/ipc/connect.c /trunk/uspace/app/tester/ipc/hangup.c /trunk/uspace/app/tester/ipc/send_async.c /trunk/uspace/app/tester/ipc/send_sync.c /trunk/uspace/app/tester/tester.c /trunk/uspace/app/tester/tester.h
|
2781 |
6054 d 3 h |
cejka |
/trunk/ |
Unified context saving/restoring macros in ppc32. |
|
/trunk/uspace/lib/libc/arch/ppc32/include/context_offset.h
/trunk/kernel/arch/ppc32/include/context_offset.h /trunk/kernel/arch/ppc32/src/context.S /trunk/uspace/lib/libc/arch/ppc32/src/fibril.S
|
2780 |
6054 d 3 h |
cejka |
/trunk/ |
Fixed broken context_offset.h symlinks for mips32eb and ia32xen. |
|
/trunk/kernel/arch/ia32xen/include/context_offset.h
/trunk/uspace/lib/libc/arch/mips32eb/include/context_offset.h
|
2779 |
6054 d 4 h |
cejka |
/trunk/ |
Context saving/restoring macros used for mips32. |
|
/trunk/uspace/lib/libc/arch/mips32/include/context_offset.h
/trunk/kernel/arch/mips32/include/context_offset.h /trunk/kernel/arch/mips32/src/context.S /trunk/uspace/lib/libc/arch/mips32/src/fibril.S
|