Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3036 |
5966 d 12 h |
svoboda |
/branches/tracing/kernel/generic/ |
Make sure area written by debugger is private and anonymous by copying it, if necessary. (Not atomic atm) |
|
/branches/tracing/kernel/generic/include/mm/as.h /branches/tracing/kernel/generic/src/mm/as.c
|
3035 |
5967 d 17 h |
svoboda |
/branches/tracing/kernel/generic/ |
Use thread_join() to wait for kbox thread termination, instead of specific wait queue. |
|
/branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/src/ipc/ipc.c /branches/tracing/kernel/generic/src/proc/task.c
|
3034 |
5967 d 19 h |
svoboda |
/branches/tracing/kernel/generic/ |
Convert kb_cleanup_lock to a mutex |
|
/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
|
3033 |
5968 d 8 h |
svoboda |
/branches/tracing/kernel/generic/src/ipc/ |
Fix tasks_lock being released too soon in ipc_connect_kbox() |
|
/branches/tracing/kernel/generic/src/ipc/ipc.c
|
3032 |
5968 d 9 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Move ipc_answer()s into THREAD->udebug.lock mutexes, slightly simplifying udebug_stoppable_begin() |
|
/branches/tracing/kernel/generic/src/udebug/udebug.c
|
3031 |
5968 d 9 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Describe mutual exclusion with code executed in interrupt handler (No deadlocks can actually occur anymore) |
|
/branches/tracing/kernel/generic/src/udebug/udebug.c
|
3030 |
5968 d 10 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Add a preliminary check, so that performance of undebugged multithreaded tasks doesn't suffer on SMP |
|
/branches/tracing/kernel/generic/src/udebug/udebug.c
|
3026 |
5968 d 15 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) |
|
/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_ops.c
|
3018 |
5970 d 12 h |
svoboda |
/branches/tracing/ |
Isolate udebug-related thread_t fields into udebug_thread_t |
|
/branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/interrupt/interrupt.c /branches/tracing/kernel/generic/src/proc/thread.c /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/debug/main.c /branches/tracing/uspace/app/tester/Makefile
|
3016 |
5970 d 17 h |
svoboda |
/branches/tracing/kernel/generic/ |
Synchronize debug ops on a task with a mutex instead of task->lock spinlock. |
|
/branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
|
3015 |
5970 d 18 h |
svoboda |
/branches/tracing/kernel/generic/ |
Call udebug_stoppable_begin() after scheduling, rather than before - avoid restricted contex. |
|
/branches/tracing/kernel/generic/include/proc/thread.h /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/time/clock.c /branches/tracing/kernel/generic/src/udebug/udebug.c
|
3014 |
5970 d 20 h |
svoboda |
/branches/tracing/kernel/generic/ |
Isolate udebug-related task_t fields into udebug_task_t. |
|
/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/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
|
3013 |
5970 d 20 h |
svoboda |
/branches/tracing/kernel/generic/ |
Bypass area write-protection for udebug memory writes. |
|
/branches/tracing/kernel/generic/include/mm/as.h /branches/tracing/kernel/generic/src/mm/as.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
|
3012 |
5971 d 14 h |
svoboda |
/branches/tracing/uspace/app/debug/arch/mips32/ |
Basic mips32 singlestepping |
|
/branches/tracing/uspace/app/debug/arch/mips32/include/types.h /branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c
|
3011 |
5972 d 8 h |
svoboda |
/branches/tracing/ |
Merged latest trunk changes to tracing |
|
/branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/kernel/generic/src/lib/elf.c /branches/tracing/kernel/generic/src/mm/backend_elf.c /branches/tracing/uspace/app/tester/vfs/vfs1.c /branches/tracing/uspace/lib/libc/arch/amd64/_link.ld.in /branches/tracing/uspace/lib/libc/arch/arm32/_link.ld.in /branches/tracing/uspace/lib/libc/arch/ia32/_link.ld.in /branches/tracing/uspace/lib/libc/arch/ia64/_link.ld.in /branches/tracing/uspace/lib/libc/arch/mips32/_link.ld.in /branches/tracing/uspace/lib/libc/arch/ppc32/_link.ld.in /branches/tracing/uspace/lib/libc/arch/ppc64/_link.ld.in /branches/tracing/uspace/lib/libc/arch/sparc64/_link.ld.in /branches/tracing/uspace/lib/libfs/libfs.c /branches/tracing/uspace/srv/fs/fat/fat.h /branches/tracing/uspace/srv/fs/fat/fat_idx.c /branches/tracing/uspace/srv/fs/fat/fat_ops.c /branches/tracing/uspace/srv/fs/tmpfs/tmpfs.c /branches/tracing/uspace/srv/fs/tmpfs/tmpfs.h /branches/tracing/uspace/srv/fs/tmpfs/tmpfs_ops.c /branches/tracing/uspace/srv/vfs/vfs_ops.c
|
3008 |
5972 d 10 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Remove obsolete source file |
|
/branches/tracing/uspace/app/debug/fib_synch.c /branches/tracing/uspace/app/debug/fib_synch.h
/branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/debug/main.h
|
3006 |
5972 d 10 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Add missing files breakpoin.c, breakpoint.h |
|
/branches/tracing/uspace/app/debug/breakpoint.c /branches/tracing/uspace/app/debug/breakpoint.h
|
3005 |
5972 d 10 h |
svoboda |
/branches/tracing/ |
Generic breakpoint accounting in debugger |
|
/branches/tracing/boot/arch/mips32/loader/Makefile /branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/arch/mips32/include/types.h /branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/include/arch.h /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/debug/main.h
|
2947 |
5981 d 21 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Add command for listing breakpoints. Fix command name comparison. |
|
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/main.c
|
2946 |
5982 d 7 h |
svoboda |
/branches/tracing/uspace/ |
Get rid of warnings |
|
/branches/tracing/uspace/app/debug/cons.c /branches/tracing/uspace/app/debug/dthread.c /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/sctrace/Makefile /branches/tracing/uspace/app/sctrace/ipcp.c /branches/tracing/uspace/app/sctrace/proto.c /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/lib/libc/generic/udebug.c /branches/tracing/uspace/lib/libc/include/udebug.h
|
2943 |
5982 d 9 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Breakpoint removal. Don't clear TF when a breakpoint is active |
|
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/include/arch.h
|
2942 |
5982 d 9 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Singlestepping in debugger (ia32) |
|
/branches/tracing/uspace/app/debug/arch/ia32/include/types.h /branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/arch/mips32/include/types.h /branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/dthread.h /branches/tracing/uspace/app/debug/include/arch.h /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/debug/main.h
|
2941 |
5982 d 10 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Dumping registers in debugger. (Only those saved in istate, atm) |
|
/branches/tracing/uspace/app/debug/arch/ia32/include/types.h /branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/arch/mips32/include/types.h /branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/dthread.c /branches/tracing/uspace/app/debug/include/arch.h
|
2940 |
5982 d 11 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Display current PC value in debugger |
|
/branches/tracing/uspace/app/debug/arch/ia32/include/types.h /branches/tracing/uspace/app/debug/dthread.c /branches/tracing/uspace/app/debug/dthread.h /branches/tracing/uspace/app/debug/include/arch.h /branches/tracing/uspace/app/debug/main.c
|
2939 |
5982 d 13 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Finish transition of debugger to new bokkeeping. Allow pausing application |
|
/branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/dthread.c /branches/tracing/uspace/app/debug/dthread.h /branches/tracing/uspace/app/debug/main.c
|
2938 |
5982 d 13 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Proper thread bookkeeping in debugger |
|
/branches/tracing/uspace/app/debug/dthread.c /branches/tracing/uspace/app/debug/dthread.h
/branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/debug/main.h
|
2937 |
5982 d 14 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Listing threads in debugger, printing and changing 'working thread' |
|
/branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/debug/main.h
|
2936 |
5982 d 14 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Allow debugger to asynchronously print messages without disrupting its command line |
|
/branches/tracing/uspace/app/debug/cons.c /branches/tracing/uspace/app/debug/cons.h
/branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/main.c
|
2935 |
5982 d 15 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Use simple passive fibril synchronization in debugger. 'go' command for resuming thread execution |
|
/branches/tracing/uspace/app/debug/fib_synch.c /branches/tracing/uspace/app/debug/fib_synch.h
/branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/debug/main.h
|
2930 |
5983 d 18 h |
svoboda |
/branches/tracing/uspace/app/ |
Revert c2928 so that iloader is only in dynload branch |
|
/branches/tracing/uspace/app/iloader
|
2928 |
5983 d 19 h |
svoboda |
/branches/tracing/uspace/app/iloader/ |
Add Initial Loader (iloader), a program that can load a statically-linked ELF image from VFS into its address space and run it. |
|
/branches/tracing/uspace/app/iloader /branches/tracing/uspace/app/iloader/Makefile /branches/tracing/uspace/app/iloader/arch /branches/tracing/uspace/app/iloader/arch/ia32 /branches/tracing/uspace/app/iloader/arch/ia32/_link.ld.in /branches/tracing/uspace/app/iloader/elf.c /branches/tracing/uspace/app/iloader/elf.h /branches/tracing/uspace/app/iloader/main.c
|
2925 |
5983 d 20 h |
svoboda |
/branches/tracing/ |
Merged latest trunk changes to tracing branch |
|
/branches/tracing/uspace/lib/libc/arch/amd64/include/byteorder.h /branches/tracing/uspace/lib/libc/arch/arm32/include/byteorder.h /branches/tracing/uspace/lib/libc/arch/ia32/include/byteorder.h /branches/tracing/uspace/lib/libc/arch/ia64/include/byteorder.h /branches/tracing/uspace/lib/libc/arch/mips32/include/byteorder.h /branches/tracing/uspace/lib/libc/arch/mips32eb/include/byteorder.h /branches/tracing/uspace/lib/libc/arch/ppc32/include/byteorder.h /branches/tracing/uspace/lib/libc/arch/ppc64/include/byteorder.h /branches/tracing/uspace/lib/libc/arch/sparc64/include/byteorder.h /branches/tracing/uspace/lib/libc/include/byteorder.h /branches/tracing/uspace/srv/fs/fat/fat_idx.c
/branches/tracing/tools/build /branches/tracing/uspace/lib/libc/arch/amd64/include/endian.h /branches/tracing/uspace/lib/libc/arch/arm32/include/endian.h /branches/tracing/uspace/lib/libc/arch/ia32/include/endian.h /branches/tracing/uspace/lib/libc/arch/ia64/include/endian.h /branches/tracing/uspace/lib/libc/arch/mips32/include/endian.h /branches/tracing/uspace/lib/libc/arch/mips32eb/include/endian.h /branches/tracing/uspace/lib/libc/arch/ppc32/include/endian.h /branches/tracing/uspace/lib/libc/arch/ppc64/include/context_offset.h /branches/tracing/uspace/lib/libc/arch/ppc64/include/endian.h /branches/tracing/uspace/lib/libc/arch/sparc64/include/context_offset.h /branches/tracing/uspace/lib/libc/arch/sparc64/include/endian.h /branches/tracing/uspace/lib/libc/include/endian.h
/branches/tracing/HelenOS.config /branches/tracing/boot/boot.config /branches/tracing/kernel/arch/amd64/include/byteorder.h /branches/tracing/kernel/arch/arm32/include/byteorder.h /branches/tracing/kernel/arch/ia32/include/byteorder.h /branches/tracing/kernel/arch/ia64/include/byteorder.h /branches/tracing/kernel/arch/mips32/include/byteorder.h /branches/tracing/kernel/arch/mips32/src/drivers/arc.c /branches/tracing/kernel/arch/ppc32/include/byteorder.h /branches/tracing/kernel/arch/ppc32/include/context_offset.h /branches/tracing/kernel/arch/ppc64/include/byteorder.h /branches/tracing/kernel/arch/ppc64/include/context_offset.h /branches/tracing/kernel/arch/ppc64/src/context.S /branches/tracing/kernel/arch/sparc64/include/byteorder.h /branches/tracing/kernel/arch/sparc64/include/context_offset.h /branches/tracing/kernel/arch/sparc64/src/context.S /branches/tracing/kernel/generic/include/byteorder.h /branches/tracing/kernel/generic/src/debug/symtab.c /branches/tracing/kernel/generic/src/lib/rd.c /branches/tracing/kernel/generic/src/proc/thread.c /branches/tracing/kernel/generic/src/synch/waitq.c /branches/tracing/kernel/generic/src/time/timeout.c /branches/tracing/kernel/kernel.config /branches/tracing/tools/config.py /branches/tracing/tools/cygwin_symlink_patch.sh /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/vfs/vfs1.c /branches/tracing/uspace/lib/libc/arch/ppc64/src/fibril.S /branches/tracing/uspace/lib/libc/arch/sparc64/src/fibril.S /branches/tracing/uspace/lib/libc/generic/ipc.c /branches/tracing/uspace/lib/libc/include/libadt/list.h /branches/tracing/uspace/lib/libfs/libfs.c /branches/tracing/uspace/lib/libfs/libfs.h /branches/tracing/uspace/lib/softfloat/include/sftypes.h /branches/tracing/uspace/srv/fs/fat/Makefile /branches/tracing/uspace/srv/fs/fat/fat.h /branches/tracing/uspace/srv/fs/fat/fat_ops.c /branches/tracing/uspace/srv/fs/tmpfs/tmpfs_ops.c /branches/tracing/uspace/srv/vfs/vfs.h /branches/tracing/uspace/srv/vfs/vfs_ops.c /branches/tracing/uspace/uspace.config
|
2924 |
5984 d 10 h |
svoboda |
/branches/tracing/ |
Preliminary mips32 breakpoint support for udebug/debugger. (You must write-enable code segments for it to work, yet) |
|
/branches/tracing/uspace/app/debug/arch/mips32 /branches/tracing/uspace/app/debug/arch/mips32/Makefile.inc /branches/tracing/uspace/app/debug/arch/mips32/include /branches/tracing/uspace/app/debug/arch/mips32/include/types.h /branches/tracing/uspace/app/debug/arch/mips32/src /branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c
/branches/tracing/uspace/app/debug/include/arch
/branches/tracing/kernel/arch/mips32/src/exception.c /branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/main.c
|
2923 |
5985 d 17 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Isolate ia32-dependent code from debugger into arch/ia32 subdirectory |
|
/branches/tracing/uspace/app/debug/arch /branches/tracing/uspace/app/debug/arch/ia32 /branches/tracing/uspace/app/debug/arch/ia32/Makefile.inc /branches/tracing/uspace/app/debug/arch/ia32/include /branches/tracing/uspace/app/debug/arch/ia32/include/types.h /branches/tracing/uspace/app/debug/arch/ia32/src /branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c /branches/tracing/uspace/app/debug/include /branches/tracing/uspace/app/debug/include/arch /branches/tracing/uspace/app/debug/include/arch.h
/branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/debug/main.h
|
2922 |
5985 d 20 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Crude test in 'debug' allowing multiple breakpoints to be set |
|
/branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/main.c /branches/tracing/uspace/app/debug/main.h
|
2921 |
5985 d 20 h |
svoboda |
/branches/tracing/kernel/ |
Add TRAP debug event. Support on ia32/amd64. |
|
/branches/tracing/kernel/arch/amd64/src/debugger.c /branches/tracing/kernel/arch/ia32/include/cpu.h /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/udebug/udebug.c
|
2920 |
5985 d 21 h |
svoboda |
/branches/tracing/uspace/lib/libc/ |
Add wrappers for reading and writing registers to libc |
|
/branches/tracing/uspace/lib/libc/generic/udebug.c /branches/tracing/uspace/lib/libc/include/udebug.h
|
2919 |
5985 d 21 h |
svoboda |
/branches/tracing/kernel/generic/ |
Simlify and fix REGS_READ and REGS_WRITE operations |
|
/branches/tracing/kernel/generic/include/udebug/udebug.h /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
|
2918 |
5986 d 7 h |
svoboda |
/branches/tracing/ |
Add support for INT3 breakpoints on IA32 to kernel. UDEBUG_EVENT_BREAKPOINT |
|
/branches/tracing/kernel/arch/ia32/include/breakpoint.h /branches/tracing/kernel/arch/ia32/src/breakpoint.c
/branches/tracing/kernel/arch/ia32/Makefile.inc /branches/tracing/kernel/arch/ia32/include/interrupt.h /branches/tracing/kernel/arch/ia32/src/ia32.c /branches/tracing/kernel/arch/ia32/src/pm.c /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/src/udebug/udebug.c /branches/tracing/uspace/app/debug/main.c
|
2917 |
5986 d 7 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Fix: Must drop missed wakeups when waiting for go |
|
/branches/tracing/kernel/generic/src/udebug/udebug.c
|