From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 19 10:55:11 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CAD016A4CE; Thu, 19 Aug 2004 10:55:11 +0000 (GMT) Received: from www.citello.it (host170-131.pool80117.interbusiness.it [80.117.131.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02D5643D41; Thu, 19 Aug 2004 10:55:10 +0000 (GMT) (envelope-from molter@tin.it) Received: from gattaccio.codalunga (ANice-205-1-5-94.w81-53.abo.wanadoo.fr [81.53.76.94]) by www.citello.it (Postfix) with ESMTP id DF3E915ED; Thu, 19 Aug 2004 12:55:07 +0200 (CEST) Received: by gattaccio.codalunga (Postfix, from userid 1001) id B9E58C0E1; Thu, 19 Aug 2004 12:53:26 +0200 (CEST) Date: Thu, 19 Aug 2004 12:53:26 +0200 From: Marco Molteni To: hackers@freebsd.org Message-Id: <20040819125326.565cd094.molter@tin.it> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: grog@freebsd.org cc: marcel@freebsd.org Subject: kernel debugging, console and GDB_REMOTE_CHAT option X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 10:55:11 -0000 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. --