Commit Graph

1582 Commits

Author SHA1 Message Date
mattias
98f9c7a7a1 set fixes version to 4.4 2025-11-08 09:46:28 +01:00
Martin
b95bc4da43 FpDebug: disabled range check for adding to addresses.
(cherry picked from commit 7fd914f91e)
2025-10-31 21:24:13 +01:00
Martin
3f811e12a7 FpDebug: fixed access-violation in :Try() intrinsic
(cherry picked from commit 2f87b8a016)
2025-09-08 16:28:40 +02:00
Martin
c1afe07a35 FpDebug: fix uncaught floating point exception. Issue #41816
(cherry picked from commit 19bad7521b)
2025-09-03 10:17:46 +02:00
mattias
b51eb6f0e8 set fixes version to 4.2 2025-07-19 10:01:39 +02:00
Martin
c52a98dba2 FpDebug: Fix attaching to a process, if the project does not provide the filename of the (host) executable. Issue #41201
(cherry picked from commit 7f0a0f7ea6)
2025-06-22 15:31:39 +02:00
Martin
b542a0f991 FpDebug: fix ":flatten" with embedded "[0..n]" slice in display mapping expression.
(cherry picked from commit 0b1bcf35de)
2025-05-31 22:25:58 +02:00
Martin
5d41a0a20f FpDebug: fix variant detection for ":flatten" with outer [0..n] mapping/slice.
(cherry picked from commit ed37ab30d8)
2025-05-31 22:25:58 +02:00
Martin
c067bd336e FpDebug: fix handling errors in watch result. In case of error an incorrect data type may be given. WatchResData would not be set (not to value, nor error). Issue #41646
(cherry picked from commit 0dfc1da04c)
2025-05-17 13:56:18 +02:00
Martin
2f73b3fbd4 FpDebug: fix finding breakpoint addresses for generics. Related to https:/bugs.freepascal.org/view.php?id=37658
(cherry picked from commit b94af816fe)
2025-04-27 11:38:16 +02:00
Martin
c1d338eaaf FpDebug: fix race condition, during exit debug session (new command started while FDbgControllerProcessExitEvent called ProcessMessages)
(cherry picked from commit b1a29e7546)
2025-04-20 20:54:59 +02:00
Martin
824107bf28 FpDebug: remove accidentally committed debugln !442
(cherry picked from commit 13306efd3f)
2025-03-02 11:41:47 +01:00
Martin
487073dd4b FpDebug: fix/improve x86-disass function IsAfterCallInstruction
(cherry picked from commit 3360fef947)
2025-02-26 22:09:08 +01:00
Martin
fa5dd23ab5 FpDebug: overloaded Register.SetValue to avoid range-check errors.
(cherry picked from commit 51eca6e940)
2025-02-26 22:07:13 +01:00
Martin
c59185d149 FpDebug: Fix reading DWARF-5, use correct HeaderSize when resolving references.
(cherry picked from commit 79bed04544)
2025-02-24 11:32:01 +01:00
Martin
c7825f845b FpDebug: Add safeguard/error-checks to TDwarfInformationEntry.PrepareAbbrev / PrepareAbbrevData. Issue #41459
(cherry picked from commit 0530a14bd5)
2025-02-23 23:45:25 +01:00
Martin
cb412dc2d4 FpDebug: detect invalid vex opcodes. Issue #41442 Patch by Red_prig (Pavel)
(cherry picked from commit d46cd42c0b)
2025-02-22 12:10:10 +01:00
Martin
4c02d59d4d FpDebug, LazDebuggerFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path.
(cherry picked from commit 6c006a3e8e)
2025-01-31 01:30:03 +01:00
Martin
9216824214 FpDebug: improve loading DWARF line info. Fix workaround for FPC issue 37658 / check the expanded FileName
(cherry picked from commit 5141571608)
2025-01-31 01:30:02 +01:00
Martin
94a731e369 FpDebug: Do not free current DbgThread while still in use / Will be freed after next run/step. (Linux)
(cherry picked from commit d25d085dbb)
2025-01-10 16:45:55 +01:00
Martin
2d4301aea9 FpDebug: Linux, fix reading proc/maps to get loaded libraries.
(cherry picked from commit 6f1cd0c4b5)
2025-01-07 18:37:14 +01:00
Martin
3fa119e539 FpDebug: Update "dwarf-4 fix for broken fpc". Fpc 3.2.3 has been fixed
(cherry picked from commit bbcdf77e01)
2024-11-23 16:42:45 +01:00
Martin
93c659b2b4 FpDebug: fix checks for end of CIE-data. Don't read outside the section data.
(cherry picked from commit ba0a9c5bf7)
2024-11-23 16:42:44 +01:00
Martin
fb6f4faa98 FpDebug: Linux, check if thread is known.
(cherry picked from commit 9fd6981814)
2024-11-23 16:42:44 +01:00
Maxim Ganetsky
2e17f0148f FPDebug: added test executable file to .gitignore, committed automatically generated FpTest.res
(cherry picked from commit f9f76a8675)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-11-18 22:04:23 +00:00
Martin
63bdcb8d39 FpDebug: test - don't access forms for console runner
(cherry picked from commit 2fa8d8fe5c)
2024-11-18 20:47:59 +01:00
Martin
e8a1aaf80d FpDebug: fix reading extended and tests for fpc 3.2.2
(cherry picked from commit dd2ffad6b3)
2024-11-18 20:19:25 +01:00
Martin
b7f5a8ff5d FpDebug: change test case to console test-runner
(cherry picked from commit 516ae9bcf5)
2024-11-18 17:08:00 +01:00
Martin
0fc7fa66ba FpDebug: disable failing test for non-required feature 2024-11-18 17:07:26 +01:00
Martin
2394ead7a9 FpDebug: improve handling enum with negative ord value.
(cherry picked from commit 4d21661950)
2024-11-17 23:14:53 +01:00
Martin
bcd6d2ced6 FpDebug: fix range check error with enum values (negative ord value). Issue #41240
(cherry picked from commit d93235de52)
2024-11-17 13:17:39 +01:00
Martin
985f917ee1 FpDebug: Allow MemManage read extended to other float types. Fixed test for new soft fpu extended
(cherry picked from commit 4d88956173)
2024-11-13 21:17:09 +01:00
Martin
182c0aa557 FpDebug: test, fixed for pascal parser new context
(cherry picked from commit 35b94fb26f)
2024-11-13 21:17:09 +01:00
Martin
e935913516 FpDebug: test, remove old test, now covered by LazFpDebugger test.
(cherry picked from commit 5932ef9aef)
2024-11-13 21:17:08 +01:00
Martin
cef34fde34 FpDebug: mask range check
(cherry picked from commit eeca861ba4)
2024-11-08 20:33:22 +01:00
Martin
7ea40e1211 FpDebug: Asm-step-over, ignore unloading library events
(cherry picked from commit 93da1812b9)
2024-11-06 16:09:04 +01:00
Maxim Ganetsky
a54419537f Translations: Turkish translation update by Onur ERÇELEN, merge request !371
(cherry picked from commit 1ec7c2e565)
2024-10-30 02:02:31 +03:00
Martin
55be66371c FpDebug: more asm fixes / Issue #41204 by Red_prig (Pavel)
(cherry picked from commit c3c7999e20)
2024-10-28 21:23:14 +01:00
mattias
1821513dd1 updated makefiles 2024-10-22 00:30:20 +02:00
Maxim Ganetsky
56c5a73041 Translations: French translation update by Gilles Vasseur, issue #41195
(cherry picked from commit dcd00a1b13)
2024-10-20 02:18:21 +03:00
Martin
c0026138de FpDebug: fix :flatten intrinsic, if first value is array. Don't add a data address without adding an item.
(cherry picked from commit 2c5dd45f28)
2024-10-09 11:05:34 +02:00
Martin
82f0349829 FpDebug: fix crash with cached flatten data. Prevent caching any array slice, as it needs access to the expression.
(cherry picked from commit 4de7b7574a)
2024-10-09 11:05:34 +02:00
Martin
db38137c63 FpDebug: fix crash with cached flatten data. Values must not refer to expression (as expression is not part of the cache)
(cherry picked from commit ca83c7dbca)
2024-10-09 11:05:33 +02:00
Martin
d4096534d7 FpDebug: PascalParser, missing nil check
(cherry picked from commit 7e274a48e7)
2024-10-08 11:52:34 +02:00
Martin
34160a717c FpDebug: fix :flatten intrinsic, if first value is array. Don't add a data address without adding an item.
(cherry picked from commit 8f683d316c)
2024-10-08 11:52:34 +02:00
Martin
a69ce7817a FpDebug: fix :TryN intrinsic for pointer types
(cherry picked from commit 386bd90d76)
2024-10-07 21:59:59 +02:00
Martin
accf0b9280 FpDebug: remove debugln 2024-10-04 11:29:02 +02:00
Martin
c0907fabd1 FpDebug: Fix SEH-finally block detection on Win 2024-10-04 11:16:06 +02:00
Martin
7c370e7757 FpDebug: Linux fix finding "_dl_debug_state" (fol library debugging) when the main exe uses external debug info. Issue #41033 2024-10-03 18:09:13 +02:00
Martin
1bc39f7331 FpDebug: Linux, Improve ReadData for partial reads 2024-09-29 16:41:20 +02:00