Commit Graph

1430 Commits

Author SHA1 Message Date
Martin
45094bcabe FpDebug: add DW_OP_stack_value 2024-05-22 12:12:11 +02:00
Martin
1b6c857812 FpDebug: fix memleak 2024-05-19 13:44:08 +02:00
Martin
c33f507472 FpDebug: fix reading dwarf for arrays with several indexes (written as multiple bounds in the same TAG_array). E.g. as done by llvm. 2024-05-19 13:44:08 +02:00
Martin
dc2c0ee78f FpDebug: fix searching line<>address map. / add test 2024-05-18 23:44:44 +02:00
ccrause
8779a95c72 Output descriptions of target enumerations in place of the ordinal values. 2024-05-13 18:36:48 +00:00
ccrause
81d8d38c5c RSP - Handle multiple output messages from OpenOCD. 2024-05-13 16:15:12 +00:00
Martin
5acbe20f96 FpDebug: Return errors when the debugger can't start. 2024-05-09 14:29:44 +02:00
Martin
190b5e77a7 FpDebug: Return errors when the debugger can't start. 2024-05-09 14:24:28 +02:00
Martin
762f48aeb5 FpDebug: fix out of range in line-address lookup 2024-04-28 00:10:50 +02:00
Martin
6b5a7e75ea FpDebug: workaround, when hardcoded int3 is allowed as user breakpoint, don't stop on internal breakrequest. Issue #40910 2024-04-21 19:36:08 +02:00
Martin
7d11cc3fe8 LazDebuggerFp, FpDebug: Handle multipl-breakpoint at the same address. 2024-04-21 16:59:09 +02:00
Martin
0b2c6bd8fa FpDebug: Allow breakpoints on lines without code (search up to N lines below). 2024-04-21 16:59:08 +02:00
ccrause
b73bed0fed FpDebug: Handle partial overlap between breakpoint data and AData buffer. By CCrause. MR: !279 2024-04-20 17:04:27 +02:00
ccrause
fc4f5ae329 Xtensa - Store all registers read for current stack frame. 2024-04-20 10:20:41 +02:00
Martin
3f2ccce591 IdeDebugger: Displayformat defaults for enum-identifier 2024-04-19 17:30:08 +02:00
ccrause
63881011b3 Use byte offset to locate data to be replaced in MaskBreakpointsInReadData. 2024-04-13 22:58:49 +00:00
ccrause
d56f77c2be Use cross platform sockets.CloseSocket call to close a socket. 2024-04-13 14:45:44 +02:00
ccrause
95205d9bc2 Remove unused variable 2024-04-13 14:45:44 +02:00
ccrause
28c86c583b [fpdebug] Track initialization of the remote connection. Fix some issues with qemu and Bloom debug servers. 2024-04-13 14:45:44 +02:00
Martin
655727ed2b FpDebug: keep "\\?\" filenames. 2024-04-11 13:27:34 +02:00
Martin
1aef153d5f FpDebug: Stepping with F8/F7 should asm-step if no line info is available. Issue #40891 2024-04-11 13:07:03 +02:00
Martin
ca431adcf2 FpDebug, test: disable thread check on Linux. Not required, and currently not fully implemented 2024-03-20 19:45:06 +01:00
martin
5c5e12448d FpDebug, Linux: Fix leaked handle 2024-03-20 19:45:06 +01:00
Martin
6f0d8113cd FpDebug: Remove LCL / Win32Proc 2024-03-18 19:54:48 +01:00
Martin
dec0414cd6 FpDebug: update Makefile 2024-03-18 17:54:30 +01:00
Martin
6aa6ea6983 Ide, Debugger, FpDebug: Implement StdIn/StdOut file redirection. Issue #40458 2024-03-18 14:01:44 +01:00
Martin
ed068882ea FpDebug: Improve dis-asm stack-unwinder. Collect register values. 2024-03-15 22:19:51 +01:00
Martin
a005719185 FpDebug: x86-disassembler: fix vcvtph2ps Issue #40837 2024-03-15 16:18:10 +01:00
Martin
0ad56931a0 FpDebug: x86-disassembler: fix pextr/vpextr Issue #40842 2024-03-14 18:56:13 +01:00
Martin
08a139d30e FpDebug: x86-disassembler: fix pmovzx/pmovsx/vpmovzx/vpmovsx Issue #40844 2024-03-14 18:56:12 +01:00
Martin
4fd8e89e60 FpDebug: x86-disassembler: fix popcnt,bsf,tzcnt,bsr,lzcnt Issue #40843 2024-03-14 18:56:12 +01:00
ccrause
5b4f7aa9f4 Only change MemManagager and MemModel for target AVR 2024-03-12 19:18:49 +00:00
ccrause
c6781743e8 fpdebug - Add xtensa support 2024-03-12 19:18:49 +00:00
ccrause
342fd0f5e8 AVR - FLastFrameBaseIncreased should be initialized in GetTopFrame. 2024-03-03 09:59:27 +02:00
Martin
b471a2961e FpDebug: fix memleak when detaching from process. 2024-03-02 18:38:17 +01:00
ccrause
f808839e56 Fix TAvrMemManager.ReadMemory to read multi-byte values from registers by assuming the bytes are stored in consecutive registers. 2024-02-28 21:07:12 +01:00
ccrause
6915cc97fe Implement CallParamDefaultLocation for AVR. 2024-02-28 21:07:12 +01:00
ccrause
88a0e31b16 For AVR the .text section can start at address 0, rather check if section is not allocated before ignoring it. 2024-02-28 21:07:12 +01:00
Martin
8117ca5a5d LazDebugger: Remove TWatchDisplayFormat from debugger backends. 2024-02-28 00:52:45 +01:00
Martin
be387c3f21 FpDebug: Remove TWatchDisplayFormat from PascalBuilder 2024-02-28 00:52:45 +01:00
Martin
e183ea0b5f Debuggers: Add define FORCE_LAZLOGGER_DUMMY 2024-02-28 00:52:43 +01:00
Martin
b0a5ee38f8 FpDebug: refactor new TFpBreakPointTargetHandler / adjust visibility of fields / move creation to factory method 2024-02-19 12:23:45 +01:00
ccrause
dcd15396b9 Further refactoring of TFpBreakPointMap and TGenericBreakPointTargetHandler for x86 and AVR 2024-02-19 12:23:45 +01:00
Martin
ef78dcf1ba FpDebug: move some breakpoint checks to TFpBreakPointTargetHandler 2024-02-15 21:32:31 +01:00
Martin
c6d52ae4b7 FpDebug: split TBreakLocationMap. Make TFpBreakPointTargetHandler a separate class. 2024-02-15 20:33:34 +01:00
Martin
7d5c98dd45 FpDebug: workaround for https://gitlab.com/freepascal.org/fpc/source/-/issues/40641 2024-02-14 21:49:04 +01:00
Martin
4b6fadabca FpDebug: make TBreakLocationMap a generic with variable storage for the data replaced by a breakpoint 2024-02-14 20:01:56 +01:00
Martin
08b1ca8b65 FpDebug: refactor TBreakLocationMap, split out parts handling Address <> TFpInternalBreakpoint mapping 2024-02-14 20:01:55 +01:00
Martin
e2e2f26c91 FpDebug: change HasBreakpointInfoForAddress, replace IP-1 by GetInstructionPointerForHasBreakpointInfoForAddress 2024-02-13 22:31:28 +01:00
Martin
2b3310eb90 FpDebug: refactor HasBreakpointInfoForAddress 2024-02-13 22:31:28 +01:00