From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 12:03:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0E5316A4CE for ; Wed, 23 Jun 2004 12:03:55 +0000 (GMT) Received: from mail.teel.ws (teel.ws [209.151.109.182]) by mx1.FreeBSD.org (Postfix) with SMTP id 9ECCB43D58 for ; Wed, 23 Jun 2004 12:03:54 +0000 (GMT) (envelope-from mark@teel.ws) Received: (qmail 28558 invoked by uid 513); 23 Jun 2004 12:03:50 -0000 Received: from mark@teel.ws by dmz1 by uid 508 with qmail-scanner-1.22-st-qms Clear:RC:0(192.168.0.110):SA:0(0.0/4.0):. Processed in 0.619251 secs); 23 Jun 2004 12:03:50 -0000 X-Spam-Status: No, hits=0.0 required=4.0 X-Antivirus-MYDOMAIN-Mail-From: mark@teel.ws via dmz1 X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:0(192.168.0.110):SA:0(0.0/4.0):. Processed in 0.619251 secs Process 28549) Received: from unknown (HELO teel.ws) (mark@teel.ws@192.168.0.110) by mail.teel.ws with SMTP; 23 Jun 2004 12:03:49 -0000 Message-ID: <40D971A0.6070207@teel.ws> Date: Wed, 23 Jun 2004 07:03:44 -0500 From: Mark Teel User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John E Hein , freebsd-questions@freebsd.org, freebsd-small@freebsd.org References: <40D8D361.3020809@teel.ws> <16601.1460.152853.773741@gromit.timing.com> In-Reply-To: <16601.1460.152853.773741@gromit.timing.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Problems with Remote Kernel Debugging on the 5.2.1 Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 12:03:56 -0000 It is serial debugging, as described in the Developer's Handbook. I have set up the same remote debugging environment in linux using gdb/ddd with success. Further, the "Interrupt" button in ddd is ^C, and in gdb ^C is what is used to break execution, at least in past experience in linux. How would I send a "BREAK", and how would one setup ddd to use that instead of ^C? That should definitely be addressed in the developer's handbook if it is non-standard for FreeBSD. Thanks, Mark John E Hein wrote: >Mark Teel wrote at 19:48 -0500 on Jun 22, 2004: > > I have configured remote kernel debugging as prescribed in the > > developer's handbook. > > > > I am able to step through code, but once I enter "cont" in gdb on the > > debug machine, I cannot ever "interrupt" or "break" the target kernel > > execution. It is as if the Ctrl-C character is being ignored on the > > target. The target kernel was built with the ddb and -g options set, > > using config -g as well. > > > > Has anyone seen such a problem? This is the last hurdle before I can > > start debugging my wireless device driver. > >If you mean serial debugging, you use the serial BREAK, not ctrl-c. >If you are connecting using tip, you use ~# to send a break (man tip). > >