[Bug 60005] debug versions of libraries

Sphere sphere1952 at attbi.com
Fri Jun 20 14:44:48 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=60005     




------- Additional Comments From sphere1952 at attbi.com  2003-06-20 14:40 -------
Subject: Re:  debug versions of libraries

Thiago Macieira wrote:

>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>     
>http://bugs.kde.org/show_bug.cgi?id=60005     
>
>
>
>
>------- Additional Comments From thiagom at mail.com  2003-06-19 18:43 -------
>You cannot debug into kernel mode unless the kernel allows you to. No sane 
>kernel allows a normal debug operation to do that -- especially because that 
>would halt the kernel itself. 
>
...

A sane kernel would keep itself completely protected in its' own virtual
machine you couldn't get at and would present you with a virtual machine
which looked like you had complete freedom to do what you wanted.  All
the real kernel would do is context switching. mapping of virtual hardware
to real hardware, and provide some narrow form of message passing between
virtual machines in order to allow bootstrapping and hardware allocation.
 (Yes, I've used an OS which worked that way.  It was a great system for
writing standalone code on.  You could write the code in a timeshared
environment and actually have it work when you ported it to an empty
machine.  Yes, you could bring up an instance of the OS in a virtual machine
and it would think it had a real machine to run on -- if a bit slowly, 
and usually
with fewer devices.)




More information about the KDevelop-devel mailing list