22 lines
829 B
Plaintext
22 lines
829 B
Plaintext
The Singularity Debugger Extensions use the Debugger Interface for
|
|
the Microsoft(R) Debugging Tools for Windows(R). The Debugger Interface
|
|
is also known as dbgeng.
|
|
|
|
The dbgeng files, dbgeng.h and dbgeng.lig, come straight from the
|
|
Microsoft-internal Debugger distribution.
|
|
|
|
The objbase.h file was hand crafted to minimize the cruft
|
|
imported by the standard Windows objbase.h (12KB vs. 1MB).
|
|
|
|
To add a new command, you need to:
|
|
1) Create a the new function.
|
|
2) Add descriptive text to help.cpp
|
|
3) Add an export entry to singx86.def.
|
|
|
|
Windbg supports dynamic load and unloading of extensions.
|
|
Type ".unload singx86" at the windbg command prompt to unload it.
|
|
Type ".load singx86" at the windbg command prompt to load it.
|
|
|
|
The code for the debuggers can be found in the Microsoft-internal
|
|
Windows source tree.
|