From 63a6ce4f32c37d1779d9e3bf21149798cd3947d6 Mon Sep 17 00:00:00 2001 From: Martin Date: Sat, 18 Jun 2022 12:45:37 +0200 Subject: [PATCH] FpDebug: added IFDEF $INLINE OFF --- components/fpdebug/fpdbgcallcontextinfo.pas | 2 +- components/fpdebug/fpdbgclasses.pp | 1 + components/fpdebug/fpdbgcommon.pas | 1 + components/fpdebug/fpdbgcontroller.pas | 1 + components/fpdebug/fpdbgdarwinclasses.pas | 1 + components/fpdebug/fpdbgdisasavr.pp | 1 + components/fpdebug/fpdbgdisasx86.pp | 1 + components/fpdebug/fpdbgdwarf.pas | 2 +- components/fpdebug/fpdbgdwarfconst.pas | 1 + components/fpdebug/fpdbgdwarfdataclasses.pas | 2 +- components/fpdebug/fpdbgdwarffreepascal.pas | 1 + components/fpdebug/fpdbgdwarfverboseprinter.pas | 1 + components/fpdebug/fpdbghardcodedfreepascalinfo.pas | 1 + components/fpdebug/fpdbginfo.pas | 1 + components/fpdebug/fpdbglinuxclasses.pas | 1 + components/fpdebug/fpdbgloader.pp | 1 + components/fpdebug/fpdbgpetypes.pp | 1 + components/fpdebug/fpdbgsymbols.pas | 1 + components/fpdebug/fpdbgsymtable.pas | 1 + components/fpdebug/fpdbgsymtablecontext.pas | 1 + components/fpdebug/fpdbgutil.pp | 1 + components/fpdebug/fpdbgwinclasses.pas | 1 + components/fpdebug/fpdmemorytools.pas | 1 + components/fpdebug/fperrormessages.pas | 1 + components/fpdebug/fpimgreaderbase.pas | 1 + components/fpdebug/fpimgreaderelf.pas | 1 + components/fpdebug/fpimgreadermacho.pas | 1 + components/fpdebug/fpimgreaderwinpe.pas | 1 + components/fpdebug/fppascalbuilder.pas | 1 + components/fpdebug/fppascalparser.pas | 1 + components/fpdebug/fpwatchresultdata.pas | 1 + 31 files changed, 31 insertions(+), 3 deletions(-) diff --git a/components/fpdebug/fpdbgcallcontextinfo.pas b/components/fpdebug/fpdbgcallcontextinfo.pas index 93e3188df8..ba777a21bd 100644 --- a/components/fpdebug/fpdbgcallcontextinfo.pas +++ b/components/fpdebug/fpdbgcallcontextinfo.pas @@ -1,7 +1,7 @@ unit FpDbgCallContextInfo; {$mode objfpc}{$H+} - +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface uses diff --git a/components/fpdebug/fpdbgclasses.pp b/components/fpdebug/fpdbgclasses.pp index 67323d190c..b5b9314926 100644 --- a/components/fpdebug/fpdbgclasses.pp +++ b/components/fpdebug/fpdbgclasses.pp @@ -34,6 +34,7 @@ unit FpDbgClasses; {$mode objfpc}{$H+} {$TYPEDADDRESS on} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgcommon.pas b/components/fpdebug/fpdbgcommon.pas index f6c23320a7..ea962f9921 100644 --- a/components/fpdebug/fpdbgcommon.pas +++ b/components/fpdebug/fpdbgcommon.pas @@ -1,6 +1,7 @@ unit FpDbgCommon; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgcontroller.pas b/components/fpdebug/fpdbgcontroller.pas index 33dc705207..a161ea0f3a 100644 --- a/components/fpdebug/fpdbgcontroller.pas +++ b/components/fpdebug/fpdbgcontroller.pas @@ -2,6 +2,7 @@ unit FPDbgController; {$mode objfpc}{$H+} {$TYPEDADDRESS on} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgdarwinclasses.pas b/components/fpdebug/fpdbgdarwinclasses.pas index b2786e2696..5efbfd7001 100644 --- a/components/fpdebug/fpdbgdarwinclasses.pas +++ b/components/fpdebug/fpdbgdarwinclasses.pas @@ -2,6 +2,7 @@ unit FpDbgDarwinClasses; {$mode objfpc}{$H+} {$linkframework Security} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgdisasavr.pp b/components/fpdebug/fpdbgdisasavr.pp index 86f53b3f77..b812eefd1e 100644 --- a/components/fpdebug/fpdbgdisasavr.pp +++ b/components/fpdebug/fpdbgdisasavr.pp @@ -33,6 +33,7 @@ } unit FpDbgDisasAvr; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface uses diff --git a/components/fpdebug/fpdbgdisasx86.pp b/components/fpdebug/fpdbgdisasx86.pp index c81e577a60..70e3bbf86b 100644 --- a/components/fpdebug/fpdbgdisasx86.pp +++ b/components/fpdebug/fpdbgdisasx86.pp @@ -33,6 +33,7 @@ } unit FpDbgDisasX86; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface {.$define debug_OperandSize} diff --git a/components/fpdebug/fpdbgdwarf.pas b/components/fpdebug/fpdbgdwarf.pas index a476f8cf87..fd81cb51d9 100644 --- a/components/fpdebug/fpdbgdwarf.pas +++ b/components/fpdebug/fpdbgdwarf.pas @@ -36,7 +36,7 @@ unit FpDbgDwarf; {$mode objfpc}{$H+} {$TYPEDADDRESS on} -{off $INLINE OFF} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} (* Notes: diff --git a/components/fpdebug/fpdbgdwarfconst.pas b/components/fpdebug/fpdbgdwarfconst.pas index 7f4e9100fc..d74a243172 100644 --- a/components/fpdebug/fpdbgdwarfconst.pas +++ b/components/fpdebug/fpdbgdwarfconst.pas @@ -22,6 +22,7 @@ unit FpDbgDwarfConst; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgdwarfdataclasses.pas b/components/fpdebug/fpdbgdwarfdataclasses.pas index e89d43384f..2dfd6ad487 100644 --- a/components/fpdebug/fpdbgdwarfdataclasses.pas +++ b/components/fpdebug/fpdbgdwarfdataclasses.pas @@ -36,7 +36,7 @@ unit FpDbgDwarfDataClasses; {$mode objfpc}{$H+} {$ModeSwitch advancedrecords} -//{$INLINE OFF} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} {off $DEFINE USE_ABBREV_TMAP} interface diff --git a/components/fpdebug/fpdbgdwarffreepascal.pas b/components/fpdebug/fpdbgdwarffreepascal.pas index 486eb51bf0..e80a6eb06e 100644 --- a/components/fpdebug/fpdbgdwarffreepascal.pas +++ b/components/fpdebug/fpdbgdwarffreepascal.pas @@ -2,6 +2,7 @@ unit FpDbgDwarfFreePascal; {$mode objfpc}{$H+} {$TYPEDADDRESS on} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgdwarfverboseprinter.pas b/components/fpdebug/fpdbgdwarfverboseprinter.pas index 821e3c2521..9d31dd01ca 100644 --- a/components/fpdebug/fpdbgdwarfverboseprinter.pas +++ b/components/fpdebug/fpdbgdwarfverboseprinter.pas @@ -1,6 +1,7 @@ unit FpDbgDwarfVerbosePrinter; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbghardcodedfreepascalinfo.pas b/components/fpdebug/fpdbghardcodedfreepascalinfo.pas index fece010398..993ee0292a 100644 --- a/components/fpdebug/fpdbghardcodedfreepascalinfo.pas +++ b/components/fpdebug/fpdbghardcodedfreepascalinfo.pas @@ -34,6 +34,7 @@ unit FpDbgHardcodedFreepascalInfo; debug-information when the proper debug-information is not available. } {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} {$IF FPC_FULLVERSION>30100} {$DEFINE HasGenObjDict} diff --git a/components/fpdebug/fpdbginfo.pas b/components/fpdebug/fpdbginfo.pas index 0e0b026016..f28e96e76f 100644 --- a/components/fpdebug/fpdbginfo.pas +++ b/components/fpdebug/fpdbginfo.pas @@ -36,6 +36,7 @@ unit FpDbgInfo; *) {$mode objfpc}{$H+} {$TYPEDADDRESS on} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbglinuxclasses.pas b/components/fpdebug/fpdbglinuxclasses.pas index 48ece7ced0..5f1ebb9132 100644 --- a/components/fpdebug/fpdbglinuxclasses.pas +++ b/components/fpdebug/fpdbglinuxclasses.pas @@ -1,6 +1,7 @@ unit FpDbgLinuxClasses; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} {$packrecords c} {$modeswitch advancedrecords} {off $define DebuglnLinuxDebugEvents} diff --git a/components/fpdebug/fpdbgloader.pp b/components/fpdebug/fpdbgloader.pp index 6e4c7cfc6b..301fb9ebb9 100644 --- a/components/fpdebug/fpdbgloader.pp +++ b/components/fpdebug/fpdbgloader.pp @@ -36,6 +36,7 @@ unit FpDbgLoader; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgpetypes.pp b/components/fpdebug/fpdbgpetypes.pp index d480d36a26..7442e23e53 100644 --- a/components/fpdebug/fpdbgpetypes.pp +++ b/components/fpdebug/fpdbgpetypes.pp @@ -22,6 +22,7 @@ } unit FpDbgPETypes; {$mode objfpc}{$H+}{$inline on} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface {$ifdef windows} uses diff --git a/components/fpdebug/fpdbgsymbols.pas b/components/fpdebug/fpdbgsymbols.pas index cb630f3165..e9006c7067 100644 --- a/components/fpdebug/fpdbgsymbols.pas +++ b/components/fpdebug/fpdbgsymbols.pas @@ -34,6 +34,7 @@ unit FpDbgSymbols; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgsymtable.pas b/components/fpdebug/fpdbgsymtable.pas index a911dab9ac..88acb474f2 100644 --- a/components/fpdebug/fpdbgsymtable.pas +++ b/components/fpdebug/fpdbgsymtable.pas @@ -1,6 +1,7 @@ unit fpDbgSymTable; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgsymtablecontext.pas b/components/fpdebug/fpdbgsymtablecontext.pas index 8260c35902..666adc10ae 100644 --- a/components/fpdebug/fpdbgsymtablecontext.pas +++ b/components/fpdebug/fpdbgsymtablecontext.pas @@ -1,6 +1,7 @@ unit fpDbgSymTableContext; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgutil.pp b/components/fpdebug/fpdbgutil.pp index 5e07d8a4cf..1f2005cdd8 100644 --- a/components/fpdebug/fpdbgutil.pp +++ b/components/fpdebug/fpdbgutil.pp @@ -34,6 +34,7 @@ unit FpDbgUtil; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpdbgwinclasses.pas b/components/fpdebug/fpdbgwinclasses.pas index 4b3359576d..53ce8e2942 100644 --- a/components/fpdebug/fpdbgwinclasses.pas +++ b/components/fpdebug/fpdbgwinclasses.pas @@ -102,6 +102,7 @@ unit FpDbgWinClasses; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} {off $DEFINE DebuglnWinDebugEvents} interface diff --git a/components/fpdebug/fpdmemorytools.pas b/components/fpdebug/fpdmemorytools.pas index 38ca5b8c6b..5e9577f8a9 100644 --- a/components/fpdebug/fpdmemorytools.pas +++ b/components/fpdebug/fpdmemorytools.pas @@ -1,6 +1,7 @@ unit FpdMemoryTools; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} {$HINT 5024 OFF} (* Tools to read data from Target or Own memory. diff --git a/components/fpdebug/fperrormessages.pas b/components/fpdebug/fperrormessages.pas index a0a07de01b..2dd736e52d 100644 --- a/components/fpdebug/fperrormessages.pas +++ b/components/fpdebug/fperrormessages.pas @@ -1,6 +1,7 @@ unit FpErrorMessages; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpimgreaderbase.pas b/components/fpdebug/fpimgreaderbase.pas index a7412f5bd1..ff67bc6324 100644 --- a/components/fpdebug/fpimgreaderbase.pas +++ b/components/fpdebug/fpimgreaderbase.pas @@ -1,6 +1,7 @@ unit FpImgReaderBase; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} {$modeswitch advancedrecords} interface diff --git a/components/fpdebug/fpimgreaderelf.pas b/components/fpdebug/fpimgreaderelf.pas index eafd627c00..3c609ccc61 100644 --- a/components/fpdebug/fpimgreaderelf.pas +++ b/components/fpdebug/fpimgreaderelf.pas @@ -27,6 +27,7 @@ unit FpImgReaderElf; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpimgreadermacho.pas b/components/fpdebug/fpimgreadermacho.pas index 9f65088612..b979f976a2 100644 --- a/components/fpdebug/fpimgreadermacho.pas +++ b/components/fpdebug/fpimgreadermacho.pas @@ -1,6 +1,7 @@ unit FpImgReaderMacho; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fpimgreaderwinpe.pas b/components/fpdebug/fpimgreaderwinpe.pas index d28e28eab1..10ded83919 100644 --- a/components/fpdebug/fpimgreaderwinpe.pas +++ b/components/fpdebug/fpimgreaderwinpe.pas @@ -35,6 +35,7 @@ unit FpImgReaderWinPE; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface diff --git a/components/fpdebug/fppascalbuilder.pas b/components/fpdebug/fppascalbuilder.pas index 1946256605..a4b87bb13e 100644 --- a/components/fpdebug/fppascalbuilder.pas +++ b/components/fpdebug/fppascalbuilder.pas @@ -1,6 +1,7 @@ unit FpPascalBuilder; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} {$TYPEDADDRESS on} interface diff --git a/components/fpdebug/fppascalparser.pas b/components/fpdebug/fppascalparser.pas index 441879c9b7..dd12fc5335 100644 --- a/components/fpdebug/fppascalparser.pas +++ b/components/fpdebug/fppascalparser.pas @@ -25,6 +25,7 @@ unit FpPascalParser; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} {$TYPEDADDRESS on} interface diff --git a/components/fpdebug/fpwatchresultdata.pas b/components/fpdebug/fpwatchresultdata.pas index aee81fa41e..55acf6e2bd 100644 --- a/components/fpdebug/fpwatchresultdata.pas +++ b/components/fpdebug/fpwatchresultdata.pas @@ -1,6 +1,7 @@ unit FpWatchResultData; {$mode objfpc}{$H+} +{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF} interface