Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2002 21:58:01 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Bruce Evans <bde@FreeBSD.org>
Subject:   RE: cvs commit: src/sys/i386/i386 db_interface.c
Message-ID:  <XFMail.020205215801.jhb@FreeBSD.org>
In-Reply-To: <20020206061908.G260-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 05-Feb-02 Bruce Evans wrote:
> On Tue, 5 Feb 2002, John Baldwin wrote:
> 
>> On 30-Jan-02 Bruce Evans wrote:
>> > bde         2002/01/30 10:23:32 PST
>> >
>> >   Modified files:
>> >     sys/i386/i386        db_interface.c
>> >   Log:
>> >   Backed out the last vestiges of rev.1.51.  Don't enter a critical
>> >   region in Debugger(), since rev.1.468 of machdep.c does this better.
>> >   Other cosmetic backouts.
>>
>> Err, have you tested this?  In my tests locally this still doesn't work
>> properly which is why I haven't committed it. :(
> 
> PS: perhaps you are thinking of the flag in Debugger().  That is
> fundamentally broken too.  It just protects against multiple entries to
> the debugger when the first entry is via the console debugger key.  Try
> the following:
> - enter ddb using the key
> - hit the key again.  No problem since the flag is set.
> - single step until the flag is unset
> - hit the key again.  This causes a fine mess.
> The same thing mess happens when you enter ddb via a breakpoint and hit the
> key, except the console driver is not reentered then (unless the breakpoint
> is in the console driver).

Hmm, the problem I was having is that interrupts were still firing while I was
in ddb.  I could tell because new KTR entries due to clock interrutps kept
showing up.

> Bruce

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020205215801.jhb>