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
martin
b345479693
LazDebuggerGDBMI: tests, add verbosity
...
git-svn-id: trunk@61103 -
2019-05-02 01:05:03 +00:00
martin
c3dedf9cc0
LazDebuggerGDBMI: Improve getting exception class/msg with dwarf-3
...
git-svn-id: trunk@61102 -
2019-05-02 01:05:01 +00:00
martin
8c3b6003f7
GdmbiDebugger: use new LazGDeBugControl for cross debugging (needs LazGDeBugControl.exe in gdb directory)
...
git-svn-id: trunk@61090 -
2019-04-30 17:38:16 +00:00
martin
fdabfa94a8
GdmbiDebugger: Rename class TGDBMIDebugger to TGDBMIDebuggerBase
...
git-svn-id: trunk@61089 -
2019-04-30 17:38:15 +00:00
martin
76489254d5
LazDebuggerGdbmi, Windows: New app to send signal to target when cross-debugging
...
git-svn-id: trunk@61088 -
2019-04-30 17:38:13 +00:00
martin
67f6274cad
LazDebuggerGdbmi: Improve "Reset Debugger". Ensure timeouts, if certain options lead to endless waiting.
...
git-svn-id: trunk@61068 -
2019-04-28 13:31:45 +00:00
martin
dfcb3321a3
LazDebuggerGdbmi: Improve whitelisted commands for memory limit
...
git-svn-id: trunk@61067 -
2019-04-28 13:31:43 +00:00
juha
3df7d8afe5
LCL, LazUtils: Move string manipulation functions from LCLProc to LazStringUtils.
...
git-svn-id: trunk@61038 -
2019-04-22 09:00:32 +00:00
juha
0487347061
IDE: Allow only valid revision numbers to show in IDE title.
...
git-svn-id: trunk@61030 -
2019-04-21 14:27:53 +00:00
juha
d9ac09795b
Respect compiler OPT='-v0' by using {$push} and {$pop} in code. Issue #34955 .
...
git-svn-id: trunk@60706 -
2019-03-16 21:17:58 +00:00
martin
6573832137
LazDebuggerGdbmi: Tests, Update RunGdbmi tool / allow selection of debug info type
...
git-svn-id: trunk@60519 -
2019-02-26 18:51:58 +00:00
martin
f10ec28818
LazDebuggerGdbmi: Detect multi-line internal gdb errors as one error.
...
git-svn-id: trunk@60475 -
2019-02-23 15:00:21 +00:00
martin
1a62240d73
LazDebuggerGdbmi: Detect internal gdb errors, while waiting for run/step to end. Issue #0035129
...
git-svn-id: trunk@60474 -
2019-02-23 15:00:18 +00:00
martin
ed5312942f
LazDebuggerGdbmi: refactor detection of gdb internal error. Move code to main debugger class.
...
git-svn-id: trunk@60473 -
2019-02-23 15:00:11 +00:00
maxim
c91b1321e0
Translations: French translation update by Gilles Vasseur, bug #35034
...
git-svn-id: trunk@60368 -
2019-02-08 23:14:55 +00:00
mattias
b8847398fe
lazdebuggergdbmi: changed output path to units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)
...
git-svn-id: trunk@60317 -
2019-02-03 20:49:11 +00:00
martin
759d2cc725
Debugger GDBMI: Fix compilation of tests
...
git-svn-id: trunk@60275 -
2019-02-01 22:55:43 +00:00
martin
586058a0e3
Debugger GDBMI: Attempt workaround for step-over issue (step-over performs step-in). See Issue #0034159
...
git-svn-id: trunk@60274 -
2019-02-01 22:54:41 +00:00
martin
54f21f7efa
Debugger GDBMI: Fix thread context for finding correct frame
...
git-svn-id: trunk@60273 -
2019-02-01 22:51:44 +00:00
maxim
684c367b8a
IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts.
...
Reasons:
1. .pot is 'industry standard' extension for PO template files. As a consequence, PO editors can now open our templates 'out of the box' and automate creation of translations.
2. It is now much simpler to detect template files now that dotted unit names are allowed.
git-svn-id: trunk@60208 -
2019-01-24 23:02:37 +00:00
mattias
2caaad78ec
lazdebuggergdbmi: less hints
...
git-svn-id: trunk@60112 -
2019-01-19 17:37:50 +00:00
martin
f5e720ed1e
LazDebuggerFp/FpDebug: tests
...
git-svn-id: trunk@59964 -
2019-01-01 15:12:06 +00:00
martin
82671b823c
FpDebug: test cases
...
git-svn-id: trunk@59781 -
2018-12-10 21:17:09 +00:00
maxim
c8c7a1723a
Translations: Chinese translation update by robsean, bug #34579
...
git-svn-id: trunk@59617 -
2018-11-22 00:03:32 +00:00
martin
4fd6f41ee5
Debugger-Tests: Refactor
...
git-svn-id: trunk@59615 -
2018-11-21 18:59:38 +00:00
martin
1a96441c98
Debugger-Gdbmi: add "step to except" for win64 (SEH). No "step to finally" yet. Refactor "step to except" for none SEH.
...
git-svn-id: trunk@59482 -
2018-11-07 20:56:19 +00:00
martin
9fd763ca67
Debugger-Gdbmi: fix setting internal breakpoints by address only.
...
git-svn-id: trunk@59481 -
2018-11-07 19:37:50 +00:00
martin
2af35ade49
Debugger-Gdbmi, Tests: prevent crash, if gdb.exe not found
...
git-svn-id: trunk@59480 -
2018-11-07 19:34:04 +00:00
martin
63cf689e1e
Debugger (gdb): Fix Debug-Inspector for dwarf3. Match fieldnames case insensitive. Depending on gdb, try to find the MixedCase version of any name. Issue #0034453
...
git-svn-id: trunk@59351 -
2018-10-25 23:47:36 +00:00
maxim
2fb99791ef
Translations: French translation update by Gilles Vasseur, bug #34403
...
git-svn-id: trunk@59276 -
2018-10-09 22:50:15 +00:00
maxim
e26f6ff3ca
Translations: Hungarian translation update by Péter Gábor, bug #34397
...
git-svn-id: trunk@59275 -
2018-10-09 22:41:03 +00:00
mattias
c2b0e049ef
set trunk version to 2.0.0PreRelease
...
git-svn-id: trunk@59008 -
2018-09-15 19:41:22 +00:00
maxim
a351c9f8fe
Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #34139
...
git-svn-id: trunk@58742 -
2018-08-19 23:08:36 +00:00