History log of /freebsd-10.0-release/usr.sbin/dconschat/dconschat.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 233195 19-Mar-2012 dim

Fix the following warning from clang trunk:

usr.sbin/dconschat/dconschat.c:163:65: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat]
snprintf(buf, PAGE_SIZE, "\r\n[dconschat reset target(addr=0x%zx)...]\r\n", dc->reset);
~~^ ~~~~~~~~~
%llx

Silence this by casting dc->reset to intmax_t, and using the appropriate
length modifier. While here, wrap the line to a 80 character margin.

MFC after: 3 days


# 194187 14-Jun-2009 ed

Include <sys/wait.h> and <signal.h> for wait() and kill().


# 171397 12-Jul-2007 simokawa

Set the default escape character as described in the manpage of dconschat(8).
Fix a cut-and-paste error.

Spotted by: avatar
Approved by: re (rwatson)


# 170775 15-Jun-2007 simokawa

- Add an option to change escape character.
- Use CTRL macro.
- Make target reset work on telnet port.
- Add a key bind to invoke kgdb on the terminal. (experimental)


# 170433 08-Jun-2007 simokawa

Reset dc->paddr and dc->reset if we cannot read configuration ROM.


# 170422 08-Jun-2007 simokawa

Clean up escape sequence handling and add support for
resetting target and suspending dconschat.


# 170399 07-Jun-2007 simokawa

Add heuristics for smooth reconnection.


# 170146 31-May-2007 simokawa

Discard backlog on GDB port when connected.

MFC after: 3 days


# 143416 11-Mar-2005 stefanf

Fix typos in comments.


# 143415 11-Mar-2005 stefanf

Use socklen_t where appropriate.


# 135821 26-Sep-2004 simokawa

Invalidate dcons buffer address if the magic is wrong.


# 129760 26-May-2004 brooks

Use new eui64(3) functions to print EUI-64s and to allow access to nodes
by EUI-64 and name.

Reviewed by: simokawa


# 126038 20-Feb-2004 simokawa

Normalize polling interval while the target is offline.


# 122356 09-Nov-2003 simokawa

Increase MAXDEV up to 10.


# 122224 07-Nov-2003 simokawa

Cosmetic change.


# 121503 25-Oct-2003 simokawa

remove debug message.


# 121468 24-Oct-2003 simokawa

Add dumb console driver and related bits.

dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons

Tested with: i386, i386-PAE, and sparc64.