Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
2939 |
5985 d 9 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 |
5985 d 9 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 |
5985 d 10 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 |
5985 d 10 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 |
5985 d 11 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 |
5986 d 14 h |
svoboda |
/branches/tracing/uspace/app/ |
Revert c2928 so that iloader is only in dynload branch |
|
/branches/tracing/uspace/app/iloader
|
2928 |
5986 d 15 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 |
5986 d 16 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 |
5987 d 6 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 |
5988 d 13 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 |
5988 d 16 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 |
5988 d 16 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 |
5988 d 17 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 |
5988 d 17 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 |
5989 d 3 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 |
5989 d 3 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
|
2915 |
5989 d 6 h |
svoboda |
/branches/tracing/uspace/app/debug/ |
Hexdumping memory and setting IA32 breakpoints in debugger |
|
/branches/tracing/uspace/app/debug/main.h
/branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/main.c
|
2913 |
5989 d 7 h |
svoboda |
/branches/tracing/kernel/generic/src/ |
Print less debugging messages to make things go faster |
|
/branches/tracing/kernel/generic/src/ipc/ipc.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
|
2912 |
5989 d 8 h |
svoboda |
/branches/tracing/uspace/lib/libc/ |
Add udebug_mem_write() libc wrapper |
|
/branches/tracing/uspace/lib/libc/generic/udebug.c /branches/tracing/uspace/lib/libc/include/udebug.h
|
2911 |
5989 d 8 h |
svoboda |
/branches/tracing/ |
Add 'debug' program - the foundation of a breakpoint debugger |
|
/branches/tracing/uspace/app/debug /branches/tracing/uspace/app/debug/Makefile /branches/tracing/uspace/app/debug/cmd.c /branches/tracing/uspace/app/debug/cmd.h /branches/tracing/uspace/app/debug/main.c
/branches/tracing/boot/arch/ia32/Makefile.inc /branches/tracing/boot/arch/ia32/grub/menu.lst /branches/tracing/uspace/Makefile
|
2908 |
5989 d 9 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Don't wait for another GO in THREAD_E event, terminate debugging of this thread instead |
|
/branches/tracing/kernel/generic/src/udebug/udebug.c
|
2906 |
5989 d 12 h |
svoboda |
/branches/tracing/uspace/app/sctrace/ |
Remove obsolete debug_api.x from sctrace |
|
/branches/tracing/uspace/app/sctrace/debug_api.c /branches/tracing/uspace/app/sctrace/debug_api.h
|
2905 |
5989 d 14 h |
svoboda |
/branches/tracing/uspace/lib/libc/ |
Use prettier types in libc udebug wrapper |
|
/branches/tracing/uspace/lib/libc/generic/udebug.c /branches/tracing/uspace/lib/libc/include/udebug.h
|
2904 |
5989 d 14 h |
svoboda |
/branches/tracing/uspace/ |
Move udebug API wrappers from sctrace to libc |
|
/branches/tracing/uspace/lib/libc/generic/udebug.c
/branches/tracing/uspace/app/sctrace/Makefile /branches/tracing/uspace/app/sctrace/sctrace.c /branches/tracing/uspace/lib/libc/Makefile /branches/tracing/uspace/lib/libc/include/udebug.h
|
2903 |
5989 d 15 h |
svoboda |
/branches/tracing/ |
Rename event NEW_THREAD to THREAD_B. Add THREAD_E event - thread exit |
|
/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
|
2902 |
5989 d 16 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 |
|
/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 /branches/tracing/kernel/generic/src/udebug/udebug.c
|
2901 |
5990 d 4 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 |
|
/branches/tracing/kernel/generic/include/udebug/udebug.h /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/sctrace/sctrace.c
|
2900 |
5990 d 4 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Remove superfluous malloc return value checks |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
|
2899 |
5990 d 5 h |
svoboda |
/branches/tracing/ |
Add support for SET_EVMASK debug operation |
|
/branches/tracing/kernel/generic/include/proc/task.h /branches/tracing/kernel/generic/include/udebug/udebug.h /branches/tracing/kernel/generic/include/udebug/udebug_ops.h /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 /branches/tracing/uspace/app/sctrace/debug_api.c /branches/tracing/uspace/app/sctrace/debug_api.h /branches/tracing/uspace/app/sctrace/sctrace.c
|
2898 |
5990 d 6 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
|
2897 |
5990 d 9 h |
svoboda |
/branches/tracing/kernel/generic/ |
Fix bad allocation with locks held in udebug_thread_read() |
|
/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
|
2896 |
5990 d 9 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Handle malloc return values properly |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
|
2895 |
5990 d 9 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 |
5990 d 10 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
|
2892 |
5991 d 16 h |
svoboda |
/branches/tracing/kernel/generic/src/ |
Fix retval for udebug_rp_mem_write() |
|
/branches/tracing/kernel/generic/src/ipc/sysipc.c /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2888 |
5996 d 13 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Verify that a task sending debug calls really is the callee's debugger |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2887 |
5996 d 13 h |
svoboda |
/branches/tracing/kernel/ |
Split executive parts of udebug_ipc.c to udebug_ops.c |
|
/branches/tracing/kernel/generic/include/udebug/udebug_ops.h /branches/tracing/kernel/generic/src/udebug/udebug_ops.c
/branches/tracing/kernel/Makefile /branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2886 |
5996 d 15 h |
svoboda |
/branches/tracing/kernel/generic/src/udebug/ |
Move rest of debug method processing, that can be moved, to kbox thread |
|
/branches/tracing/kernel/generic/src/udebug/udebug_ipc.c
|
2885 |
5996 d 16 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 |
5997 d 9 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
|