kernel debugging, console and GDB_REMOTE_CHAT option
Marco Molteni
molter at tin.it
Thu Aug 19 03:55:11 PDT 2004
Hi,
kernel option GDB_REMOTE_CHAT allowed to share the same serial line
for console and remote gdb.
Looking at the following commit message for src/sys/conf/NOTES, it says
that GDB_REMOTE_CHAT has been removed, but it is not clear to me
how to obain the equivalent of that option. Could somebody explain?
Also, the man page for gdb(4) is outdated, since it contains references
to GDB_REMOTE_CHAT.
thanks
marco
Revision 1.1244, Sun Jul 11 01:44:07 2004 UTC (5 weeks, 4 days ago) by marcel
Branch: MAIN
Changes since 1.1243: +18 -25 lines
Diff to previous 1.1243 (colored)
Update for the KDB framework:
o Rename WITNESS_DDB to WITNESS_KDB. In the new world order KDB is the
acronym to use for debugging related code. The DDB option is used
to enable the DDB debugger backend only.
o Likewise, rename DDB_TRACE to KDB_TRACE, rename DDB_UNATTENDED to
KDB_UNATTENDED and rename SC_HISTORY_DDBKEY to SC_HISTORY_KDBKEY.
o Remove DDB_NOKLDSYM. The new DDB backend supports pre-linker symbol
lookups as well as KLD symbol lookups at the same time.
o Remove GDB_REMOTE_CHAT. The GDB protocol hacks to allow this are
FreeBSD specific. At the same time, the GDB protocol has packets
for console output.
--
More information about the freebsd-hackers
mailing list