FpDbg: Removed unused windows from uses and added some units to fix compilation on Windows.

git-svn-id: trunk@44424 -
This commit is contained in:
joost 2014-03-13 21:34:27 +00:00
parent 82b4f80321
commit ade43d3625
3 changed files with 6 additions and 5 deletions

View File

@ -40,13 +40,14 @@ uses
SysUtils,
{$ifdef windows}
Windows,
FpDbgWinClasses,
{$endif}
FPDCommand,
FPDGlobal,
FPDLoop,
FPDPEImage,
FPDType,
FpDbgClasses, FpDbgPETypes, FpDbgDwarfConst, FpDbgDwarf;
FpDbgClasses,
FpDbgDwarfConst,
FpDbgDwarf;
{$ifdef windows}
function CtrlCHandler(CtrlType: Cardinal): BOOL; stdcall;

View File

@ -36,7 +36,7 @@ unit FPDGlobal;
interface
uses
SysUtils, FPDType, Maps, FpDbgUtil, FpDbgClasses;
SysUtils, Maps, FpDbgUtil, FpDbgClasses;
type
TFPDImageInfo = (iiNone, iiName, iiDetail);

View File

@ -37,7 +37,7 @@ unit FPDPEImage;
interface
uses
Windows, SysUtils, FPDGLobal, FpDbgInfo, FpDbgClasses, FpDbgPETypes, DbgIntfBaseTypes;
Windows, SysUtils, FPDGLobal, FpDbgInfo, FpDbgClasses, FpDbgPETypes, DbgIntfBaseTypes, FpDbgUtil;
procedure DumpPEImage(const AProcessHandle: THandle; const AAddress: TDbgPtr);