Commit Graph

61464 Commits

Author SHA1 Message Date
ccrause
3b36f05e27 Remove FP from register list, since the information is already present in registers r28 and r29 2021-11-01 12:14:46 +02:00
ccrause
c6e6de1294 Fixed checking if AAddress is bracketed by StartPC and EndPC. 2021-11-01 12:14:33 +02:00
ccrause
23065e004c Add functionality to get proc start/end addresses from debug info. Used to scan prologue and epilogue for frame information on AVR target. 2021-11-01 12:13:28 +02:00
ccrause
542c98a369 Use the same register names and dwarf indexes in all register lists. 2021-11-01 12:13:18 +02:00
ccrause
7f341cbe68 Tweak PrepareCallStackEntryList to cater for avr-gcc ABI. Added TAvrAsmDecoder.GetFunctionFrameReturnAddress to scan prologue and epilogue for frame information. 2021-11-01 12:13:17 +02:00
ccrause
02c76188e3 Fix indenting and missing bracket. 2021-11-01 12:13:17 +02:00
ccrause
762081ec6f Fix offset of return PC on stack. Trivial (no locals or parameters) stack trace now works. 2021-11-01 12:13:17 +02:00
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
mattias
1391c8cb7d tools: lplupdate showing git commands 2021-10-31 09:10:33 +01: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
d5596c80a9 LCL: Remove tests for define WithOldDebugln. It has been there since 2012. 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
mattias
b948a3a35a ide: less initialization 2021-10-30 23:01:24 +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
dsiders
bdd25fd5e7 Docs: LCL/ShellCtrls. Removes invalid See Also links. 2021-10-30 17:53:32 +01:00
mattias
8a79f03f20 docs: gitignore 2021-10-30 18:16:53 +02:00
dsiders
34d7072ca1 Docs: LazUtils/masks. Removes deprecation warnings after #896764a7. 2021-10-30 16:18:07 +01: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
mattias
a7f948534e git: ignore link.res 2021-10-30 13:38:32 +02:00
mattias
934d701488 rpm: comments 2021-10-30 13:31:14 +02:00
mattias
71584f5ece deb: fixed git checkout on older systems 2021-10-30 12:58:14 +02:00
mattias
f8af491a06 docs: readme 2021-10-30 11:56:47 +02:00
mattias
d7ed558c61 tools: gitignore 2021-10-30 11:48:12 +02:00
mattias
1e22686cfe deb: building with a git repo 2021-10-30 11:21:43 +02:00
mattias
ed1805b1ac docs: gitignore 2021-10-30 10:39:34 +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
dsiders
1c1fc3a75a Revert "Docs: Modifies build_lcl_docs and scripts.Address an issue in #28500."
This reverts commit 8af9cd0918.
2021-10-29 17:28:13 +01:00
dsiders
3f3887531f Revert "Revert "Docs: Modifies build_lcl_docs and scripts.Address an issue in #28500.""
This reverts commit 8f01e29b24.
2021-10-29 17:19:31 +01:00
dsiders
2380b91fc7 Revert "Docs: Modifies build_lcl_docs and scripts.Address an issue in #28500."
This reverts commit 8af9cd0918.
2021-10-29 17:19:07 +01:00
dsiders
510447e5c2 Revert "Revert "Docs: Modifies build_lcl_docs and scripts.Address an issue in #28500.""
This reverts commit 8f01e29b24.
2021-10-29 17:17:48 +01:00
dsiders
8f01e29b24 Revert "Docs: Modifies build_lcl_docs and scripts.Address an issue in #28500."
This reverts commit 8ac2328b60.
2021-10-29 17:13:27 +01:00
dsiders
f5bb0f7081 Revert "Adds ignored files in /docs/html/ to .gitignore."
This reverts commit fb234788f3.
2021-10-29 17:12:13 +01: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