Hi all,

Is there any information available on kernel debugging? I guess that the book that is referenced on the developer wiki probably has some of this information but I am not keen on spending the money :) I am interested in finding out about the remote debugging support possible with Microsoft C 6 that I have seen mentioned without any explanation of how it is actually done.

If there is absolutely no information available anywhere, would it be okay if I started a page on the wiki with a few things I have learned? I am by far not an expert on debugging the kernel but what little I know might help someone else who knows less and all I would ask is that maybe someone take a look to make sure I didn't make any mistakes :)

Also, when working with Bochs or QEMU, it is possible to write a character at a time to port 0xE9 and this output will go to the Bochs console window. I would like to contribute a kernel patch to prf.c to implement put_console() this way if say -DBOCHS is used, but I am not clear how I should implement the function to write to the port - I made a Watcom "#pragma aux"-style inline assembly implementation of outp() and I guess I could make a Turbo C implementation too, but I got the impression it might be desirabl to somehow pull the implementatoin of outp() from the compiler's libraries? Of course since the change is so simple, I guess someone might feel it is easier to just implement my suggestion in the "proper" way instead of having to explain to me what the convention is. If this information is documented somewhere I apologize and would love a pointer to it!

Thanks in advance,
David




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freedos-kernel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to