Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 1999 14:05:43 -0600
From:      Wes Peters <wes@softweyr.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        Marc Tardif <intmktg@CAM.ORG>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: gdb instead of adb
Message-ID:  <378E3F17.717FBF6C@softweyr.com>
References:  <199907150545.WAA00453@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378E3F17.717FBF6C>