Commit Graph

1608 Commits

Author SHA1 Message Date
Martin
0b1bcf35de FpDebug: fix ":flatten" with embedded "[0..n]" slice in display mapping expression. 2025-05-24 09:41:22 +02:00
Martin
ed37ab30d8 FpDebug: fix variant detection for ":flatten" with outer [0..n] mapping/slice. 2025-05-24 09:40:23 +02:00
ACTom
175a47a059 Translations: Chinese translation update by ACTom, merge request !480 2025-05-22 15:46:47 +03:00
Martin
0dfc1da04c 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 2025-05-17 12:31:36 +02:00
Martin
b94af816fe FpDebug: fix finding breakpoint addresses for generics. Related to https:/bugs.freepascal.org/view.php?id=37658 2025-04-26 12:30:08 +02:00
Martin
6362a111d9 FpDebug: more DWARF-4 DW_FORM_exprloc and location-list handling (DW_FORM_sec_offset) 2025-04-21 23:05:05 +02:00
Martin
b849b153b5 FpDebug: add DW_FORM_exprloc to ConstRefOrExprFromAttrData 2025-04-21 23:05:04 +02:00
Martin
b1a29e7546 FpDebug: fix race condition, during exit debug session (new command started while FDbgControllerProcessExitEvent called ProcessMessages) 2025-04-20 17:34:49 +02:00
Martin
efae02fac3 FpDebug: fix finding enum members. Enum were wrongly skipped, if name was only present in TAG_definition, but not in the DW_TAG_enumeration_type 2025-04-20 17:34:49 +02:00
Martin
d1bf325003 FpDebug: Implement DW_AT_enum_class / scoped enum 2025-04-20 17:31:16 +02:00
Martin
89468fc795 FpDebug: fix missing typecasts / avoid range checks 2025-04-20 17:31:16 +02:00
Martin
c80e65bab0 FpDebug: Read embedded type for enum signed-ness (fpc 3.3.1). Add other checks for enum signed-ness 2025-04-20 17:31:15 +02:00
Martin
d26f6d30af FpDebug: Use size/bitmask to compare enum variable with member values (find named value) 2025-04-19 12:26:40 +02:00
Martin
ac8d539950 FpDebug: Fallback to read size of enumeration from nested type 2025-04-19 11:50:30 +02:00
Martin
a5eeb2684c FpDebug: remove non-required lowercase calls (asm stack unwind) 2025-04-08 09:24:03 +02:00
Martin
ede6127216 FpDebug: faster lookup for linker symbols (speeds up asm view) 2025-03-31 12:09:31 +02:00
Martin
2594469911 FpDebug: More asm-unwind improvements 2025-03-10 11:09:35 +01:00
Martin
99f2947c48 FpDebug: reduce compiler warnings 2025-03-02 11:23:28 +01:00
Martin
13306efd3f FpDebug: remove accidentally committed debugln !442 2025-02-28 00:10:55 +01:00
Martin
7d0db6e423 FpDebug: asm-unwind, higher limits 2025-02-26 21:57:37 +01:00
Martin
07eb701953 FpDebug: asm-unwind, try other branches before giving up 2025-02-26 21:57:36 +01:00
Martin
bef76faa45 FpDebug: asm-unwind, follow long jumps 2025-02-26 21:57:33 +01:00
Martin
4b04ea627b FpDebug: asm-unwind, check if result is in readable memory, and try to find result-after-call-instr. 2025-02-26 21:57:33 +01:00
Martin
f1941c9cce FpDebug: asm-unwind, improve handling of jump 2025-02-26 21:57:30 +01:00
Martin
10254a7769 FpDebug: asm-unwind, store "pushed frame" info for branch-points 2025-02-26 18:33:25 +01:00
Martin
51eca6e940 FpDebug: overloaded Register.SetValue to avoid range-check errors. 2025-02-26 17:28:47 +01:00
Martin
3360fef947 FpDebug: fix/improve x86-disass function IsAfterCallInstruction 2025-02-25 21:47:59 +01:00
Martin
854c5fe046 FpDebug: improve stack unwinding by disassembler, handle frame BP in push/pop / update valid stack area for pop 2025-02-25 21:47:58 +01:00
Martin
a625b50890 FpDebug: improve stack unwinding by disassembler, fix storing info for conditional jumps. Need to store/restore NewFrame, NewStack 2025-02-25 21:47:58 +01:00
Martin
cee3781c3c FpDebug: improve stack unwinding by disassembler, add checks if NewFrame is valid/known 2025-02-25 17:43:36 +01:00
Martin
79bed04544 FpDebug: Fix reading DWARF-5, use correct HeaderSize when resolving references. 2025-02-24 11:12:44 +01:00
Martin
0530a14bd5 FpDebug: Add safeguard/error-checks to TDwarfInformationEntry.PrepareAbbrev / PrepareAbbrevData. Issue #41459 2025-02-23 23:34:06 +01:00
Martin
d46cd42c0b FpDebug: detect invalid vex opcodes. Issue #41442 Patch by Red_prig (Pavel) 2025-02-22 12:09:38 +01:00
Martin
6c006a3e8e FpDebug, LazDebuggerFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path. 2025-01-31 01:25:57 +01:00
Martin
5141571608 FpDebug: improve loading DWARF line info. Fix workaround for FPC issue 37658 / check the expanded FileName 2025-01-29 11:20:07 +01:00
Martin
d25d085dbb FpDebug: Do not free current DbgThread while still in use / Will be freed after next run/step. (Linux) 2025-01-09 11:44:15 +01:00
Martin
6f1cd0c4b5 FpDebug: Linux, fix reading proc/maps to get loaded libraries. 2025-01-07 18:36:04 +01:00
Martin
bbcdf77e01 FpDebug: Update "dwarf-4 fix for broken fpc". Fpc 3.2.3 has been fixed 2024-11-23 14:55:28 +01:00
Martin
ba0a9c5bf7 FpDebug: fix checks for end of CIE-data. Don't read outside the section data. 2024-11-23 14:55:27 +01:00
Martin
9fd6981814 FpDebug: Linux, check if thread is known. 2024-11-23 14:55:27 +01:00
Maxim Ganetsky
f9f76a8675 FPDebug: added test executable file to .gitignore, committed automatically generated FpTest.res 2024-11-19 01:03:12 +03:00
Martin
2fa8d8fe5c FpDebug: test - don't access forms for console runner 2024-11-18 20:46:28 +01:00
Martin
dd2ffad6b3 FpDebug: fix reading extended and tests for fpc 3.2.2 2024-11-18 18:20:11 +01:00
Martin
e07a1eeaec FpDebug: Move asm testcase from LazDebuggerFp to FpDebug. 2024-11-18 17:17:35 +01:00
Martin
516ae9bcf5 FpDebug: change test case to console test-runner 2024-11-18 17:03:21 +01:00
Martin
4d21661950 FpDebug: improve handling enum with negative ord value. 2024-11-17 23:13:57 +01:00
Martin
d93235de52 FpDebug: fix range check error with enum values (negative ord value). Issue #41240 2024-11-17 13:15:53 +01:00
Martin
c0a07ff85f FpDebug: add protection against huge line numbers 2024-11-16 23:16:54 +01:00
Martin
fdee6e8947 FpDebug: Line-Addr-Map, better check for max line offset. 2024-11-16 14:43:49 +01:00
Martin
e98044f52f FpDebug: Line-Addr-Map, use Hash/Dictionary for filenames 2024-11-16 12:50:53 +01:00