From 5f80553ea91528adab808268c70217b647cd4161 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 15 Sep 2013 10:59:04 +0000 Subject: [PATCH] Moved fpdebug git-svn-id: trunk@42802 - --- .gitattributes | 50 +++++++------ .gitignore | 12 +-- .../fpdebug/app}/fpd/README.txt | 0 .../fpdebug/app}/fpd/fpd.lpi | 11 +-- .../fpdebug/app}/fpd/fpd.lpr | 2 +- .../fpdebug/app}/fpd/fpdcommand.pas | 2 +- .../fpdebug/app}/fpd/fpdglobal.pas | 2 +- .../fpdebug/app}/fpd/fpdloop.pas | 2 +- .../fpdebug/app}/fpd/fpdpeimage.pas | 2 +- .../fpdebug/app}/fpd/fpdtype.pas | 0 .../fpdebug/app}/fpdd/fpdumpdwarf.lpi | 10 ++- .../fpdebug/app}/fpdd/fpdumpdwarf.lpr | 2 +- .../fpdebug/fpdbgclasses.pp | 8 +- .../fpdebug/fpdbgdisasx86.pp | 6 +- .../fpdebug/fpdbgdwarf.pas | 8 +- .../fpdebug/fpdbgdwarfconst.pas | 4 +- .../fpdebug/fpdbgloader.pp | 6 +- .../fpdebug/fpdbgpetypes.pp | 4 +- .../fpdebug/fpdbgsymbols.pas | 6 +- .../fpdebug/fpdbgutil.pp | 4 +- .../fpdebug/fpdbgwinextra.pp | 4 +- components/fpdebug/fpdebug.lpk | 73 +++++++++++++++++++ .../fpdebug/test/asmtest.lpi | 0 .../fpdebug/test/asmtest.lpr | 0 .../fpdebug/test/asmtestunit.lfm | 0 .../fpdebug/test/asmtestunit.lrs | 0 .../fpdebug/test/asmtestunit.pas | 0 packager/globallinks/fpdebug-0.lpl | 1 + 28 files changed, 149 insertions(+), 70 deletions(-) rename {debugger/fpdebug => components/fpdebug/app}/fpd/README.txt (100%) rename {debugger/fpdebug => components/fpdebug/app}/fpd/fpd.lpi (93%) rename {debugger/fpdebug => components/fpdebug/app}/fpd/fpd.lpr (97%) rename {debugger/fpdebug => components/fpdebug/app}/fpd/fpdcommand.pas (99%) rename {debugger/fpdebug => components/fpdebug/app}/fpd/fpdglobal.pas (97%) rename {debugger/fpdebug => components/fpdebug/app}/fpd/fpdloop.pas (99%) rename {debugger/fpdebug => components/fpdebug/app}/fpd/fpdpeimage.pas (99%) rename {debugger/fpdebug => components/fpdebug/app}/fpd/fpdtype.pas (100%) rename {debugger/fpdebug => components/fpdebug/app}/fpdd/fpdumpdwarf.lpi (93%) rename {debugger/fpdebug => components/fpdebug/app}/fpdd/fpdumpdwarf.lpr (97%) rename debugger/fpdebug/dbgclasses.pp => components/fpdebug/fpdbgclasses.pp (99%) rename debugger/fpdebug/dbgdisasx86.pp => components/fpdebug/fpdbgdisasx86.pp (99%) rename debugger/fpdebug/dbgdwarf.pas => components/fpdebug/fpdbgdwarf.pas (99%) rename debugger/fpdebug/dbgdwarfconst.pas => components/fpdebug/fpdbgdwarfconst.pas (99%) rename debugger/fpdebug/dbgloader.pp => components/fpdebug/fpdbgloader.pp (98%) rename debugger/fpdebug/dbgpetypes.pp => components/fpdebug/fpdbgpetypes.pp (99%) rename debugger/fpdebug/dbgsymbols.pas => components/fpdebug/fpdbgsymbols.pas (97%) rename debugger/fpdebug/dbgutil.pp => components/fpdebug/fpdbgutil.pp (97%) rename debugger/fpdebug/dbgwinextra.pp => components/fpdebug/fpdbgwinextra.pp (97%) create mode 100644 components/fpdebug/fpdebug.lpk rename {debugger => components}/fpdebug/test/asmtest.lpi (100%) rename {debugger => components}/fpdebug/test/asmtest.lpr (100%) rename {debugger => components}/fpdebug/test/asmtestunit.lfm (100%) rename {debugger => components}/fpdebug/test/asmtestunit.lrs (100%) rename {debugger => components}/fpdebug/test/asmtestunit.pas (100%) create mode 100644 packager/globallinks/fpdebug-0.lpl diff --git a/.gitattributes b/.gitattributes index 115f525e37..759a695759 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1191,6 +1191,31 @@ components/fpcunit/languages/guitestrunner.pt_BR.po svneol=native#text/plain components/fpcunit/languages/guitestrunner.ru.po svneol=native#text/plain components/fpcunit/languages/guitestrunner.uk.po svneol=native#text/plain components/fpcunit/lib/README.txt svneol=native#text/plain +components/fpdebug/app/fpd/README.txt svneol=native#text/plain +components/fpdebug/app/fpd/fpd.lpi svneol=native#text/pascal +components/fpdebug/app/fpd/fpd.lpr svneol=native#text/pascal +components/fpdebug/app/fpd/fpdcommand.pas svneol=native#text/pascal +components/fpdebug/app/fpd/fpdglobal.pas svneol=native#text/pascal +components/fpdebug/app/fpd/fpdloop.pas svneol=native#text/pascal +components/fpdebug/app/fpd/fpdpeimage.pas svneol=native#text/pascal +components/fpdebug/app/fpd/fpdtype.pas svneol=native#text/pascal +components/fpdebug/app/fpdd/fpdumpdwarf.lpi svneol=native#text/plain +components/fpdebug/app/fpdd/fpdumpdwarf.lpr svneol=native#text/pascal +components/fpdebug/fpdbgclasses.pp svneol=native#text/pascal +components/fpdebug/fpdbgdisasx86.pp svneol=native#text/plain +components/fpdebug/fpdbgdwarf.pas svneol=native#text/pascal +components/fpdebug/fpdbgdwarfconst.pas svneol=native#text/pascal +components/fpdebug/fpdbgloader.pp svneol=native#text/pascal +components/fpdebug/fpdbgpetypes.pp svneol=native#text/pascal +components/fpdebug/fpdbgsymbols.pas svneol=native#text/pascal +components/fpdebug/fpdbgutil.pp svneol=native#text/pascal +components/fpdebug/fpdbgwinextra.pp svneol=native#text/pascal +components/fpdebug/fpdebug.lpk svneol=native#text/pascal +components/fpdebug/test/asmtest.lpi svneol=native#text/plain +components/fpdebug/test/asmtest.lpr svneol=native#text/pascal +components/fpdebug/test/asmtestunit.lfm svneol=native#text/plain +components/fpdebug/test/asmtestunit.lrs svneol=native#text/pascal +components/fpdebug/test/asmtestunit.pas svneol=native#text/pascal components/fppkg/images/archive.png -text components/fppkg/images/broken.png -text components/fppkg/images/build.png -text @@ -3678,30 +3703,6 @@ debugger/exceptiondlg.lfm svneol=native#text/plain debugger/exceptiondlg.pas svneol=native#text/pascal debugger/feedbackdlg.lfm svneol=native#text/plain debugger/feedbackdlg.pp svneol=native#text/pascal -debugger/fpdebug/dbgclasses.pp svneol=native#text/pascal -debugger/fpdebug/dbgdisasx86.pp svneol=native#text/plain -debugger/fpdebug/dbgdwarf.pas svneol=native#text/pascal -debugger/fpdebug/dbgdwarfconst.pas svneol=native#text/pascal -debugger/fpdebug/dbgloader.pp svneol=native#text/pascal -debugger/fpdebug/dbgpetypes.pp svneol=native#text/pascal -debugger/fpdebug/dbgsymbols.pas svneol=native#text/pascal -debugger/fpdebug/dbgutil.pp svneol=native#text/pascal -debugger/fpdebug/dbgwinextra.pp svneol=native#text/pascal -debugger/fpdebug/fpd/README.txt svneol=native#text/plain -debugger/fpdebug/fpd/fpd.lpi svneol=native#text/pascal -debugger/fpdebug/fpd/fpd.lpr svneol=native#text/pascal -debugger/fpdebug/fpd/fpdcommand.pas svneol=native#text/pascal -debugger/fpdebug/fpd/fpdglobal.pas svneol=native#text/pascal -debugger/fpdebug/fpd/fpdloop.pas svneol=native#text/pascal -debugger/fpdebug/fpd/fpdpeimage.pas svneol=native#text/pascal -debugger/fpdebug/fpd/fpdtype.pas svneol=native#text/pascal -debugger/fpdebug/fpdd/fpdumpdwarf.lpi svneol=native#text/plain -debugger/fpdebug/fpdd/fpdumpdwarf.lpr svneol=native#text/pascal -debugger/fpdebug/test/asmtest.lpi svneol=native#text/plain -debugger/fpdebug/test/asmtest.lpr svneol=native#text/pascal -debugger/fpdebug/test/asmtestunit.lfm svneol=native#text/plain -debugger/fpdebug/test/asmtestunit.lrs svneol=native#text/pascal -debugger/fpdebug/test/asmtestunit.pas svneol=native#text/pascal debugger/frames/debugger_eventlog_options.lfm svneol=native#text/plain debugger/frames/debugger_eventlog_options.pas svneol=native#text/pascal debugger/frames/debugger_general_options.lfm svneol=native#text/plain @@ -6874,6 +6875,7 @@ packager/globallinks/filefindlaz-1.0.2.lpl svneol=native#text/plain packager/globallinks/fpcunitconsolerunner-1.lpl svneol=native#text/plain packager/globallinks/fpcunitide-0.1.lpl svneol=native#text/plain packager/globallinks/fpcunittestrunner-0.1.lpl svneol=native#text/plain +packager/globallinks/fpdebug-0.lpl svneol=native#text/pascal packager/globallinks/fpvectorialpkg-0.lpl svneol=native#text/plain packager/globallinks/h2paswizard-0.lpl svneol=native#text/plain packager/globallinks/ide-0.lpl svneol=native#text/plain diff --git a/.gitignore b/.gitignore index 4b34332fa6..70786d3508 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,12 @@ components/fpcunit/ide/units components/fpcunit/lib/*.bak components/fpcunit/lib/units components/fpcunit/units +components/fpdebug/app/fpd/*.bak +components/fpdebug/app/fpd/units +components/fpdebug/app/fpdd/*.bak +components/fpdebug/app/fpdd/units +components/fpdebug/test/*.bak +components/fpdebug/test/units components/h2pas/*.bak components/h2pas/languages/*.bak components/h2pas/languages/units @@ -291,12 +297,6 @@ debian/*.bak debian/units debugger/*.bak debugger/fpdebug/*.bak -debugger/fpdebug/fpd/*.bak -debugger/fpdebug/fpd/units -debugger/fpdebug/fpdd/*.bak -debugger/fpdebug/fpdd/units -debugger/fpdebug/test/*.bak -debugger/fpdebug/test/units debugger/fpdebug/units debugger/test/*.bak debugger/test/examples/*.bak diff --git a/debugger/fpdebug/fpd/README.txt b/components/fpdebug/app/fpd/README.txt similarity index 100% rename from debugger/fpdebug/fpd/README.txt rename to components/fpdebug/app/fpd/README.txt diff --git a/debugger/fpdebug/fpd/fpd.lpi b/components/fpdebug/app/fpd/fpd.lpi similarity index 93% rename from debugger/fpdebug/fpd/fpd.lpi rename to components/fpdebug/app/fpd/fpd.lpi index 8fc73d9860..a2b6fd09c5 100644 --- a/debugger/fpdebug/fpd/fpd.lpi +++ b/components/fpdebug/app/fpd/fpd.lpi @@ -1,4 +1,4 @@ - + @@ -7,7 +7,6 @@ - @@ -34,10 +33,13 @@ - + - + + + + @@ -59,7 +61,6 @@ - diff --git a/debugger/fpdebug/fpd/fpd.lpr b/components/fpdebug/app/fpd/fpd.lpr similarity index 97% rename from debugger/fpdebug/fpd/fpd.lpr rename to components/fpdebug/app/fpd/fpd.lpr index 65c6281fbf..c8ae977b24 100644 --- a/debugger/fpdebug/fpd/fpd.lpr +++ b/components/fpdebug/app/fpd/fpd.lpr @@ -44,7 +44,7 @@ uses FPDLoop, FPDPEImage, FPDType, - DbgClasses, DbgWinExtra, DbgPETypes, DbgDwarfConst, DbgDwarf; + FpDbgClasses, FpDbgWinExtra, FpDbgPETypes, FpDbgDwarfConst, FpDbgDwarf; function CtrlCHandler(CtrlType: Cardinal): BOOL; stdcall; begin diff --git a/debugger/fpdebug/fpd/fpdcommand.pas b/components/fpdebug/app/fpd/fpdcommand.pas similarity index 99% rename from debugger/fpdebug/fpd/fpdcommand.pas rename to components/fpdebug/app/fpd/fpdcommand.pas index 66974b4897..4acf383834 100644 --- a/debugger/fpdebug/fpd/fpdcommand.pas +++ b/components/fpdebug/app/fpd/fpdcommand.pas @@ -36,7 +36,7 @@ unit FPDCommand; interface uses - SysUtils, Classes, Windows, LCLProc, DbgWinExtra, DbgClasses; + SysUtils, Classes, Windows, LCLProc, FpDbgWinExtra, FpDbgClasses; procedure HandleCommand(ACommand: String); diff --git a/debugger/fpdebug/fpd/fpdglobal.pas b/components/fpdebug/app/fpd/fpdglobal.pas similarity index 97% rename from debugger/fpdebug/fpd/fpdglobal.pas rename to components/fpdebug/app/fpd/fpdglobal.pas index 5f5f7d651b..c84ae14b8e 100644 --- a/debugger/fpdebug/fpd/fpdglobal.pas +++ b/components/fpdebug/app/fpd/fpdglobal.pas @@ -36,7 +36,7 @@ unit FPDGlobal; interface uses - SysUtils, Windows, FPDType, Maps, DbgUtil, DbgClasses, DbgWinExtra; + SysUtils, Windows, FPDType, Maps, FpDbgUtil, FpDbgClasses, FpDbgWinExtra; type TFPDState = (dsStop, dsRun, dsPause, dsQuit, dsEvent); diff --git a/debugger/fpdebug/fpd/fpdloop.pas b/components/fpdebug/app/fpd/fpdloop.pas similarity index 99% rename from debugger/fpdebug/fpd/fpdloop.pas rename to components/fpdebug/app/fpd/fpdloop.pas index c6b728b18b..5c2620ccc0 100644 --- a/debugger/fpdebug/fpd/fpdloop.pas +++ b/components/fpdebug/app/fpd/fpdloop.pas @@ -37,7 +37,7 @@ unit FPDLoop; interface uses - Windows, Classes, SysUtils, FileUtil, DbgClasses, DbgWinExtra, DbgDisasX86; + Windows, Classes, SysUtils, FileUtil, FpDbgClasses, FpDbgWinExtra, FpDbgDisasX86; procedure DebugLoop; diff --git a/debugger/fpdebug/fpd/fpdpeimage.pas b/components/fpdebug/app/fpd/fpdpeimage.pas similarity index 99% rename from debugger/fpdebug/fpd/fpdpeimage.pas rename to components/fpdebug/app/fpd/fpdpeimage.pas index 701cc71b9e..5d98e63fac 100644 --- a/debugger/fpdebug/fpd/fpdpeimage.pas +++ b/components/fpdebug/app/fpd/fpdpeimage.pas @@ -37,7 +37,7 @@ unit FPDPEImage; interface uses - Windows, SysUtils, FPDGLobal, DbgClasses, DbgPETypes; + Windows, SysUtils, FPDGLobal, FpDbgClasses, FpDbgPETypes; procedure DumpPEImage(const AProcessHandle: THandle; const AAddress: TDbgPtr); diff --git a/debugger/fpdebug/fpd/fpdtype.pas b/components/fpdebug/app/fpd/fpdtype.pas similarity index 100% rename from debugger/fpdebug/fpd/fpdtype.pas rename to components/fpdebug/app/fpd/fpdtype.pas diff --git a/debugger/fpdebug/fpdd/fpdumpdwarf.lpi b/components/fpdebug/app/fpdd/fpdumpdwarf.lpi similarity index 93% rename from debugger/fpdebug/fpdd/fpdumpdwarf.lpi rename to components/fpdebug/app/fpdd/fpdumpdwarf.lpi index dd1c2b52d7..0b14e7bf09 100644 --- a/debugger/fpdebug/fpdd/fpdumpdwarf.lpi +++ b/components/fpdebug/app/fpdd/fpdumpdwarf.lpi @@ -1,4 +1,4 @@ - + @@ -33,10 +33,13 @@ - + - + + + + @@ -58,7 +61,6 @@ - diff --git a/debugger/fpdebug/fpdd/fpdumpdwarf.lpr b/components/fpdebug/app/fpdd/fpdumpdwarf.lpr similarity index 97% rename from debugger/fpdebug/fpdd/fpdumpdwarf.lpr rename to components/fpdebug/app/fpdd/fpdumpdwarf.lpr index d69434cfd2..3208496bac 100644 --- a/debugger/fpdebug/fpdd/fpdumpdwarf.lpr +++ b/components/fpdebug/app/fpdd/fpdumpdwarf.lpr @@ -37,7 +37,7 @@ program FPDumpDwarf; uses Classes, Windows, SysUtils, maps, - DbgPETypes, DbgDwarfConst, DbgSymbols, DbgLoader, DbgDwarf; + FpDbgPETypes, FpDbgDwarfConst, FpDbgSymbols, FpDbgLoader, FpDbgDwarf; var n, idx: Integer; diff --git a/debugger/fpdebug/dbgclasses.pp b/components/fpdebug/fpdbgclasses.pp similarity index 99% rename from debugger/fpdebug/dbgclasses.pp rename to components/fpdebug/fpdbgclasses.pp index 078bc4c2c2..a7994578b3 100644 --- a/debugger/fpdebug/dbgclasses.pp +++ b/components/fpdebug/fpdbgclasses.pp @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgclasses.pp - Native freepascal debugger + fpdbgclasses.pp - Native freepascal debugger --------------------------------------------------------------------------- This unit contains debugger classes for a native freepascal debugger @@ -31,12 +31,12 @@ * * *************************************************************************** } -unit DbgClasses; +unit FpDbgClasses; {$mode objfpc}{$H+} interface uses - Windows, Classes, Maps, DbgUtil, DbgWinExtra, DbgLoader; + Windows, Classes, Maps, FpDbgUtil, FpDbgWinExtra, FpDbgLoader; type TDbgPtr = QWord; // PtrUInt; @@ -266,7 +266,7 @@ type implementation uses - SysUtils, DbgDwarf; + SysUtils, FpDbgDwarf; procedure LogLastError; begin diff --git a/debugger/fpdebug/dbgdisasx86.pp b/components/fpdebug/fpdbgdisasx86.pp similarity index 99% rename from debugger/fpdebug/dbgdisasx86.pp rename to components/fpdebug/fpdbgdisasx86.pp index d392c7d031..9501d85459 100644 --- a/debugger/fpdebug/dbgdisasx86.pp +++ b/components/fpdebug/fpdbgdisasx86.pp @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgdisasx86.pp - Native Freepascal debugger - x86 Disassembler + fpdbgdisasx86.pp - Native Freepascal debugger - x86 Disassembler --------------------------------------------------------------------------- This unit contains a x86 disassembler for the Native Freepascal debugger @@ -31,7 +31,7 @@ * * *************************************************************************** } -unit DbgDisasX86; +unit FpDbgDisasX86; {$mode objfpc}{$H+} interface @@ -39,7 +39,7 @@ interface {.$define verbose_string_instructions} uses - SysUtils, Windows, DbgUtil, DbgWinExtra, DbgClasses; + SysUtils, Windows, FpDbgUtil, FpDbgWinExtra, FpDbgClasses; { The function Disassemble decodes the instruction at the given address. diff --git a/debugger/fpdebug/dbgdwarf.pas b/components/fpdebug/fpdbgdwarf.pas similarity index 99% rename from debugger/fpdebug/dbgdwarf.pas rename to components/fpdebug/fpdbgdwarf.pas index 9b939c1a11..6b027ecff2 100644 --- a/debugger/fpdebug/dbgdwarf.pas +++ b/components/fpdebug/fpdbgdwarf.pas @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgdwarf.pas - Native Freepascal debugger - Dwarf symbol reader + fpdbgdwarf.pas - Native Freepascal debugger - Dwarf symbol reader --------------------------------------------------------------------------- This unit contains helper classes for loading and resolving of DWARF debug @@ -32,15 +32,15 @@ * * *************************************************************************** } -unit DbgDwarf; +unit FpDbgDwarf; {$mode objfpc}{$H+} interface uses - Classes, Types, SysUtils, DbgClasses, DbgDwarfConst, Maps, Math, - DbgLoader, DbgWinExtra, contnrs; + Classes, Types, SysUtils, FpDbgClasses, FpDbgDwarfConst, Maps, Math, + FpDbgLoader, FpDbgWinExtra, contnrs; type // compilation unit header diff --git a/debugger/fpdebug/dbgdwarfconst.pas b/components/fpdebug/fpdbgdwarfconst.pas similarity index 99% rename from debugger/fpdebug/dbgdwarfconst.pas rename to components/fpdebug/fpdbgdwarfconst.pas index 5d5393c77d..5917507284 100644 --- a/debugger/fpdebug/dbgdwarfconst.pas +++ b/components/fpdebug/fpdbgdwarfconst.pas @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgdwarfconst.pas - Freepascal debugger - Dwarf constants + fpdbgdwarfconst.pas - Freepascal debugger - Dwarf constants --------------------------------------------------------------------------- This unit contains the constants defined for the dward debugging format. @@ -19,7 +19,7 @@ for details about the license. ***************************************************************************** } -unit DbgDwarfConst; +unit FpDbgDwarfConst; {$mode objfpc}{$H+} diff --git a/debugger/fpdebug/dbgloader.pp b/components/fpdebug/fpdbgloader.pp similarity index 98% rename from debugger/fpdebug/dbgloader.pp rename to components/fpdebug/fpdbgloader.pp index 01846eaf63..09ea9e403e 100644 --- a/debugger/fpdebug/dbgloader.pp +++ b/components/fpdebug/fpdbgloader.pp @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgloader.pp - Native Freepascal debugger - Section loader + fpdbgloader.pp - Native Freepascal debugger - Section loader --------------------------------------------------------------------------- This unit contains helper classes for loading secions form images. @@ -31,7 +31,7 @@ * * *************************************************************************** } -unit DbgLoader; +unit FpDbgLoader; {$mode objfpc}{$H+} @@ -41,7 +41,7 @@ uses {$ifdef windows} Windows, {$endif} - Classes, SysUtils, DbgPETypes; + Classes, SysUtils, FpDbgPETypes; type TDbgImageSection = record diff --git a/debugger/fpdebug/dbgpetypes.pp b/components/fpdebug/fpdbgpetypes.pp similarity index 99% rename from debugger/fpdebug/dbgpetypes.pp rename to components/fpdebug/fpdbgpetypes.pp index 213e0a5a61..2f6381c62f 100644 --- a/debugger/fpdebug/dbgpetypes.pp +++ b/components/fpdebug/fpdbgpetypes.pp @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgpetypes.pp - Freepascal debugger - PE types + fpdbgpetypes.pp - Freepascal debugger - PE types --------------------------------------------------------------------------- This unit contains the types needed for reading PE images. @@ -20,7 +20,7 @@ for details about the license. ***************************************************************************** } -unit DbgPETypes; +unit FpDbgPETypes; {$mode objfpc}{$H+}{$inline on} interface diff --git a/debugger/fpdebug/dbgsymbols.pas b/components/fpdebug/fpdbgsymbols.pas similarity index 97% rename from debugger/fpdebug/dbgsymbols.pas rename to components/fpdebug/fpdbgsymbols.pas index ed91941381..455695f134 100644 --- a/debugger/fpdebug/dbgsymbols.pas +++ b/components/fpdebug/fpdbgsymbols.pas @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgsymbols.pas - Native freepascal debugger - Symbol loader/resolver + fpdbgsymbols.pas - Native freepascal debugger - Symbol loader/resolver --------------------------------------------------------------------------- This unit contains helper classes for loading and resolving of debug symbols @@ -31,14 +31,14 @@ * * *************************************************************************** } -unit DbgSymbols; +unit FpDbgSymbols; {$mode objfpc}{$H+} interface uses - Windows, Classes, SysUtils, DbgClasses, DbgWinExtra, DbgPETypes, DbgDwarf, DbgUtil; + Windows, Classes, SysUtils, FpDbgClasses, FpDbgWinExtra, FpDbgPETypes, FpDbgDwarf, FpDbgUtil; procedure AddSymbols(AParent: TDbgSymbol; AModule: THandle); diff --git a/debugger/fpdebug/dbgutil.pp b/components/fpdebug/fpdbgutil.pp similarity index 97% rename from debugger/fpdebug/dbgutil.pp rename to components/fpdebug/fpdbgutil.pp index 2d2e3fbed0..e40a0e5380 100644 --- a/debugger/fpdebug/dbgutil.pp +++ b/components/fpdebug/fpdbgutil.pp @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgutil.pp - Native freepascal debugger - Utilities + fpdbgutil.pp - Native freepascal debugger - Utilities --------------------------------------------------------------------------- This unit contains utility functions @@ -31,7 +31,7 @@ * * *************************************************************************** } -unit DbgUtil; +unit FpDbgUtil; {$mode objfpc}{$H+} diff --git a/debugger/fpdebug/dbgwinextra.pp b/components/fpdebug/fpdbgwinextra.pp similarity index 97% rename from debugger/fpdebug/dbgwinextra.pp rename to components/fpdebug/fpdbgwinextra.pp index 7856a7fe18..cd2c043e5a 100644 --- a/debugger/fpdebug/dbgwinextra.pp +++ b/components/fpdebug/fpdbgwinextra.pp @@ -1,7 +1,7 @@ { $Id$ } { --------------------------------------------------------------------------- - dbgwinextra.pp - Native Freepascal debugger - Extra windows utilities + fpdbgwinextra.pp - Native Freepascal debugger - Extra windows utilities --------------------------------------------------------------------------- This unit contains utility functions and missing win32/64 API @@ -31,7 +31,7 @@ * * *************************************************************************** } -unit DbgWinExtra; +unit FpDbgWinExtra; {$mode objfpc}{$H+} diff --git a/components/fpdebug/fpdebug.lpk b/components/fpdebug/fpdebug.lpk new file mode 100644 index 0000000000..f32b8e3d64 --- /dev/null +++ b/components/fpdebug/fpdebug.lpk @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/debugger/fpdebug/test/asmtest.lpi b/components/fpdebug/test/asmtest.lpi similarity index 100% rename from debugger/fpdebug/test/asmtest.lpi rename to components/fpdebug/test/asmtest.lpi diff --git a/debugger/fpdebug/test/asmtest.lpr b/components/fpdebug/test/asmtest.lpr similarity index 100% rename from debugger/fpdebug/test/asmtest.lpr rename to components/fpdebug/test/asmtest.lpr diff --git a/debugger/fpdebug/test/asmtestunit.lfm b/components/fpdebug/test/asmtestunit.lfm similarity index 100% rename from debugger/fpdebug/test/asmtestunit.lfm rename to components/fpdebug/test/asmtestunit.lfm diff --git a/debugger/fpdebug/test/asmtestunit.lrs b/components/fpdebug/test/asmtestunit.lrs similarity index 100% rename from debugger/fpdebug/test/asmtestunit.lrs rename to components/fpdebug/test/asmtestunit.lrs diff --git a/debugger/fpdebug/test/asmtestunit.pas b/components/fpdebug/test/asmtestunit.pas similarity index 100% rename from debugger/fpdebug/test/asmtestunit.pas rename to components/fpdebug/test/asmtestunit.pas diff --git a/packager/globallinks/fpdebug-0.lpl b/packager/globallinks/fpdebug-0.lpl new file mode 100644 index 0000000000..e4f29947e7 --- /dev/null +++ b/packager/globallinks/fpdebug-0.lpl @@ -0,0 +1 @@ +$(LazarusDir)/components/fpdebug.lpk