Date: Sat, 10 Jul 2004 23:47:20 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha db_disasm.c db_interface.c db_trace.c src/sys/alpha/include db_machdep.h src/sys/amd64/amd64 db_interface.c db_trace.c src/sys/amd64/include db_machdep.h... Message-ID: <200407102347.i6ANlKB5047187@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2004-07-10 23:47:20 UTC FreeBSD src repository Modified files: sys/alpha/alpha db_disasm.c db_interface.c db_trace.c sys/alpha/include db_machdep.h sys/amd64/amd64 db_interface.c db_trace.c sys/amd64/include db_machdep.h sys/conf files sys/ddb db_access.c db_break.c db_command.c db_output.c db_print.c db_ps.c db_run.c db_variables.c db_variables.h ddb.h sys/i386/i386 db_interface.c db_trace.c sys/i386/include db_machdep.h sys/ia64/ia64 db_interface.c db_trace.c sys/ia64/include db_machdep.h sys/sparc64/include db_machdep.h sys/sparc64/sparc64 db_interface.c db_trace.c Added files: sys/ddb db_main.c db_thread.c Log: Mega update for the KDB framework: turn DDB into a KDB backend. Most of the changes are a direct result of adding thread awareness. Typically, DDB_REGS is gone. All registers are taken from the trapframe and backtraces use the PCB based contexts. DDB_REGS was defined to be a trapframe on all platforms anyway. Thread awareness introduces the following new commands: thread X switch to thread X (where X is the TID), show threads list all threads. The backtrace code has been made more flexible so that one can create backtraces for any thread by giving the thread ID as an argument to trace. With this change, ia64 has support for breakpoints. Revision Changes Path 1.10 +17 -21 src/sys/alpha/alpha/db_disasm.c 1.29 +84 -209 src/sys/alpha/alpha/db_interface.c 1.19 +60 -108 src/sys/alpha/alpha/db_trace.c 1.9 +16 -33 src/sys/alpha/include/db_machdep.h 1.79 +61 -249 src/sys/amd64/amd64/db_interface.c 1.61 +191 -225 src/sys/amd64/amd64/db_trace.c 1.20 +5 -12 src/sys/amd64/include/db_machdep.h 1.928 +17 -19 src/sys/conf/files 1.18 +11 -3 src/sys/ddb/db_access.c 1.24 +0 -43 src/sys/ddb/db_break.c 1.54 +4 -53 src/sys/ddb/db_command.c 1.1 +226 -0 src/sys/ddb/db_main.c (new) 1.31 +3 -2 src/sys/ddb/db_output.c 1.28 +19 -19 src/sys/ddb/db_print.c 1.52 +0 -26 src/sys/ddb/db_ps.c 1.24 +26 -40 src/sys/ddb/db_run.c 1.1 +105 -0 src/sys/ddb/db_thread.c (new) 1.21 +50 -71 src/sys/ddb/db_variables.c 1.13 +2 -1 src/sys/ddb/db_variables.h 1.35 +9 -33 src/sys/ddb/ddb.h 1.82 +67 -250 src/sys/i386/i386/db_interface.c 1.60 +181 -218 src/sys/i386/i386/db_trace.c 1.18 +6 -13 src/sys/i386/include/db_machdep.h 1.25 +270 -389 src/sys/ia64/ia64/db_interface.c 1.19 +42 -12 src/sys/ia64/ia64/db_trace.c 1.10 +45 -83 src/sys/ia64/include/db_machdep.h 1.8 +5 -9 src/sys/sparc64/include/db_machdep.h 1.10 +26 -49 src/sys/sparc64/sparc64/db_interface.c 1.19 +145 -157 src/sys/sparc64/sparc64/db_trace.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407102347.i6ANlKB5047187>