Bart
|
4ae0dac7da
|
LazUtils: Masks: make property TMaskBase.CaseSensitive read/write.
|
2021-11-02 18:31:52 +01:00 |
|
Bart
|
88f6d76cfc
|
LazUtils: Masks: move TMaskFailCause type inside the TMaskBase class. It is not needed outside.
|
2021-11-02 18:28:26 +01:00 |
|
Željan Rikalo
|
5133009bc0
|
Qt/Qt5/Win32: fixed page size and name (qt) and page orientation mismatch under win32. Patch by Joeny Ang. issue #39449
|
2021-11-02 15:55:49 +01:00 |
|
Bart
|
19feb31030
|
LazUtils: Masks: add some ToDo comments for properties not yet (r/w) implemented.
|
2021-11-01 23:22:26 +01:00 |
|
Bart
|
ff2b30b7c0
|
LazUtils: Masks: also force a new Compile when EscapeChar is changed.
|
2021-11-01 23:12:17 +01:00 |
|
Bart
|
ca93bfbd58
|
LazUtils: Masks: property AutoReverseRange needs a setter as well.
|
2021-11-01 23:07:27 +01:00 |
|
Martin
|
7dfaef943f
|
Merge branch 'fpdebug-more-func-args-win64' into 'main'
FpDebug: Support for the 4th argument when calling the function (Win64)
See merge request freepascal.org/lazarus/lazarus!32
|
2021-11-01 18:08:16 +00:00 |
|
Martin
|
c40776f217
|
Merge part of branch 'fpdebug-new-staged' into 'main'
Move TXmlConfig
See merge request freepascal.org/lazarus/lazarus!36
Update AVR support in fpdebug (take 2)
|
2021-11-01 17:37:13 +01:00 |
|
Martin
|
a323f31a96
|
Revert unrelated change
|
2021-11-01 17:36:25 +01:00 |
|
Martin
|
f5956f9fa8
|
Regenerate Makefiles for fp/gdbmi-debuggers
|
2021-11-01 17:29:46 +01:00 |
|
Marc
|
1f45eba428
|
IdeIntf: Add check if instance is set before calling the stored function. Fixes #39448
|
2021-11-01 16:11:34 +01:00 |
|
dsiders
|
b18bf9be0c
|
Docs: LazUtils/lazstringutils. Updates ShortDotsLine topic for deprecated routine.
|
2021-11-01 11:55:16 +01:00 |
|
ccrause
|
9de2a8dfbc
|
Add a monitor command list to be called after uploading is finished.
|
2021-11-01 12:20:17 +02:00 |
|
ccrause
|
29cf0ce9d6
|
TRspConnection.ReadReply to consume all "O" packets until a valid other packet is received. Fixes issue when status query after monitor command resulted in a qemu gdbserver state error as a result of incorrect acknowledge packets.
|
2021-11-01 12:15:32 +02:00 |
|
ccrause
|
f515d77c42
|
Ensure bufOffset calculation cannot result in a negative value
|
2021-11-01 12:15:25 +02:00 |
|
ccrause
|
11682281de
|
Fix up naming convention of methods.
|
2021-11-01 12:15:13 +02:00 |
|
ccrause
|
7bd0e9ab2a
|
Remove commented code, fix comment
|
2021-11-01 12:15:13 +02:00 |
|
ccrause
|
45351f354b
|
Properly handle console output from gdbserver over RSP. Qemu monitor commands can reply with O packets.
|
2021-11-01 12:15:12 +02:00 |
|
ccrause
|
211a02deb9
|
Todo reminders for later improvements
|
2021-11-01 12:15:12 +02:00 |
|
ccrause
|
052a1245a7
|
Fix AVR watchpoint issue when watchpoint is already declared when program starts, which leads to an invalid watchpoint. AVR usually starts from address 0, so not calling FindSymbolScope when address is 0 causes this problem.
|
2021-11-01 12:15:06 +02:00 |
|
ccrause
|
afc60cf708
|
Fix data watchpoints.
|
2021-11-01 12:14:57 +02:00 |
|
ccrause
|
d19a267b19
|
Ensure convertHexWithLittleEndianSwap works for any length of text, provided it fits the range of QWord.
|
2021-11-01 12:14:57 +02:00 |
|
ccrause
|
5b824b677c
|
If PauseRequested is true, then both SIGINT and SIGTRAP should be treated as deBreakpoint.
|
2021-11-01 12:14:57 +02:00 |
|
ccrause
|
1529b34ca7
|
Change behaviour of WaitForSignal to time out after a short while so that other communication such as Ctrl+C can be transmitted while the target is running. Also distinguish between timeout and socket error.
|
2021-11-01 12:14:57 +02:00 |
|
ccrause
|
f56b453b29
|
Remove unused variables.
|
2021-11-01 12:14:56 +02:00 |
|
ccrause
|
77f10b113f
|
Copy CPU registers in refreshRegisterCache.
|
2021-11-01 12:14:48 +02:00 |
|
ccrause
|
42fa9a820a
|
Add code to extract "thread" stop reason as sent by qemu.
|
2021-11-01 12:14:48 +02:00 |
|
ccrause
|
a239cd8952
|
qemu doesnt support the "p" command to read an individual register. Change logic to update all registers with the "g" command when a single register is invalid.
|
2021-11-01 12:14:47 +02:00 |
|
ccrause
|
68d50adedf
|
Remove redundant check of FStatus
|
2021-11-01 12:14:47 +02:00 |
|
ccrause
|
c0f05c8dc6
|
MAX_CODE_BIN should be at least as big as MaxPrologueSize.
|
2021-11-01 12:14:47 +02:00 |
|
ccrause
|
50e7383718
|
Wrap socket Read + Write calls in try except to convert exceptions into a SockErr booleanproperty.
|
2021-11-01 12:14:47 +02:00 |
|
ccrause
|
e0dea1ca30
|
Workaround to not automatically create socket connection in constructor. The existing try except block did not catch socket expections in the constructor.
|
2021-11-01 12:14:46 +02:00 |
|
ccrause
|
4c493303a0
|
Handle simple interrupt frames.
|
2021-11-01 12:14:46 +02:00 |
|
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 |
|