Re: __asm ("int $3") while Giant lock

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 18 Aug 2004 12:08:53 -0400
On Wednesday 18 August 2004 08:23 am, Roman Kurakin wrote:
> Hi,
>
>     I am trying to find out reason od LOR's in my code. I've placed
> __asm ("int $3)
> instruction in my code to enter debugger, but after I enter 'n' command
> systems
> goes to panic.
>
> Is this normal?
> Should I send output?

Try using 'kdb_enter("foo");' instead.  For one thing it's more portable. :)

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Aug 18 2004 - 14:26:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC