Commit Graph

21324 Commits

Author SHA1 Message Date
ccrause
165c4dae9a Start with AVR call stack analysis 2021-11-01 12:13:17 +02:00
ccrause
c6df32a82c Fix to make debugger stop at breakpoint at address 0. Only single step in TDbgAvrProcess.Continue if SingleStep parameter is true. 2021-11-01 12:13:16 +02:00
ccrause
b27172ff12 Check if reply to monitor command is a plain response, else hex decode the response. 2021-11-01 12:13:16 +02:00
ccrause
9c6de4853a Add properties AfterUploadBreakZero and AfterUploadMonitorReset to test with atbackend.exe. 2021-11-01 12:13:09 +02:00
ccrause
f78d3dd6b8 Use loadable section information to automatically upload sections to target. 2021-11-01 12:12:43 +02:00
ccrause
00d5dd4589 Remove duplicate LoaderList property. 2021-11-01 12:12:21 +02:00
ccrause
5d14d15403 Added functionality to mark sections as loadable based on section information. 2021-11-01 12:11:48 +02:00
ccrause
e524997317 Trying to fix Pause behaviour over RSP: Disable FIsPaused assert in ThreadReadState method. Call WaitForSignal after sending Break request. Call Sleep after waiting for WaitForSignal so that a queued request has time to get processed. 2021-11-01 12:10:45 +02:00
ccrause
160c57451a Fix redundant unit in uses clause. 2021-11-01 12:10:32 +02:00
ccrause
800ee2ac02 Add RSP host, port and upload options. Add property AfterConnectMonitorCmds to execute monitor commands after a connection with target is established. 2021-11-01 12:07:15 +02:00
ccrause
2e74920e74 Fixed up Makefiles so that new dependencies build correctly 2021-11-01 12:06:56 +02: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
Juha Manninen
6e6d618513 Merge branch 'lazutils-hints' into 'main'
Suppress compiler hints in LazUtils

See merge request freepascal.org/lazarus/lazarus!35
2021-10-31 07:55:49 +00:00
Juha
cd66ac596b Formatting, minor simplification. 2021-10-31 09:51:28 +02:00
Juha
9a8163981a LazUtils: Remove a deprecated function. 2021-10-31 09:51:28 +02:00
Juha
e8b4862a74 LazControls: Use TStringArray defined in SysUtils instead of defining it again. 2021-10-31 09:51:28 +02:00
Juha
937b6bdfef Codetools: Ignore empty () in function description. Generate function body correctly. Issue #39441, patch by Domingo Galmés. 2021-10-30 23:17:29 +03:00
Bart
4ba6ff00d7 LazUtils: Masks: support escaping in ranges (part 1). Based on original code by Jose Mejuto
(https://github.com/JoshyFun/pascal_tmask/blob/main/umask.pas)
2021-10-30 14:46:59 +02:00
Bart
61a1afe43f LazUtils: Masks: cosmetic (fix indentation). 2021-10-29 23:08:40 +02:00
Bart
e4f572e8a6 LazUtils: Masks: add a TWindowsQuirks parameter to MatchesWindowsMaskList (MatchesWindowsMask already had this). 2021-10-29 23:02:57 +02:00
Bart
719dd78ada LazUtils: Masks: rename TMaskWindows to TWindowsMask. (Internal consistency with MatchesWindowsMask* functions.) 2021-10-29 20:24:06 +02:00
Bart
54512301bb LazUtils: Masks: clarify some deprecated messages. 2021-10-29 17:22:52 +02:00
Bart
54c133cf53 LazUtils: Masks: remove commented out code. 2021-10-29 17:20:00 +02:00
Bart
1282204c12 LazUtils: Masks: rename property RangeAutoReverse to AutoReverseRange. 2021-10-29 17:16:56 +02:00
Bart
742a4e8299 LazUtils: Masks: TMaskFailCause enums do not need to be indexed. 2021-10-29 16:59:58 +02:00
Bart
f36b66d291 LazUtils: Masks: rename TMaskFailCause enums (coding style consistency). 2021-10-29 16:58:31 +02:00
Bart
ac05966190 LazUtils: Masks: move TMaskParsedCode type inside the TMaskBase class definition. 2021-10-29 16:50:33 +02:00
Bart
f972660686 LazUtils: rename some constants in Masks unit for better readability. No functional changes. 2021-10-29 16:48:05 +02:00
Bart
ab65998e7a LazUtils: rename a private var in Masks unit. No functional changes. 2021-10-29 16:37:56 +02:00
Bart
fcbc9cbb65 LazUtils: the default value for TMaskOpcodes in Masks unit should be as backwards compatible as possible, so remove mocAnyCharOrNone and mocEscapeChar from it. 2021-10-29 16:35:47 +02:00
Bart
b004f8c0d9 LazUtils: remove "*legacy" constructors and functions from Masks unit.
Default behaviour should already be as backwards compatible as possible.
And we won't have to deprecate them right from the get go.
2021-10-29 16:32:14 +02:00
Alexey
6970b3aef1 fix compiler hints in LazUtils 2021-10-29 15:08:50 +03:00
Bart
63847a62b4 LazUtils: patch from Jose Mejuto to ensure that sets are only allowed is mocSet is enabled.
e.i. [abc] will give an exception if mocSet is not enabled and mocRange is.
2021-10-27 20:53:58 +02:00
Bart
33df1460d5 LazUtils: implement DbgS() for TMaskOpCodes and TWindowsQuirks in Masks unit. 2021-10-27 14:09:12 +02:00
Bart
ddcf2d27db LazUtils: implement TMaskListWindows in Masks unit. 2021-10-27 13:30:27 +02:00
wp_xyz
cda74efb64 TAChart: Rework sample "db" to avoid confusion due to stacked series. 2021-10-27 13:20:53 +02:00
wp_xyz
8d942a675f TAChart: Less hints and warnings. Check all demo files for fpc 3.2.2. 2021-10-27 12:59:15 +02:00
wp_xyz
b58bc06733 TAChart: Small improvements of help file for TAMath unit. 2021-10-27 00:14:10 +02:00
Michaël Van Canneyt
82518bf64d * Do not free object 2021-10-26 13:27:51 +02:00
Bart
cff7df7db8 LazUtils: clarify some comments about TMaskOpcode enums in Masks unit. 2021-10-24 17:57:19 +02:00
wp_xyz
811f3994dd TAChart/ChartEditor: Use new TLegendClickTool.OnSeriesClick event rather than .OnLegendClick 2021-10-24 11:29:29 +02:00
wp_xyz
cc0800d0d0 TAChart: TLegendClickTool.OnSeriesClick event should not fire at clicks on empty space within the legend. Fix order of OnLegendClick and OnSeriesClick events. 2021-10-24 11:19:30 +02:00
Bart
bc3e07560f LazUtils: fix typo in comment Masks unit. 2021-10-23 23:30:53 +02:00
Bart
a94d0711cf LazUtils: rename an enum in Masks unit. 2021-10-23 23:29:31 +02:00
Bart
d511c0dfb9 LazUtils: add comments for the TMaskOpCode enums in Masks unit. 2021-10-23 23:27:05 +02:00
wp_xyz
4f84bdc0f3 TAChart: Fix double-click in TLegendClickTool. 2021-10-23 22:53:38 +02:00
wp_xyz
b4876dc79f TAChart: Support right-to-left mode in TChartListbox. 2021-10-23 22:44:33 +02:00
Juha
964d5f4d69 LazUtils: Improve naming of types and variables in Masks. Follow naming conventions of other code. 2021-10-23 23:28:30 +03:00
wp_xyz
c3f0740005 TAChart: Fix TChartListbox using more than 1 column, issue #39439 2021-10-23 21:59:35 +02:00
wp_xyz
6422aaa213 TAChart: New event OnSeriesClick for TLegendClickTool to report series of clicked legend item. Issue #39437. 2021-10-23 16:51:23 +02:00