Commit Graph

199 Commits

Author SHA1 Message Date
Juha
adfc424e92 Lazarus trunk requires at least FPC 3.2.0. Remove checks for earlier FPC_FULLVERSION. 2023-07-07 17:39:03 +03:00
Martin
badfeecb5d Debugger: renamed several interfaces, changing "T" prefix to "I" prefix 2023-03-22 19:41:24 +01:00
Martin
1caa678dcf Debugger: Clean up debugln without log_group 2023-03-02 19:56:37 +01:00
Martin
179dc59dc6 Debugger: New interface for retrieving locals. 2023-03-02 19:56:37 +01:00
Juha
994659c015 Add loongarch64 support. FPC trunk supports it, too. Issue #40127, patch by Alfred Glänzer. 2023-02-25 23:24:38 +02:00
Martin
319649fbe6 Debugger: Check quality of debugger in setup 2023-01-08 04:48:14 +01:00
Martin
8cd89c5af8 Debugger: Moved backend registration to initialization section 2023-01-08 04:36:58 +01:00
Martin
b5858164db Debugger, GDBMI: Fix displayformat for numeric values. (double conversion). Issue #39932 2022-10-12 14:02:15 +02:00
Martin
cbf0b6b0d6 Debugger: make ThreadState an enum 2022-09-11 02:25:23 +02:00
Martin
76d9771c34 Debugger: More LazDebuggerIntf. Add/Improve numeric, pointer, float and string watches 2022-03-24 00:39:04 +01:00
Martin
8d3d08ae4c Debugger: Moved dsState to new unit 2022-03-24 00:39:03 +01:00
Martin
766bc1a877 Debugger: Fix DisAssemble.CountAfter 2022-02-09 15:39:27 +01:00
Martin
6adac81859 LazDebuggerGdbmi: Fix compile for non-win targets. 2022-02-01 20:29:42 +01:00
Martin
8e3c816593 Debugger, LazDebuggerIntf: Introduce SetNumValue and SetTypeName 2022-02-01 17:18:20 +01:00
Martin
d1ac568e96 Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
Martin
aa45837b87 IdeDebugger: New Package IdeDebugger. Move some classes from DebuggerIntf 2022-01-10 14:08:36 +01:00
Martin
7f9e1893d2 Rename TDBGEvaluateFlag to TWatcheEvaluateFlag 2022-01-10 14:08:35 +01:00
Martin
93e5aaa0f2 Debugger: Fix compiler warnings 2022-01-09 01:17:24 +01:00
Martin
6b95ef242c IDE, Debugger-Intf: Hide Monitor property for Callstack, Threads 2022-01-09 01:13:55 +01:00
Martin
2b5f264ede IDE, Debugger-Intf: Clean-up, Move Locals list from DbgIntf to IDE 2022-01-09 01:13:55 +01:00
Martin
717ec4887d IDE, Debugger-Intf: Clean-up, Move Watches list from DbgIntf to IDE 2022-01-09 01:13:55 +01:00
ccrause
cbff56be77 Moved TXmlConfStringList from gdbmidebugger to DebuggerPropertiesBase to share this property class between gdbmidebugger and fpdebugdebugger. 2021-11-01 12:06:00 +02:00
martin
f28b3ae2c7 GdbMiDebugger: fixed reporting OutputDebugString messages
git-svn-id: trunk@65479 -
2021-07-20 22:47:58 +00:00
juha
1c9f70830c Codetools: Add webassembly and other new targets from FPC trunk. Issue #39131, patch by Alfred.
git-svn-id: trunk@65356 -
2021-07-03 21:09:29 +00:00
martin
4dc73247cb GdbmiDebugger: Add detection for our modified gdb build. So environment and cmd-line-param are sent in utf8.
git-svn-id: trunk@65142 -
2021-05-28 01:51:12 +00:00
martin
f9c4dc1d8f Debugger, GDBMI: fix stacklist, display unit, if available. Issue #0038708
git-svn-id: trunk@64983 -
2021-04-13 13:19:08 +00:00
martin
05d6300123 GdbmiDebugger: fix for none-seh exception-block stepping (step out from finally)
git-svn-id: trunk@64958 -
2021-04-10 23:48:04 +00:00
martin
2c0b13fb1f GdbmiDebugger: skip shortstring for gdb 10.1 as it may cause errors / Add code to ignore (expected) internal errors
git-svn-id: trunk@64954 -
2021-04-10 23:47:55 +00:00
martin
57e759e6ee GdbmiDebugger: publish new config properties
git-svn-id: trunk@64886 -
2021-03-28 20:26:21 +00:00
martin
4b10871614 GdbmiDebugger: fix missing inherited call / for TRefCountedObject
git-svn-id: trunk@64884 -
2021-03-28 20:26:17 +00:00
martin
b7ca687f37 Debugger, GDBMI: Fix uninitialized result
git-svn-id: trunk@64880 -
2021-03-28 13:18:05 +00:00
martin
8c6c10dd8b DebuggerGdbmi: Deal with cygwin path
git-svn-id: trunk@64877 -
2021-03-27 23:50:46 +00:00
martin
d515edebc4 Debugger, GDBMI: ArgC/Env/ExeName Utf8 handling for cygwin builds
git-svn-id: trunk@64875 -
2021-03-27 23:50:41 +00:00
juha
9046b533af LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
git-svn-id: trunk@64743 -
2021-03-04 08:58:54 +00:00
martin
3205592cba GdbmiDebugger: Fix formatting result value / broken somewhere in recent "string speedup" changes
git-svn-id: trunk@64742 -
2021-03-03 20:13:24 +00:00
martin
433bb3d412 Debugger: Fix updating CPU Register values. Issue #0038534
git-svn-id: trunk@64674 -
2021-02-27 01:00:10 +00:00
martin
d4fabf2c65 DebuggerGdbmi/DebugIntf: fix address calculation, do not calc negative addresses. Patch by Christo Crause Issue #0032240
git-svn-id: trunk@64545 -
2021-02-11 23:27:25 +00:00
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
b53ad7ceed Components: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64506 -
2021-02-08 19:09:30 +00:00
juha
4733d3b7a1 Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64498 -
2021-02-05 20:07:12 +00:00
juha
0feb7a5662 Codetools, Debugger: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64465 -
2021-02-05 11:28:11 +00:00
juha
b796837ec3 Debugger: Support detection of GDB 10.x and higher. Issue #38034.
git-svn-id: trunk@64106 -
2020-11-05 11:47:30 +00:00
martin
a87befd71c Debugger, GDBMI: Fix debugger state after debugger was unable to launch exe. Make sure cmd queue is empty.
git-svn-id: trunk@63967 -
2020-10-07 23:40:24 +00:00
martin
7ab3261e30 Debugger: Notify if debugged app, exits with error code. Issue #37861
git-svn-id: trunk@63950 -
2020-10-04 14:24:46 +00:00
martin
0b1a412658 GdbmiDebugger: fix marking register as modified
git-svn-id: trunk@63912 -
2020-09-23 21:11:46 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
martin
bf03175720 GDBMIDebugger: ignore exceptions from the IDE, when calling the eval/hint callback
git-svn-id: trunk@63740 -
2020-08-15 02:29:43 +00:00
martin
16b3c7f07b GDBMIDebugger: Watch with empty expression should not stop queue execution (stall further watches, ...)
git-svn-id: trunk@63648 -
2020-07-24 22:39:04 +00:00
martin
63b7ef5df1 Debugger: Add text messages for RunErrors
git-svn-id: trunk@63382 -
2020-06-17 16:52:46 +00:00