[ros-dev] Re: [ros-svn] [ion] 14799: KD System Rewrite:
hartmut.birr at gmx.de
Mon Apr 25 19:31:10 CEST 2005
your changes breaks compiling with DBG := 1 and KDBG := 0.
ion at svn.reactos.com wrote:
>KD System Rewrite:
> - Totally dynamic based on the principle of Native Providers built-in the Kernel (like Screen,
> FileLog and Serial) and a pluggable Wrapper which is optionally compiled (Bochs, GDB)
> - Nothing changed in KDBG, except for that its settings (KDSERIAL/KDNOECHO) are now stored in
> KdbDebugState instead.
> - Wrappers are currently built uncondtionally. With rbuild, I'll make them easily removable.
> - Debug Log code simplified greatly, sped up and now supports printing even the first boot messages,
> which wasn't supported before.
> - Removed most of KDBG compile-time settings, ones which are needed are in include/dbg as macros now.
> - Left in some kdbg init code and break code, but it could be made to be used as a 'wrapper' for those
> functions. I will do it later.
> - Made a hack for KdpEnterDebuggerException..it seems to be called differently and at different times
> for GDB vs KDBG and I couldn't unite them.
> - KdpServiceDispatcher now does both the documented and ros-internal debug functions and will eventually
> be called through INT2D from keyboard.sys instead of as an API.
>All in all, this patch makes KD separated from KDBG and creates a pluggable architecture for creating future wrappers that don't require changing tons of code in the future. It improves the debug
>log by printing even the earliest debug messages to it and it removes many of the manual ifdef(KDBG) but making them automatic though a single macro file. It makes extra debugging functionality optional and it
>allows removal of a private API from our exports.
>Ros-svn mailing list
>Ros-svn at reactos.com
More information about the Ros-dev