Martin
05d329b0db
FpDebug: Make commit IFDEFed: Windows, rewrite of "step after hitting breakpoint".
2023-02-17 14:46:58 +01:00
Martin
60cf5a6011
FpDebug: Windows, rewrite of "step after hitting breakpoint". Fix issues with incorrect steps (Instr-Ptr not reset) in multi thread scenario, when the int3 had been remove in the meantime.
...
(cherry picked from commit 2f4e270270
)
2023-02-17 10:44:38 +01:00
Martin
1940610041
FpDebug: fix range check error in stack
...
(cherry picked from commit 126dd815cd
)
2022-09-10 01:01:37 +02:00
Martin
2b37669e29
FpDebug: fix accessing nil pointer
...
(cherry picked from commit dd22337fc3
)
2022-08-07 15:59:28 +02:00
Martin
6a83e540c9
FpDebug: use Wow64SuspendThread for cross debugging.
...
(cherry picked from commit dcf2a00767
)
2022-06-30 13:09:31 +02:00
Martin
f184a8086c
FpDebug: PascalParser, fixed unary minus after comma.
...
(cherry picked from commit 9fb4edfbe5
)
2022-06-30 13:09:30 +02:00
Martin
11349c7dbf
FpDebug: fix setting negative value to Register for 32bit target.
...
(cherry picked from commit 1d0daee376
)
2022-06-30 13:09:30 +02:00
Martin
575a14ffcb
FpDebug: fixed memory leak in FindExportedSymbolInUnit
...
(cherry picked from commit e2f50ee30d
)
2022-06-23 21:32:43 +02:00
Martin
adbcb6c13a
FpDebug: fix crash on nil object
...
(cherry picked from commit 41cb28febf
)
2022-06-23 21:31:43 +02:00
Martin
5eca6fa255
FpDebug: PascalParser fix nil object access.
...
(cherry picked from commit f2cbe3d582
)
2022-06-23 21:29:56 +02:00
mattias
537f43754c
set fixes version to 2.2.2
2022-05-15 09:51:43 +02:00
Martin
4ad24ee837
FpDebug: fix overflow in stack eval
...
(cherry picked from commit 315bb059d8
)
2022-05-10 00:23:42 +02:00
Martin
e15e4a1843
FpDebug: Workaround for dangling pointer to FScanAllWorker.FScanScopeList (in FCompUnitScope.FScopeListPtr), set by FScanScopeList.BuildList.
...
(cherry picked from commit 915fbfa830
)
2022-05-09 02:00:49 +02:00
Martin
8f1bf7104e
FpDebug: Fix stack-overflow for types with recursive declaration.
...
(cherry picked from commit c7e123fd8d
)
2022-04-01 15:10:03 +02:00
Martin
d9ad23e4d5
FpDebug: Fix QuoteWideText => wrong result len
...
(cherry picked from commit 624696270b
)
2022-04-01 15:10:03 +02:00
Martin
ffc50c888c
FpDebug: Fix RangeCheck, TByteArray has an upper limit of 32k.
...
(cherry picked from commit 27f4c50dbd
)
2022-04-01 15:10:03 +02:00
Martin
a235f82a6d
FpDebug: Fixed uninitialized variables.
...
(cherry picked from commit 8335731953
)
2022-03-06 17:47:22 +01:00
Martin
9e889b7a40
FpDebug: Ensure internal breakpoint is freed, if cmd is finished. Add asserts
...
(cherry picked from commit 2333696004
)
2022-03-06 17:47:22 +01:00
Martin
8c625ac0c6
FpDebug: fix uninitialized return value
...
(cherry picked from commit 2e8783e5e0
)
2022-03-06 17:47:21 +01:00
Martin
728e5108bc
FpDebug: add {$else} for targets not matched by any of the ifdef
...
(cherry picked from commit 4482e0ddb8
)
2022-03-06 17:47:21 +01:00
Martin
be39996bec
FpDebug, CmdLineDebuggerBase: Remove "design time".... / Add missing changes in packagefile
...
(cherry picked from commit ad58ebedf8
)
2022-03-06 17:47:20 +01:00
Martin
32c857e8a9
FpDebug, CmdLineDebuggerBase, LazDebugTestBase: Remove "design time", those are run-time packages (they are for use in the IDE, be serving as base classes to other design time packages. But they should not be listed for installation into the IDE on their own.
...
(cherry picked from commit fcd147a0bf
)
2022-03-06 17:47:19 +01:00
Martin
672e289ef3
FpDebug: Improve Stack after calling TProc(nil) / Call to code not in apps memory
...
(cherry picked from commit 6993390bab
)
2022-02-09 19:34:57 +01:00
Martin
a69c95dea3
FpDebug: Improve Stack after calling TProc(nil) / Call to code not in apps memory
...
(cherry picked from commit b6be0ae622
)
2022-02-09 15:53:21 +01:00
mattias
4d49533f10
set fixes version to 2.2.0.4
2022-01-01 17:42:24 +01:00
Martin
a1a2e3dc28
FpDebug: Remove some asserts that were to strict. The check is done in ReadThreadState. If that has already been done, the functions do not need the requirement.
...
(cherry picked from commit 842abf97c1
)
2021-12-16 09:54:08 +01:00
Martin
0bfb65de03
LazDebuggerFp: Cleanup compiler hints
...
(cherry picked from commit a1c6e559e1
)
2021-12-16 09:54:08 +01:00
Martin
777aac6151
FpDebug: PascalParser, Fix parsing float on localized PC.
...
(cherry picked from commit a4b23e0b2a
)
2021-12-16 09:54:07 +01:00
Martin
87bbace028
FpDebug: Fix stepping does not stop at next line (seen on Win7 only / Maybe issue #39383 ).
...
When checking if a step-in/over returned from going over a called proc (using the hidden-break), do not trust the BasePointer.
(cherry picked from commit 5c22ff5ad2
)
2021-12-10 00:31:19 +01:00
Martin
499add13ab
FpDebug: PascalParser, fixed parsing float. In Pascal the comma is a list-separator. It can not be decimal-point. So using the locale "DecimalSeparor" will get wrong results.
2021-12-09 19:34:57 +01:00
Martin
fe2160cd1b
LazDebuggerFp: Fix Stepping and threads / Ensure loop exits with correct EventType
...
(cherry picked from commit e618b09804
)
2021-12-09 18:59:02 +01:00
Martin
7d1223ef96
FpDebug: reduced debugln
...
(cherry picked from commit 9877946d86
)
2021-12-09 18:49:11 +01:00
Martin
9979693585
FpDebug: Fixed passing dangling pointer. (Currently not used by LazDebuggerFp when doing deExitProcess)
...
(cherry picked from commit 7534833eb6
)
2021-12-09 18:49:11 +01:00
Martin
b834fe113e
FpDebug: Fix race condition. After FQueue.RemoveThread(Self) the Queue (if waiting in TerminateAllThreads) can destroy itself. So it must no longer be accessed.
...
(cherry picked from commit 7e06003d9d
)
2021-12-05 22:47:17 +01:00
Martin
11ccb9ed06
FpDebug: fix for logging
...
(cherry picked from commit b3e07ba2b5
)
2021-12-05 22:46:34 +01:00
Martin
340f6f1502
FpDebug: Show "class var" if in current context (no class/instance-name prefix).
...
(cherry picked from commit d8188bb780
)
2021-12-01 22:00:09 +01:00
Martin
eba951e985
FpDebug: Dwarf location-parser, allow to deref a register-location. See merge-request !28
...
(cherry picked from commit 0a7f1b1da9
)
2021-11-28 12:06:25 +01:00
Martin
05a6267205
FpDebug: refactor external debug info / Enable for Linux and Windows
...
(cherry picked from commit 1c87dc96eb
)
2021-11-28 12:04:20 +01:00
martin
36f418134e
FpDebug: Start external dbg file support for Win
...
git-svn-id: trunk@65390 -
(cherry picked from commit 686e81d6e3
)
2021-11-28 12:02:28 +01:00
Martin
22a136c663
FpDebug/FPD: Add FpDbgDwarfFreePascal - This activates the FPC specific dwarf interpretation.
...
(cherry picked from commit a365f46170
)
2021-11-28 10:57:03 +01:00
Martin
98905fa395
Merge branch 'fpd1' into 'main'
...
Fix compilation of fpdebug\app\fpd
See merge request freepascal.org/lazarus/lazarus!49
(cherry picked from commit b03c9ccbb7
)
2021-11-28 10:56:25 +01:00
Maxim Ganetsky
cbc6b141e2
Translations: French translation update by Gilles Vasseur, issue #39487
...
(cherry picked from commit 738e48c6b7
)
2021-11-26 03:58:45 +03:00
Sergey Larin
60f2d501c0
FpDebug: Fixed incorrect new length of FLocation array in TFpInternalBreakpoint.RemoveAddress
...
fix c1611124b4
(cherry picked from commit 16218b91f9
)
2021-10-21 15:47:09 +02:00
Martin
22fa14ce16
Merge branch 'strrec-cpu64-align-fpdbg' into 'main'
...
FpDebug takes into account that FPC 3.3.1 changed offset of the CodePage field in TAnsiRec
See merge request freepascal.org/lazarus/lazarus!25
(cherry picked from commit dd31014237
)
2021-10-17 15:19:30 +02:00
Martin
3c8bd7451d
Revert "Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils"
...
This reverts commit 6d1185d76b
.
2021-10-16 13:42:24 +02:00
Martin
6d1185d76b
Disable PEEPHOLE opt in fpc 3.2.0 to fpc 3.2.3 => there is a bug that can cause crashed in fpdebug/lazutils
2021-10-16 11:44:22 +02:00
Martin
cff1d53e40
FpDebug: more asserts for correct thread usage
...
(cherry picked from commit 6fc5c2fcdd
)
2021-10-13 21:50:18 +02:00
Martin
ca16e51245
FpDebug: Fixed mem leak.
...
(cherry picked from commit 0a2bc87781
)
2021-09-26 16:03:00 +02:00
Martin
38855733be
FpDebug: Add asserts
...
(cherry picked from commit f47220cc47
)
2021-09-26 02:12:18 +02:00
Maxim Ganetsky
eb65959aed
FPDebug: fixed compilation on Windows with FPC trunk, patch by Rika, closes issue #39349
...
(cherry picked from commit 91f499b984
)
2021-09-02 01:27:59 +03:00