On Wednesday, 14 July 1999 at 22:45:32 -0700, Mike Smith wrote:
>> Is the reason why adb hasn't been ported to freebsd because the source is
>> proprietary?
>
> You make no sense.

What don't you understand?  It makes plenty of sense to me (and the
answer is: yes).

>> 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.

Translation: to set a breakpoint on an "interrupt", set the breakpoint
on its interrupt handler.

> Note also that debugging through interrupt handlers can be
> problematic on PC hardware.

On all hardware.  But if Marc has used adb to set breakpoints on
interrupt handlers, he'll know that.

Greg
--
Finger g...@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to