Commit Graph

928 Commits

Author SHA1 Message Date
juha
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +00:00
mattias
62c37ad72a updated Makefiles
git-svn-id: trunk@64567 -
2021-02-13 13:01:14 +00:00
martin
14dc58d892 FpDebug: test and helper apps, fixed some compile errors
git-svn-id: trunk@64555 -
2021-02-12 18:31:09 +00:00
martin
068feeb931 FpDebug: remove MemMgr.DefaultContext. All MemRead/Write must go via a location-context.
git-svn-id: trunk@64554 -
2021-02-12 18:31:07 +00:00
martin
ac0e547a58 FpDebug,AVR: fix communication with gdbserver / thread safety. Patch by Christo Crause Issue #0038443
git-svn-id: trunk@64544 -
2021-02-11 23:18:12 +00:00
martin
6857851554 FpDebug/LazDebugger: add asserts for thread safety
git-svn-id: trunk@64542 -
2021-02-11 22:40:29 +00:00
martin
fa5c3112f3 FpDebug, LazDebuggerFp: call FOnThreadProcessLoopCycleEvent for deProcessExits / Ensure breakpoints are handled in the loop-thread / some breakpoint fixes
git-svn-id: trunk@64538 -
2021-02-11 22:40:21 +00:00
martin
2ae82698cb LazDebuggerFp: move breakpoints to thread worker queue
git-svn-id: trunk@64536 -
2021-02-11 22:40:17 +00:00
martin
54bf4844fc LazDebuggerFp: Improve shutdown of thread queue.
git-svn-id: trunk@64535 -
2021-02-11 22:40:15 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
mattias
ba067ea6be fpdebug: fixed compile
git-svn-id: trunk@64508 -
2021-02-08 19:55:41 +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
martin
04eb581af0 FpDebug: fix 32bit elf-imagereader (wrong variable used). Issue #38449 Patch by Christo Crause
git-svn-id: trunk@64501 -
2021-02-08 02:25:10 +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
martin
71e66e0c64 FpDebug: missing result initialization
git-svn-id: trunk@64400 -
2021-01-16 19:30:10 +00:00
martin
0027bd2412 FpDebug: better shortstring detection / pointer base-size for string/array types
git-svn-id: trunk@64399 -
2021-01-16 19:30:08 +00:00
martin
ba1a82803a FpDebug: add size for function-ref
git-svn-id: trunk@64398 -
2021-01-16 19:30:06 +00:00
martin
fa1a2fa3b0 FpDebug: PascalParser, fixed unary +/- / Added unary for float / tests for float
git-svn-id: trunk@64388 -
2021-01-14 21:14:07 +00:00
martin
3f5954b07e FpDebug: fixed evaluating signed/unsigned mixed AND
git-svn-id: trunk@64387 -
2021-01-14 21:14:05 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
martin
9ffd47ce9f FpDebug: check for nil, before accessing.
git-svn-id: trunk@64359 -
2021-01-08 23:07:55 +00:00
joost
4b59383f64 FpDebug: Removed usage of hard-coded register
git-svn-id: trunk@64310 -
2020-12-30 19:15:57 +00:00
joost
a32ac8e665 FpDebug: support more function-arguments (x86_64)
git-svn-id: trunk@64295 -
2020-12-28 21:33:51 +00:00
joost
cfa42adfc3 FpDebug: Fpmake.pp updated
git-svn-id: trunk@64294 -
2020-12-28 21:27:55 +00:00
maxim
526e453330 FPDebug: fixed typos, regenerated translations and updated Russian translation
git-svn-id: trunk@64259 -
2020-12-20 22:11:02 +00:00
martin
a869c43f49 FpDebug: fix threadmap iterator in linux classes. Broken by locked-iterator
git-svn-id: trunk@64248 -
2020-12-20 12:38:51 +00:00
martin
3894fe4f86 FpDebug: fix threadmap iterator in linux classes. Broken by locked-iterator
git-svn-id: trunk@64247 -
2020-12-20 11:00:58 +00:00
martin
fa5199045e LazDebuggerFp, FpDebug: Show an error message, if the debugger cannot run the application. Issue #0038167
git-svn-id: trunk@64243 -
2020-12-19 22:39:00 +00:00
martin
43e81576fe FpDebug: Use thread-save iterator. Issue #0038047, #38068 . Normal Iterators are added/removed to/from FIterators: TList => which is not thread save. Since the map in question never changes during iteration, the callbacks are not needed.
git-svn-id: trunk@64128 -
2020-11-12 12:02:33 +00:00
martin
e2c618e262 FpDebugger: Show classname for functions in stack.
git-svn-id: trunk@64022 -
2020-10-15 18:38:20 +00:00
martin
6156b1bf31 FpDebugDebugger: replace Control-thread with ThreadWorkQueue
git-svn-id: trunk@64020 -
2020-10-15 18:38:16 +00:00
martin
e229057f03 FpDebug: logging for ThreadWorkerQueue
git-svn-id: trunk@64019 -
2020-10-15 18:37:40 +00:00
martin
b5afc22435 FpDebug: Utils, Add TLockList / refactor, move to internal Fifo queue
git-svn-id: trunk@64017 -
2020-10-15 18:37:37 +00:00
martin
1db96371a5 FpDebug: fix stdcall
git-svn-id: trunk@63983 -
2020-10-09 14:17:22 +00:00
martin
bc13e22021 FpDebug: fix opening files with utf8 name on windows / prevent crash in trying to create filehandle, when an exception occurs. Issue #37884
git-svn-id: trunk@63978 -
2020-10-08 20:58:14 +00:00
martin
bb154702ae FpDebug: Do not display (nested) records as pointer.
git-svn-id: trunk@63921 -
2020-09-25 22:08:47 +00:00
maxim
4c69c36745 FPDebug: fixed typo, regenerated translations and updated Russian translation
git-svn-id: trunk@63901 -
2020-09-20 23:35:54 +00:00
joost
566610a9ba FpDebug: Cleanup of several issues introduced in r63899 #539c1f9a2b, in which a lot more was committed then planned. Among others utility functions to allow calling functions with parameters. The ability to set the value of (regvar) variables and some minor bug-fixes. As part of the parameter-support, addresses located in a register are not immediately read and converted to constants anymore. But the location of the actual register is stored. This might have unforeseen side-effects
git-svn-id: trunk@63900 -
2020-09-20 21:52:48 +00:00
joost
539c1f9a2b FpDebug: Renamed TFpDbgHardcodedContext to TFpDbgHardcodedScope
git-svn-id: trunk@63899 -
2020-09-20 19:21:53 +00:00
martin
47bbc252d8 FpDebug: Fix QuoteText
git-svn-id: trunk@63885 -
2020-09-17 23:04:18 +00:00
martin
fb4e9603c0 FpDebug: Ensure the array for the worker-thread and the main-thread are each unique. Fix occasional search misses. / Small refactor
git-svn-id: trunk@63863 -
2020-09-03 16:32:29 +00:00
martin
1a08e0ba34 FpDebug: Fix Step-Into - sometimes would step before the end of statement. This happened if a nested call was single step, and a "ret" statement encountered. The "ret" (in the nested) was attributed to the outer code, wrongly indicating the command "stepped out".
git-svn-id: trunk@63862 -
2020-09-03 16:32:27 +00:00
martin
75c2186b1d FpDebug: Detect incorrect path to unit, and omit path. Issue #0037657
git-svn-id: trunk@63840 -
2020-08-29 12:02:20 +00:00
martin
b2cb237d43 FpDebug: Compute full filenames only once
git-svn-id: trunk@63839 -
2020-08-29 12:02:18 +00:00
martin
cb9e09de9e FpDebug: Use available symbol from stack to create SearchScope
git-svn-id: trunk@63835 -
2020-08-26 19:15:02 +00:00
martin
c15f2179e9 FpDebug: WorkerQueue, protect with try finally
git-svn-id: trunk@63834 -
2020-08-26 19:15:00 +00:00
martin
d62e55102b FpDebug: use threads to scan units for symbol
git-svn-id: trunk@63829 -
2020-08-25 17:31:53 +00:00
martin
c9916553dd FpDebug: extend/rework TFpThreadWorkerQueue
git-svn-id: trunk@63828 -
2020-08-25 17:31:51 +00:00
martin
d279fb5a4a FpDebug: Move "uses" (ensure register) of imagereader classes from controller to DbgInfo (not all apps use a controller)
git-svn-id: trunk@63821 -
2020-08-24 11:19:20 +00:00