Commit Graph

375 Commits

Author SHA1 Message Date
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
mattias
62c37ad72a updated Makefiles
git-svn-id: trunk@64567 -
2021-02-13 13:01:14 +00:00
juha
436b2d3a74 Debugger: Fix a wrong change in r64527 #077ebbe494.
git-svn-id: trunk@64563 -
2021-02-13 08:54:07 +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
657341c4df Fix debugger test compilation.
git-svn-id: trunk@64518 -
2021-02-10 15:35:10 +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
maxim
b63e036f48 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #38436
git-svn-id: trunk@64457 -
2021-02-03 22:42:52 +00:00
maxim
df9968b6e3 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #38257
git-svn-id: trunk@64271 -
2020-12-24 23:01:30 +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
maxim
9ed4548eef LazDebuggerGdbmi: updated Russian translation
git-svn-id: trunk@63959 -
2020-10-04 22:13:43 +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
4f1e4291fd Reverted last commit 63748 #20305fab48
git-svn-id: trunk@63749 -
2020-08-15 18:50:43 +00:00
martin
20305fab48 Gdbmi-SSH-Debugger: recognize #10 as line-end, even if different from local line-end. Issue #0021834
git-svn-id: trunk@63748 -
2020-08-15 18:15:15 +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
ondrej
3a6057e0a3 TUTF8Process: workaround for the poNoConsole->poDetached change. Better hacks for old FPC versions without TProcessClassTemplate. Issue #35991
git-svn-id: trunk@63708 -
2020-08-09 16:23:09 +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
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
mattias
8ceb09a67b make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
2020-07-13 09:00:41 +00:00
mattias
9dcd9ee04d updated makefiles
git-svn-id: trunk@63453 -
2020-06-28 11:01:41 +00:00
martin
63b7ef5df1 Debugger: Add text messages for RunErrors
git-svn-id: trunk@63382 -
2020-06-17 16:52:46 +00:00
martin
1ac05df5e7 Debugger, GDBMI: fix r63308 #c0e6dd10c0 "internal pause for changing breakpoint" => reset PauseWaitState
git-svn-id: trunk@63353 -
2020-06-14 21:01:47 +00:00
martin
26272363cd IDE, Debugger: fix r63306 #06b1a964b6 "Fix Run menu, to show correct available debugger commands" -- Do not init the debugger. => Review the entire calculation of available actions in the Run menu. Issue #0037183
git-svn-id: trunk@63317 -
2020-06-06 16:45:12 +00:00
martin
8af26f2ec7 Debugger, GDBMI: fixed calling callback-event twice in case of errors (cancel + done), leading to crash in event
git-svn-id: trunk@63309 -
2020-06-06 01:37:36 +00:00
martin
c0e6dd10c0 Debugger, GDBMI: fix internal pause for changing breakpoint (or retrieving line info), so the current command can continue.
git-svn-id: trunk@63308 -
2020-06-06 00:53:53 +00:00
martin
e4d3c2df74 Debugger, GDBMI: add real RunTo
git-svn-id: trunk@63307 -
2020-06-06 00:53:51 +00:00
martin
de80bde641 IDE: rename "run to cursor" to "step to cursor" - reflect what it really does
git-svn-id: trunk@63302 -
2020-06-06 00:53:39 +00:00
martin
71a1fe80e4 Debugger: GDBMI-Server, use target remote for socket or IP, depending on port config. Issue #0036858
git-svn-id: trunk@63135 -
2020-05-10 23:44:34 +00:00
maxim
f90371d886 Translations: Hungarian translation update by Péter Gábor, bug #36873
git-svn-id: trunk@62893 -
2020-04-05 21:55:43 +00:00
mattias
a472e9ef09 buildintf: split from ideintf
git-svn-id: trunk@62795 -
2020-03-22 11:58:11 +00:00
martin
50b0a3f2f6 Debugger, GDBMI: Use force flag for exception breakpoints (at startup). Required for debugging dll. Only works if InternalExceptionBreakSetMethod = imbName
git-svn-id: trunk@62610 -
2020-02-04 03:04:51 +00:00
martin
3de674b205 Debugger, GDBMI: Keep original error when trying alternative filenames.
git-svn-id: trunk@62609 -
2020-02-04 03:04:44 +00:00
maxim
df5a5388d8 Translations: French translation update by Gilles Vasseur, bug #36524
git-svn-id: trunk@62508 -
2020-01-07 22:50:11 +00:00
martin
15caf20a2c GdbmiDebugger: If setting a break condition fails, mark breakpoint as invalid (it may still be breaking at that line, but the condition is not avail)
git-svn-id: trunk@62501 -
2020-01-05 15:42:22 +00:00
martin
f8622385f7 LazDebuggerGdbmi: Win64-SEH, fix stepping out of finally block, if the block was entered without exception
git-svn-id: trunk@62333 -
2019-12-07 02:00:04 +00:00
martin
180e3b09f6 DebuggerGdbMI: Improved setting breaks for exception stepping. Detect some errors, and reduce unnecessary retries
git-svn-id: trunk@62323 -
2019-12-03 22:11:57 +00:00
martin
9fbffccd0d DebuggerGdbMI: Fixed Win-64bit Step-to-exception for ignored exception, the except block must be skipped / Fixed clearing temp breakpoints
git-svn-id: trunk@62322 -
2019-12-03 22:11:56 +00:00
martin
59b37b9fc9 DebuggerGdbMI: Fixed Win-64bit debugging. Revision r62314 #5cb2cd173d changed setting of RtlUnwindEx, leading to massive unexpected pausing of the target
git-svn-id: trunk@62321 -
2019-12-03 22:11:54 +00:00
martin
cdad0cd83f LazDebuggerGdbmi: Tests for Step to finally/except for Win64 SEH
git-svn-id: trunk@62315 -
2019-11-29 02:58:27 +00:00
martin
5cb2cd173d LazDebuggerGdbmi: Step to finally/except for Win64 SEH
git-svn-id: trunk@62314 -
2019-11-29 02:54:51 +00:00
martin
fc6e94c911 Debugger, GDBmi: Fix step-over incorrectly steps-into. Introduced in r62284 #c93e1c6d7e Enable Step-over to enter finally blocks under Win64-SEH
git-svn-id: trunk@62302 -
2019-11-27 01:52:38 +00:00
martin
c93e1c6d7e Debugger, GDBmi: Enable Step-over to enter finally blocks under Win64-SEH
git-svn-id: trunk@62284 -
2019-11-22 21:22:37 +00:00
juha
4f5e491d4e LazDebugger: Move used units inside IFDEFs to prevent compiler hints saying "unit not used".
git-svn-id: trunk@62154 -
2019-11-02 07:23:21 +00:00
martin
3c61b503c0 Partly revert r62149 #bab4d7305b / fix compile win / issue #36241
git-svn-id: trunk@62151 -
2019-11-01 13:05:04 +00:00
juha
bab4d7305b Remove unused units from uses sections.
git-svn-id: trunk@62149 -
2019-10-31 23:12:37 +00:00
maxim
4023ea218a Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #36184
git-svn-id: trunk@62065 -
2019-10-15 21:27:33 +00:00
maxim
bfc5807673 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #36097
git-svn-id: trunk@61907 -
2019-09-20 23:42:25 +00:00
martin
bb55284e92 GdbmiDebugger/Server: FIX Add ability to inject gdb-commands specified by user.
git-svn-id: trunk@61890 -
2019-09-16 20:05:05 +00:00
martin
9ef0d523bc Added Macro Substitution to ExecuteUserCommands. Patch by Michael Ring
git-svn-id: trunk@61889 -
2019-09-16 15:15:04 +00:00
martin
63cb1e20c9 GdbmiDebugger/Server: Add ability to inject gdb-commands specified by user. Based on patch by Michael Ring
git-svn-id: trunk@61888 -
2019-09-16 15:15:03 +00:00
martin
e35fc25db7 GdbmiServerDebugger: Added stop on disconnect. Issue #0036076
git-svn-id: trunk@61886 -
2019-09-16 01:31:10 +00:00
martin
eea7a8300f GdbmiServerDebugger: Flag to use target extended-remote / Patch by Michael Ring
git-svn-id: trunk@61885 -
2019-09-15 23:00:37 +00:00
martin
42a0598520 Gdbmi: Test helper package, missing file
git-svn-id: trunk@61781 -
2019-08-29 01:30:05 +00:00
maxim
7eea4a92e8 lazdebuggergdbmi: Moved resource strings from gdbmiserverdebugger.pas to gdbmistringconstants.pas, regenerated translations and updated Russian translation (gdbmiserverdebugger.*.po/.pot files are not needed anymore and removed).
git-svn-id: trunk@61780 -
2019-08-28 23:09:33 +00:00
dmitry
fc273b7540 debugger: .po files regenerated
git-svn-id: trunk@61774 -
2019-08-28 03:10:23 +00:00
dmitry
50b2c4921c debugger: reusing the code of stopping the initialization process
git-svn-id: trunk@61773 -
2019-08-28 03:09:52 +00:00
dmitry
86a2871214 debugger; updating serverdebugger to allow initialization command to be executed prior to target remote call. (allow to trigger the gdbserver start) #36020
git-svn-id: trunk@61769 -
2019-08-27 23:45:55 +00:00
martin
93cd0df04f GdbmiDebugger, tests: breakpoints on raise/catch/... - Fix testcase
git-svn-id: trunk@61647 -
2019-07-31 12:41:02 +00:00
martin
daa6b60cf4 GdbmiDebugger: Less overhead to set breakpoints on raise/catch/... - Add break by name (after prologue) to set breakpoints for dyn libraries (gdb will set/extend breakpoint, when dll is loaded)
git-svn-id: trunk@61646 -
2019-07-31 12:40:58 +00:00
maxim
bd9bfc01d4 Translations: Turkish translation update by Onur ERÇELEN, bug #35865
git-svn-id: trunk@61612 -
2019-07-21 22:57:16 +00:00
martin
b57481b1b8 GdbmiDebugger: dgbsNone - use GdbRunCommand() to get correct command to start target
git-svn-id: trunk@61593 -
2019-07-15 22:06:02 +00:00
martin
1caa4b3b33 GDBMI-Debugger: Option "gdbsNone" to start without internal start break.
This may not work on all platforms, depending on how gdb reports the target-PID.
This should work for all/any gdb-server session

