From owner-freebsd-drivers@FreeBSD.ORG Sat Feb 21 20:37:21 2009 Return-Path: Delivered-To: drivers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F7861065672 for ; Sat, 21 Feb 2009 20:37:21 +0000 (UTC) (envelope-from huntting@glarp.com) Received: from wotan.mcwest.org (wotan.mcwest.org [63.231.80.19]) by mx1.freebsd.org (Postfix) with ESMTP id D1A198FC18 for ; Sat, 21 Feb 2009 20:37:20 +0000 (UTC) (envelope-from huntting@glarp.com) Received: from antediluvian.glarp.com (71-212-209-203.hlrn.qwest.net [71.212.209.203]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by wotan.mcwest.org (Postfix) with ESMTPSA id 3584FD4C1C for ; Sat, 21 Feb 2009 13:18:00 -0700 (MST) Received: from lugubrious.glarp.com (lugubrious.glarp.com [10.0.0.245]) by antediluvian.glarp.com (8.14.3/8.14.3) with ESMTP id n1LKHKxQ024105; Sat, 21 Feb 2009 13:17:21 -0700 (MST) (envelope-from huntting@glarp.com) Received: from huntting (helo=lugubrious.glarp.com) by lugubrious.glarp.com with local-esmtp (Exim 4.69) (envelope-from ) id 1LayI1-0004d6-7m; Sat, 21 Feb 2009 13:17:33 -0700 To: drivers@FreeBSD.org From: Brad Huntting Date: Sat, 21 Feb 2009 13:17:33 -0700 Sender: huntting@glarp.com Message-Id: Cc: Subject: kernel gdb over Ethernet X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 20:37:21 -0000 I'm thinking about how to implement gdb over Ethernet (or UDP or TCP). I know this has been considered in the past by several different people, and it's even been implemented in Linux (which makes the gdb(1) end simpler). My idea was to create a netgraph node that can act as a gdb stub. Then poll the network interface(s) from the gdb_getc() loop to read data. But, before I go much further, has this already been implemented somewhere and I'm just not finding it? brad