singrdk/base/Windows/singx86/help.cpp

40 lines
2.1 KiB
C++
Raw Normal View History

2008-03-05 09:52:00 -05:00
/////////////////////////////////////////////////////////////////////////////
//
// help.cpp - Help for Singularity Debugger Extensions.
//
2008-11-17 18:29:00 -05:00
// Copyright Microsoft Corporation. All rights reserved.
2008-03-05 09:52:00 -05:00
//
#include "singx86.h"
EXT_DECL(help) // Defines: PDEBUG_CLIENT Client, PCSTR args
{
EXT_ENTER(); // Defines: HRESULT status = S_OK;
UNREFERENCED_PARAMETER(args);
ExtOut("Singularity Debugger Extensions: [SingX86.dll compiled %s %s]\n"
" !apic - Dump APIC state.\n"
" !bytev <name> - show byte vector information.\n"
" !charv <name> - show character vector information.\n"
// " !core - Write a core dump to disk.\n"
2008-11-17 18:29:00 -05:00
" !crashdump - Saves minidump for further offline analysis.\n"
" !diag - Diagnosis utilities.\n"
2008-03-05 09:52:00 -05:00
" !ioapic - Dump I/O APIC state.\n"
" !log - Dump system log.\n"
" !object <address> <args> - Display the object at address; args are same as `dt'.\n"
" !procs - List all processes.\n"
2008-11-17 18:29:00 -05:00
" !singreload - Reloads types from kernel dll\n"
2008-03-05 09:52:00 -05:00
" !sips - List all SIPs.\n"
2008-11-17 18:29:00 -05:00
" !stack <address> - Dump the stack of the given thread object.\n"
2008-03-05 09:52:00 -05:00
" !thread - Select the currently scheduled thread object.\n"
" !thread <address> - Select the given thread object.\n"
" !threads - List all threads.\n"
" !threads -s - List all threads with first 10 stack frames.\n"
" !threads -f - List all threads with first 30 stack frames.\n"
" !threads -s -d - List all threads with stacks more detail.\n"
2008-11-17 18:29:00 -05:00
2008-03-05 09:52:00 -05:00
" !help - Shows this help.\n"
,__DATE__, __TIME__);
EXT_LEAVE(); // Macro includes: return status;
}