git-svn-id: trunk@61588 -
2019-07-14 19:10:35 +00:00
martin
ac17315ae2 GdbmiDebugger: introduce option to disable exception handling (e.g. for embedded, or disable run-error if they get caught as exception too)
git-svn-id: trunk@61557 -
2019-07-10 12:41:27 +00:00
martin
ff1657deea Debugger-Config: Allow individual LRU list for gdb vs lldb
git-svn-id: trunk@61554 -
2019-07-09 19:20:08 +00:00
martin
e31b6f3a1c GdbmiDebugger: fix target registers for AVR. Patch by Christo Crause
git-svn-id: trunk@61552 -
2019-07-09 12:25:55 +00:00
martin
9be3a4b216 GdbmiDebugger: replace index for TargetRegisters with Enum
git-svn-id: trunk@61551 -
2019-07-09 12:25:53 +00:00
martin
358ce23913 Debugger-Config: Allow "named" configs for the debugger.
git-svn-id: trunk@61548 -
2019-07-08 23:01:18 +00:00
martin
a610996b28 Debugger, GDBMI Server: Added option to skip setting the local filename, if only a file on remote exists
git-svn-id: trunk@61540 -
2019-07-05 22:43:07 +00:00
martin
e0d820d5dd Debugger, GDBMI Server: Added option to set Architecture
git-svn-id: trunk@61539 -
2019-07-05 22:43:05 +00:00
martin
9f610af58d Debugger, GDBMI Server: Apply remote timeout before connecting.
git-svn-id: trunk@61538 -
2019-07-05 22:43:04 +00:00
martin
93cfa99541 Debugger, GDBMI: Enable some "property" settings for gdbserver and over-ssh / those were omitted by accident.
git-svn-id: trunk@61537 -
2019-07-05 19:52:01 +00:00
martin
75306ff444 Debugger, GDBMI: Only check if -f can be used, if it is actually needed (defer check)
git-svn-id: trunk@61534 -
2019-07-05 13:03:20 +00:00
martin
d33a0e6ae9 Debugger, GDBMI Server: Added remote timeout option.
git-svn-id: trunk@61533 -
2019-07-05 11:41:35 +00:00
martin
b132011820 LazDebuggerGdbmi: Add support "avr" filenames, ending in ".elf". Based on patch by Dimitrios Chr. Ioannidis
git-svn-id: trunk@61525 -
2019-07-03 21:27:12 +00:00
martin
ba6f9cd2c8 LazDebuggerGdbmi: Add support for "avr" cpu. Patch by Dimitrios Chr. Ioannidis
git-svn-id: trunk@61524 -
2019-07-03 21:27:10 +00:00
mattias
9c6809c984 lazdebuggergdbmi: clean up
git-svn-id: trunk@61434 -
2019-06-20 22:59:57 +00:00
martin
0b0838fab1 GdbmiDebugger: Fixed compile for IFDEF darwin
git-svn-id: trunk@61429 -
2019-06-19 19:13:07 +00:00
martin
71fad749a4 GdbmiDebugger, test: Prevent error pop ups.
git-svn-id: trunk@61247 -
2019-05-19 21:23:37 +00:00
martin
a6a89eba31 GdbmiDebugger: Ignore warning by gdb 8.3
git-svn-id: trunk@61246 -
2019-05-19 21:23:35 +00:00
martin
6f4a672236 Revert "Revert "GdbmiDebugger, Windows: Improved speed."" / WaitForSingleObject did not wait.
git-svn-id: trunk@61241 -
2019-05-18 22:03:35 +00:00
martin
636383149c GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, using WaitForSingleObject
git-svn-id: trunk@61239 -
2019-05-18 14:26:24 +00:00
martin
6dc1e4fd75 Revert "GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, with less sleep calls (increase cpu usage) / Option to disable for laptops/etc."
This reverts commit 61132 #ef247de448, 61130 #d6a6435a9c, 61117 #a08b1f9560

