<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/ddb, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-08-27T14:24:27Z</updated>
<entry>
<title>Follow up to r225203 refining break-to-debugger run-time configuration</title>
<updated>2011-08-27T14:24:27Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2011-08-27T14:24:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e5a0927394502ac7d7d0383c523490eb35f773dc'/>
<id>urn:sha1:e5a0927394502ac7d7d0383c523490eb35f773dc</id>
<content type='text'>
improvements:

(1) Implement new model in previously missed at91 UART driver
(2) Move BREAK_TO_DEBUGGER and ALT_BREAK_TO_DEBUGGER from opt_comconsole.h
    to opt_kdb.h (spotted by np)
(3) Garbage collect now-unused opt_comconsole.h

MFC after:	3 weeks
Approved by:	re (bz)
</content>
</entry>
<entry>
<title>Fix making kernel dumps from the debugger by creating a command</title>
<updated>2011-06-07T01:28:12Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2011-06-07T01:28:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=299cceef036de62905e745118b4710b73b48d3c3'/>
<id>urn:sha1:299cceef036de62905e745118b4710b73b48d3c3</id>
<content type='text'>
for it. Do not not expect a developer to call doadump(). Calling
doadump does not necessarily work when it's declared static. Nor
does it necessarily do what was intended in the context of text
dumps. The dump command always creates a core dump.

Move printing of error messages from doadump to the dump command,
now that we don't have to worry about being called from DDB.
</content>
</entry>
<entry>
<title>Trim some additional unnecessary &lt;linker_set.h&gt; includes.</title>
<updated>2011-04-28T17:59:33Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2011-04-28T17:59:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=41b1c2596025ea68dcaf411731fcddafa4e89c27'/>
<id>urn:sha1:41b1c2596025ea68dcaf411731fcddafa4e89c27</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>- Add the possibility to reuse the already last used timeout when patting</title>
<updated>2011-04-27T16:43:03Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-04-27T16:43:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7126ba42f6aed181e974246d46bfe3409da8b8ac'/>
<id>urn:sha1:7126ba42f6aed181e974246d46bfe3409da8b8ac</id>
<content type='text'>
  the watchdog, via the watchdog(9) interface.
  For that, the WD_LASTVAL bitwise operation is used. It is mutually
  exclusive with any explicit timout passing to the watchdogs.
  The last timeout can be returned via the wdog_kern_last_timeout()
  KPI.
- Add the possibility to pat the watchdogs installed via the watchdog(9)
  interface from the kernel.
  In order to do that the new KPI wdog_kern_pat() is offered and it does
  accept normalized nanoseconds or WD_LASTVAL.
- Avoid to pass WD_ACTIVE down in the watchdog handlers. All the control
  bit processing should over to the upper layer functions and not passed
  down to the handlers at all.

These changes are intended to be used in order to fix up the watchdog
tripping in situation when the userland is busted, but protection is still
wanted (examples: shutdown syncing / disk dumping).

Sponsored by:	Sandvine Incorporated
Reviewed by:	emaste, des, cognet
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Extend the DDB command "watchdog" with the ability to specify a timeout</title>
<updated>2011-04-05T14:15:58Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2011-04-05T14:15:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8b927d7b7ec3bbcb90918873ec89c2091b797af9'/>
<id>urn:sha1:8b927d7b7ec3bbcb90918873ec89c2091b797af9</id>
<content type='text'>
value.

The timeout is expressed in the form T(N) = (2^N * nanoseconds) and can
be easilly extracted from the watchdog interface as a WD_TO_* macro.
That new functionality is supposed to fix re-entering the kernel from DDB
re-enabling the watchdog again (previously disabled) and also offer the
possibility to break for deadlocked DDB commands.

Please note that retro-compatibility is retained.

Sponsored by:	Sandvine Incorporated
Approved by:	des
MFC after:	10 days
</content>
</entry>
<entry>
<title>Modify kdb_trap() so that it re-calls the dbbe_trap function as long as</title>
<updated>2011-02-18T22:25:11Z</updated>
<author>
<name>Matthew D Fleming</name>
<email>mdf@FreeBSD.org</email>
</author>
<published>2011-02-18T22:25:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3a5d36716fae934b211ab63e86cdcf98ea7618ec'/>
<id>urn:sha1:3a5d36716fae934b211ab63e86cdcf98ea7618ec</id>
<content type='text'>
the debugger back-end has changed.  This means that switching from ddb
to gdb no longer requires a "step" which can be dangerous on an
already-crashed kernel.

Also add a capability to get from the gdb back-end back to ddb, by
typing ^C in the console window.

While here, simplify kdb_sysctl_available() by using
sbuf_new_for_sysctl(), and use strlcpy() instead of strncpy() since the
strlcpy semantic is desired.

MFC after:	1 month
</content>
</entry>
<entry>
<title>sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.</title>
<updated>2011-01-12T19:54:19Z</updated>
<author>
<name>Matthew D Fleming</name>
<email>mdf@FreeBSD.org</email>
</author>
<published>2011-01-12T19:54:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fbbb13f962e52bf547c5a901fe6fbc4390f6be54'/>
<id>urn:sha1:fbbb13f962e52bf547c5a901fe6fbc4390f6be54</id>
<content type='text'>
Commit the kernel changes.
</content>
</entry>
<entry>
<title>One more use for _SIG_VALID.</title>
<updated>2010-07-12T10:18:10Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2010-07-12T10:18:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a29af74b7026ebd191d0d344c80cea5c26f3ceb1'/>
<id>urn:sha1:a29af74b7026ebd191d0d344c80cea5c26f3ceb1</id>
<content type='text'>
Submitted by:	Garrett Cooper &lt;yanegomi gmail com&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>MFp4 @178364:</title>
<updated>2010-05-24T16:41:05Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2010-05-24T16:41:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0f59fbc3d6d4ff1f368f12e55913c53eb480050a'/>
<id>urn:sha1:0f59fbc3d6d4ff1f368f12e55913c53eb480050a</id>
<content type='text'>
Implement an optional delay to the ddb reset/reboot command.

This allows textdumps to be run automatically with unattended reboots
after a resonable timeout, while still permitting an administrator to
break into debugger if attached to the console at the time of the
event for further debugging.  Cap the maximum delay at 1 week to avoid
highly accidental results, and default to 15s in case of problems
parsing the timeout value.

Move hex2dec helper function from db_thread.c to db_command.c to make
it generally available and prefix it with a "db_" to avoid namespace
collisions.

Reviewed by:	rwatson
MFC after:	4 weeks
</content>
</entry>
<entry>
<title>There is not a good reason to have a different prototype for db_printf()</title>
<updated>2010-05-11T17:01:14Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2010-05-11T17:01:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3caaaae046e53af784ed931c26526165aec0a726'/>
<id>urn:sha1:3caaaae046e53af784ed931c26526165aec0a726</id>
<content type='text'>
when compared to printf().
Unify it by returning the number of characters displayed for db_printf()
as well.

MFC after:	7 days
</content>
</entry>
</feed>
