[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [alliance] [Fwd: [freedows-chat] Re: <important info> The Project,SourceForge, The Future]
Ramon van Handel wrote:
>
> >Still haven't managed to find the bug in shared memory, i've tried
> >various demokernels with different ordering of the tasks and the CK just
> >seems to crash for no reason whatsoever on the current order - don't
> >even get the debugger :(
>
> In case you're new to hardcore kernel debugging ;) :
just a bit :)
> What I did before I used GDB is "bug cornering". Place the command:
>
> asm( "cli; hlt" );
>
> Somewhere in the code around where you think it's going wrong. If it
> hangs before it crashes, you're too early; if it crashes, you're too late.
> Move up the clihlt until you've cornered the exact location of the crash.
> That usually won't necessarily make you find the bug directly, but it'll
> at least give you a place to start...
Thanks!, i haven't done anything like this before :)
> Of course, why won't GDB work ??
I've only got the one machine so i'm using the original debugger, at
least it shows the exception :)
Hopefully i'll be able to get hold of a 486 soon... but then i've got to
find somewhere to put another monitor :(
Alex
--
/-===============================-o-=========================-\
| Alexander Kellett __ | "You're not drunk if you |
| <bueno@beer.com> __( o)> | can lie on the floor |
| "Hmmmmm....Beer" \ <_. ) | without holding on." |
| - Homer Simpson `---' | - Dean Martin |
\-===============================-o-=========================-/
-
Alliance: http://www.allos.org/
Archive: http://humbolt.nl.linux.org/lists/