git-svn-id: trunk@61238 -
2019-05-18 14:26:22 +00:00
maxim
dd661a10de Translations: regenerated all relevant translation files after r61231 #5b72fe1d56
git-svn-id: trunk@61233 -
2019-05-16 23:10:15 +00:00
maxim
b68407fc52 Translations: regenerated all relevant translation files after r61225 #75a8b1b83c
git-svn-id: trunk@61226 -
2019-05-13 23:21:39 +00:00
martin
e5590c5ee6 GdbmiDebugger: fix function ref under stabs
git-svn-id: trunk@61142 -
2019-05-05 10:54:23 +00:00
martin
c1833857ed GdbmiDebugger: tests
git-svn-id: trunk@61141 -
2019-05-05 10:54:22 +00:00
martin
ef247de448 GdbmiDebugger, Windows: Improved commit 61117 #a08b1f9560 ("Improved speed..."): Only skip sleep, if there was a recent write to gdb. (Response expected)
git-svn-id: trunk@61132 -
2019-05-03 21:24:57 +00:00
martin
d6a6435a9c GdbmiDebugger, Windows: Fix commit 61117 #a08b1f9560 ("Improved speed..."): Make sure Idle and ProcessMessages are called, even with small TimeOuts
git-svn-id: trunk@61130 -
2019-05-03 20:45:01 +00:00
martin
a08b1f9560 GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, with less sleep calls (increase cpu usage) / Option to disable for laptops/etc.
git-svn-id: trunk@61117 -
2019-05-03 15:16:31 +00:00
martin
29735fe548 GdbmiDebugger: Workaround for gdb bug https://sourceware.org/bugzilla/show_bug.cgi?id=16016
git-svn-id: trunk@61116 -
2019-05-03 15:16:30 +00:00
martin
306a196ebd GdbmiDebugger: Removed unused code "CreatePTypeValueList"
git-svn-id: trunk@61114 -
2019-05-03 15:15:02 +00:00
martin
4544b99ea8 LazDebuggerGDBMI: fix mem-leak when cross debugging (new LazGDeBugControl)
git-svn-id: trunk@61104 -
2019-05-02 01:05:05 +00:00