Commit Graph

1355 Commits

Author SHA1 Message Date
Martin
60d2e5540e AMEND 2024-01-14 19:29:13 +01:00
Martin
a8c78c1862 FpDebug: Clean up TFpDbgLocationContext.ReadAddress - MemModel does fill in all fields 2024-01-14 19:29:13 +01:00
Martin
dbd0141eac FpDebug: MemModel for Win/Darwin / fixes 2024-01-14 19:29:13 +01:00
ccrause
c327f03044 Move IsReadableLoc and IsReadableMem to MemModel. 2024-01-14 19:29:13 +01:00
ccrause
3ecbb52069 Updated MemModel structure. 2024-01-14 19:29:12 +01:00
Martin
5a1d892e69 FpDebug: prevent div-by-zero in the debugger (in the IDE) while evaluating watches. 2023-12-30 20:04:08 +01:00
Martin
5c6662f3e7 FpDebug: Add comparing enum-values in watches "enum1 >= enum2" 2023-12-30 20:03:06 +01:00
ccrause
5023c232e1 Fpdebug: Cleanup of unused code for RSP classes 2023-12-29 07:16:41 +02:00
ccrause
a5662dc472 Fpdeubg: More register management code for AVR and RSP 2023-12-29 07:16:33 +02:00
ccrause
fd3565584c Fpdebug: Display status register flags for AVR 2023-12-29 07:16:20 +02:00
ccrause
5e4596e57a Fpdebug: separate AVR specific code from generic RSP related debug code 2023-12-29 07:15:47 +02:00
ccrause
ceeaf52439 Minor fixes to unwinding code. 2023-12-16 20:00:36 +00:00
ccrause
135d8c1094 FPDebug - [AVR] fix formatting of variable operand instructions elpm, lpm and spm. 2023-12-12 18:57:59 +02:00
Martin
c2e59c7885 FpDebug,LazDebugger: changes to MemManager to allow avr-read-register-as-address 2023-12-12 13:15:32 +01:00
ccrause
86c274950e Implement a ReadRegisterasAddress MemManager method so that it can be overridden for AVR to read register based addresses from two consecutive registers. 2023-12-12 13:15:32 +01:00
ccrause
3dcb41cdbd Tweak stack unwinding when inside prologue and epilogue. 2023-12-12 12:08:19 +00:00
ccrause
ea2947290e Store all decoded information, rather than just directly generating text. Provisional code to decode 16 bit LDS and STS on AVRrc. 2023-12-12 12:00:59 +00:00
Martin
c3b6ede519 FpDebug: fix memleak in local vars / Introduced in SetLocalProcInfo commit ead31d2c8c 2023-12-09 20:51:41 +01:00
Martin
adf9883a33 FpDebug: Fix for location lists 2023-12-06 22:08:34 +01:00
Martin
ead31d2c8c FpDebug: Set ProcValue (for FrameBaseNeeded) when locals/params are gotten from ProcVal.Members (affects stack and locals) 2023-12-06 17:02:43 +01:00
Maxim Ganetsky
ddbf9be326 FPDebug: regenerated translations and updated Russian translation 2023-12-04 19:59:26 +03:00
Maxim Ganetsky
607e7f52c0 FPDebug: slightly improved error message 2023-12-04 19:58:27 +03:00
Martin
2acd136518 FpDebug: Implement location-lists (Dwarf 2/3) 2023-12-04 02:19:05 +01:00
Martin
5efaac3f2f FpDebug: find symbol for fpc_raiseexception (and similar) independent of case. 2023-12-04 02:19:00 +01:00
Martin
1bec226da0 FpD: change breakpoints to TFpDbgBreakpoint 2023-12-03 13:05:18 +01:00
ccrause
f11d2744db Cleaned up breakpoint creation. 2023-12-03 13:03:09 +01:00
ccrause
3b833564d5 FpDebug: refactor stack unwinding for AVR 2023-12-02 17:52:40 +00:00
Martin
53474705c4 FpDebug: check error in expressions, when new dbg-values are created. 2023-12-02 16:33:37 +01:00
Martin
c398363932 FpDebug: fix :refcnt for fpc 3.3.1 2023-12-02 16:33:37 +01:00
Martin
8208144cdf FpDebug: test ".." intrinsic operator / Fix error checking 2023-12-02 01:10:39 +01:00
Martin
0922a747d7 FpDebug: fix MaskBreakpointsInReadData. Don't remove non-set breakpoints 2023-11-28 14:01:43 +01:00
Martin
476cfd4484 FpDebug: refactor stack unwinding. Introduce TDbgStackUnwinder and new classes for X86 2023-11-28 01:40:48 +01:00
rich2014
b5db1bf52f FpDebug: fix the compilation issue introduced by 1633420 on MacOS 2023-11-28 01:48:04 +08:00
Juha
1633420b55 FpDebug: linux, add unit syscall / part of issue #40599 2023-11-24 12:16:02 +01:00
Martin
b97a9b80a1 FpDebug: fix disassembler DPPD... / Issue #40567 patch by Red_prig (Pavel) 2023-10-30 18:26:14 +01:00
Martin
3100c5c321 FpDebug: fix disassembler "rep ret" Issue #40562 patch by Red_prig (Pavel) 2023-10-16 11:38:00 +02:00
Martin
cecc5ee87d FpDebug: fix disassembler pause,psrldq,extrq... Issue #40555, #40557, #40558 patch by Red_prig (Pavel) 2023-10-15 18:32:30 +02:00
Martin
d55f353980 FpDebug: 32bit linux target. "HasId" takes an untyped arg. The caller must always pass 64 bits. (itu8 is used to create the map) 2023-10-14 14:33:53 +02:00
Martin
0fad4e40d9 FpDebug: Handle overflow for relocation with 32bit target. RelocationOffset is stored as QWord, but can be negative. For 32bit targets the overflow must be masked out. 2023-10-14 14:05:39 +02:00
Martin
a6999c26a6 FpDebug: prevent crash, if library is added twice (incorrect handling for Linux in SynchronizeProcMapsWithLibraryList) 2023-10-14 13:45:26 +02:00
Martin
1db2f6aab4 FpDebug: On Linux read .dynsym if .symtab does not exist. If .symtab exists, then .dynsym should be a subset. 2023-10-14 12:57:14 +02:00
Martin
62e7f5665a FpDebug: fix disassembler vmov.. Issue #40552 patch by Red_prig (Pavel) 2023-10-13 20:28:50 +02:00
Martin
9cff61c5a0 FpDebug: fix disassembler vzero... / test reg.l Issue #40546 and #40549 patch by Red_prig (Pavel) 2023-10-13 13:34:54 +02:00
Martin
8a343f5bc1 Debugger: more asm unwinding 2023-10-09 18:56:51 +02:00
Martin
67069ef84b FpDebug: fix disassembler movq/vmovq Issue #40541 patch by Red_prig (Pavel) 2023-10-09 18:33:52 +02:00
Martin
a50a1e18b5 LazDebuggerFp: fixed uninitialized result 2023-10-07 19:50:26 +02:00
Martin
97c7e680b7 FpDebug: fixes for stack frame search 2023-10-07 14:06:07 +02:00
Martin
8da9f2d084 FpDebug: fix for some missing stackframes 2023-10-05 19:22:31 +02:00
Martin
710fa6f135 FpDebug: fix disassembler "vround"/"vmovm" Issue #40525 #40524 patch by Red_prig (Pavel) 2023-10-02 11:56:23 +02:00
Martin
4cd413a986 FpDebug: fix disassembler "xadd 16bit reg" Issue #40520 patch by Red_prig (Pavel) 2023-09-26 09:03:35 +02:00