From owner-freebsd-hackers Mon Sep 9 10: 7:24 2002 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 5E37A37B400 for ; Mon, 9 Sep 2002 10:07:18 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E06CD43E77 for ; Mon, 9 Sep 2002 10:07:17 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0088.cvx21-bradley.dialup.earthlink.net ([209.179.192.88] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17oS0K-0004ub-00 for freebsd-hackers@FreeBSD.ORG; Mon, 09 Sep 2002 10:07:17 -0700 Message-ID: <3D7CD506.13479C21@mindspring.com> Date: Mon, 09 Sep 2002 10:06:14 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Re: interrupting target kernel using single sio References: <20020909112248.A613@gicco.cablecom.ch> <20020909164108.A12878@gicco.cablecom.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hanspeter Roth wrote: > On Sep 09 at 04:52, Julian Elischer spoke: > > it isdangerous because rebooting the local machine can en up sending a break > > to the remote machine. > > Is that to say rebooting the machine where I want to run gdb? > I've rebooted this machine and nothing happened. > Is that to say that the target machine ignores the break on the sio? If you reboot the PC you are using as a console, it can result in a break being sent down the line, which can cause the other machine to break into the debugger, because the hardware post of the console machine may send a break when you reboot it. That's what he's saying. > I tried to set brkint but after examining it again it is still > cleared. > Is the serial port bogus or is the serial cable an incomplete > implementation? It's 250+ms of spacing/line silence/+11v on the data line, so if it were not working, or it was an incomplete cable, then you would not be getting and serial communication at all. Since you are, the problem is not an incomplete cable. Have you tried compiling in these options, NOT turning on the GDB options, and simply sending a break down the serial line? If you are using "tip", the command on the laptop you are using as a console is "~#". As I said previously, it's unlikely that the GDB client program will send the right signal. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message