Date: Thu, 19 Aug 2004 12:53:26 +0200 From: Marco Molteni <molter@tin.it> To: hackers@freebsd.org Cc: marcel@freebsd.org Subject: kernel debugging, console and GDB_REMOTE_CHAT option Message-ID: <20040819125326.565cd094.molter@tin.it>
next in thread | raw e-mail | index | archive | help
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. --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040819125326.565cd094.molter>