<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/ddb/db_command.c, branch releng/5.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F5.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F5.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2004-07-21T05:55:51Z</updated>
<entry>
<title>Oops... Add the CS_OWN flag to the trace and where commands so that</title>
<updated>2004-07-21T05:55:51Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2004-07-21T05:55:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=026c3aaa6080436ab7b80012b95a4a0ebaa3e7e5'/>
<id>urn:sha1:026c3aaa6080436ab7b80012b95a4a0ebaa3e7e5</id>
<content type='text'>
db_stack_trace() actually has a chance to parse its own arguments.
</content>
</entry>
<entry>
<title>Unify db_stack_trace_cmd(). All it did was look up the thread given</title>
<updated>2004-07-21T05:07:09Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2004-07-21T05:07:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fd32d93b97086acaf80526bbb55f735b35d074fb'/>
<id>urn:sha1:fd32d93b97086acaf80526bbb55f735b35d074fb</id>
<content type='text'>
the thread ID and call db_trace_thread().
Since arm has all the logic in db_stack_trace_cmd(), rename the
new DB_COMMAND function to db_stack_trace to avoid conflicts on
arm.
While here, have db_stack_trace parse its own arguments so that
we can use a more natural radix for IDs. If the ID is not a thread
ID, or more precisely when no thread exists with the ID, try if
there's a process with that ID and return the first thread in it.
This makes it easier to print stack traces from the ps output.

requested by: rwatson@
tested on: amd64, i386, ia64
</content>
</entry>
<entry>
<title>Re-add the gdb command. It was removed to be replaced by something</title>
<updated>2004-07-12T01:38:07Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2004-07-12T01:38:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f3be7cb3e9c0d3621cd6b2e775aa1cbf77ec5eb6'/>
<id>urn:sha1:f3be7cb3e9c0d3621cd6b2e775aa1cbf77ec5eb6</id>
<content type='text'>
more generic, but that didn't actually happen. Since the feature to
switch backends (and historically this means from DDB to GDB) is
important, make sure people can do just that until such the generic
mechanism actually sees the light of day.

Suggested by: rwatson@
</content>
</entry>
<entry>
<title>Mega update for the KDB framework: turn DDB into a KDB backend.</title>
<updated>2004-07-10T23:47:20Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2004-07-10T23:47:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=37224cd3fcb911d440e40dd8e1f31652e2452537'/>
<id>urn:sha1:37224cd3fcb911d440e40dd8e1f31652e2452537</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Give DDB a "watchdog" command which disables all watchdogs.</title>
<updated>2004-02-29T09:55:32Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-02-29T09:55:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=74cc032b414cfc02eae1cc5837cbc52082bd1495'/>
<id>urn:sha1:74cc032b414cfc02eae1cc5837cbc52082bd1495</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Further cleanup &lt;machine/cpu.h&gt; and &lt;machine/md_var.h&gt;: move the MI</title>
<updated>2003-08-16T16:57:57Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2003-08-16T16:57:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=26502503e57448b879c9293f18ad778c2f7e5f78'/>
<id>urn:sha1:26502503e57448b879c9293f18ad778c2f7e5f78</id>
<content type='text'>
prototypes of cpu_halt(), cpu_reset() and swi_vm() from md_var.h to
cpu.h. This affects db_command.c and kern_shutdown.c.

ia64: move all MD prototypes from cpu.h to md_var.h. This affects
madt.c, interrupt.c and mp_machdep.c. Remove is_physical_memory().
It's not used (vm_machdep.c).

alpha: the MD prototypes have been left in cpu.h with a comment
that they should be there. Moving them is left for later. It was
expected that the impact would be significant enough to be done in
a seperate commit.

powerpc: MD prototypes left in cpu.h. Comment added.

Suggested by: bde
Tested with: make universe (pc98 incomplete)
</content>
</entry>
<entry>
<title>Add a one-shot callout facility to db_printf() that executes the registered</title>
<updated>2003-07-31T17:27:52Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-07-31T17:27:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e16f6098bf69794d9be2a7722a1ee1ac090508d'/>
<id>urn:sha1:1e16f6098bf69794d9be2a7722a1ee1ac090508d</id>
<content type='text'>
callout when a specified number of lines have been output.  This can be
used to implement pagers for ddb commands that output a lot of text.  A
simple paging function is included that automatically rearms itself when
fired.

Reviewed by:	bde, julian
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-06-10T22:09:23Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-06-10T22:09:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=753960f7c45791dc61fa2388146b8d1780801ecf'/>
<id>urn:sha1:753960f7c45791dc61fa2388146b8d1780801ecf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make "where" an alias for "trace"</title>
<updated>2003-06-01T09:06:23Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-06-01T09:06:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=04361c8c3aa97efbd5e555c7a220b315b772e35d'/>
<id>urn:sha1:04361c8c3aa97efbd5e555c7a220b315b772e35d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change "dev_t gdbdev" to "void *gdb_arg", some possible paths for GDB</title>
<updated>2003-02-16T19:22:21Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2003-02-16T19:22:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=029f0b69a4c77caa0037a52dce5c370b842eff62'/>
<id>urn:sha1:029f0b69a4c77caa0037a52dce5c370b842eff62</id>
<content type='text'>
will not have a dev_t.
</content>
</entry>
</feed>
