__asm ("int $3") while Giant lock

John Baldwin jhb at FreeBSD.org
Wed Aug 18 09:26:21 PDT 2004


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


More information about the freebsd-current mailing list