summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/db2sql.c2
-rw-r--r--src/plugins/dbghelpplug.c23
2 files changed, 12 insertions, 13 deletions
diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c
index 46d654e0d..b8f21407e 100644
--- a/src/plugins/db2sql.c
+++ b/src/plugins/db2sql.c
@@ -198,7 +198,7 @@ HPExport void server_preinit (void) {
libconfig = GET_SYMBOL("libconfig");
- addArg("--db2sql",false,db2sql_arg,NULL);
+ addArg("--db2sql",false,db2sql_arg,NULL);
}
HPExport void plugin_init (void) {
addCPCommand("server:tools:db2sql",db2sql);
diff --git a/src/plugins/dbghelpplug.c b/src/plugins/dbghelpplug.c
index 32b30d69a..0f1690f4b 100644
--- a/src/plugins/dbghelpplug.c
+++ b/src/plugins/dbghelpplug.c
@@ -17,7 +17,7 @@ HPExport struct hplugin_info pinfo = {
#ifdef _WIN32
/////////////////////////////////////////////////////////////////////
-// Include files
+// Include files
//
#include <assert.h>
@@ -32,13 +32,12 @@ HPExport struct hplugin_info pinfo = {
#include <time.h>
/////////////////////////////////////////////////////////////////////
-// Types from Cvconst.h (DIA SDK)
+// Types from Cvconst.h (DIA SDK)
//
#ifdef _NO_CVCONST_H
-typedef enum _BasicType
-{
+typedef enum _BasicType {
btNoType = 0,
btVoid = 1,
btChar = 2,
@@ -66,7 +65,7 @@ typedef enum _UdtKind
UdtUnion
} UdtKind;
/*
-typedef enum _SymTag {
+typedef enum _SymTag {
SymTagNull = 0,
SymTagExe = 1,
SymTagCompiland = 2,
@@ -235,7 +234,7 @@ SYMGETMODULEBASE SymGetModuleBase_ = NULL;
/////////////////////////////////////////////////////////////////////
// Code
-/// Writes the minidump to file. The callback function will at the
+/// Writes the minidump to file. The callback function will at the
/// same time write the list of modules to the log file.
///
/// @param file Filename of the minidump
@@ -324,7 +323,7 @@ Dhp__PrintModuleInfoCallback(
return TRUE;
}
-/// Prints details about the current process, platform and exception
+/// Prints details about the current process, platform and exception
/// information to the log file.
///
/// @param exception Exception info
@@ -418,7 +417,7 @@ Dhp__PrintProcessInfo(
{
fprintf(log_file,
"eip=%08x esp=%08x ebp=%08x iopl=%1x %s %s %s %s %s %s %s %s %s %s\n",
- context->Eip, context->Esp, context->Ebp,
+ context->Eip, context->Esp, context->Ebp,
(context->EFlags >> 12) & 3, // IOPL level value
context->EFlags & 0x00100000 ? "vip" : " ", // VIP (virtual interrupt pending)
context->EFlags & 0x00080000 ? "vif" : " ", // VIF (virtual interrupt flag)
@@ -487,7 +486,7 @@ Dhp__PrintTypeName(
switch( symtag )
{
case SymTagEnum:
- {
+ {
WCHAR* pwszTypeName;
if( SymGetTypeInfo_(hProcess, modBase, typeIndex, TI_GET_SYMNAME, &pwszTypeName) )
@@ -1007,7 +1006,7 @@ Dhp__PrintDataValue(
fprintf(log_file, "0x%p", *(void**)pVariable);
if( SymGetTypeInfo_(hProcess, modBase, typeIndex, TI_GET_TYPE, &childTypeIndex) &&
- SymGetTypeInfo_(hProcess, modBase, childTypeIndex, TI_GET_SYMTAG, &childSymtag) &&
+ SymGetTypeInfo_(hProcess, modBase, childTypeIndex, TI_GET_SYMTAG, &childSymtag) &&
childSymtag != SymTagPointerType )
{
DWORD childBasetype;
@@ -1277,9 +1276,9 @@ Dhp__PrintSymbolInfo(
assert( pSymInfo != NULL );
assert( pInterData != NULL );
- switch( pSymInfo->Tag )
+ switch( pSymInfo->Tag )
{
- case SymTagData: Dhp__PrintDataInfo( pSymInfo, pInterData ); break;
+ case SymTagData: Dhp__PrintDataInfo( pSymInfo, pInterData ); break;
default: /*fprintf(pInterData->log_file, "<unsupported symtag %d>", pSymInfo->Tag);*/ break;
}
}