From owner-freebsd-hackers Thu Jul 15 13: 7:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id 66DC2155FE for ; Thu, 15 Jul 1999 13:07:24 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id NAA06753; Thu, 15 Jul 1999 13:05:51 -0700 (PDT) Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id NAA29119; Thu, 15 Jul 1999 13:05:51 -0700 Received: from softweyr.com (dyn2.utah.xylan.com) by omni.xylan.com (4.1/SMI-4.1 (xylan engr [SPOOL])) id AA03570; Thu, 15 Jul 99 13:05:44 PDT Message-Id: <378E3F17.717FBF6C@softweyr.com> Date: Thu, 15 Jul 1999 14:05:43 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: Mike Smith Cc: Marc Tardif , freebsd-hackers@FreeBSD.ORG Subject: Re: gdb instead of adb References: <199907150545.WAA00453@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > > Is the reason why adb hasn't been ported to freebsd because the source is > > proprietary? > > You make no sense. > > > If gdb should suffice for my debugging needs, how can a breakpoint be set > > at a particular interrupt, or even at any interrupt? The break command > > only seems to accept functions, offsets, linenumbers and addresses... > > I'm all out of ideas and the gdb info file isn't helping. > > You make little more sense, unless you are talking about using > gdb-remote on a running kernel, in which case you should know that > interrupts are vectored through functions, and thus the entire issue is > moot. > > Note also that debugging through interrupt handlers can be problematic > on PC hardware. Logic analyzers and/or ICEs are your friends here. Expensive friends. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://softweyr.com/ wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message