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 |
|
martin
|
54e4b88848
|
FpDebug: remove circular unit references
git-svn-id: trunk@63819 -
|
2020-08-23 22:57:41 +00:00 |
|
martin
|
b63067892d
|
FpDebug: More use of name hashes
git-svn-id: trunk@63816 -
|
2020-08-23 12:52:32 +00:00 |
|
martin
|
f34d943098
|
FpDebug: fix, TLazThreadedQueue, check result of push/pop item, instead of item=nil
git-svn-id: trunk@63815 -
|
2020-08-23 12:52:30 +00:00 |
|
martin
|
2d8cf332f9
|
FpDebug: Run some tasks in threads during startup
git-svn-id: trunk@63812 -
|
2020-08-22 20:27:17 +00:00 |
|
martin
|
953c9964f8
|
FpDebug: make more string params "const foo :string"
git-svn-id: trunk@63810 -
|
2020-08-22 20:27:14 +00:00 |
|
martin
|
6ed8bff46a
|
FpDebug: Faster upper/lower-case. (for ansi only idents)
git-svn-id: trunk@63809 -
|
2020-08-22 20:27:11 +00:00 |
|
martin
|
24d48052e3
|
FpDebug: Speed up fpdebug (GoNamedChild) by creating hashes for symbol names / Create Hash-lookup field for units to skip some CU
git-svn-id: trunk@63808 -
|
2020-08-22 20:27:10 +00:00 |
|
martin
|
24a3af8855
|
FpDebug: Refactor passing upper+lowercase name for search
git-svn-id: trunk@63807 -
|
2020-08-22 20:27:08 +00:00 |
|
martin
|
c4d125495e
|
FpDebug: Fix Controller.Call / wrong type for context param
git-svn-id: trunk@63794 -
|
2020-08-19 19:14:33 +00:00 |
|
martin
|
1bacaaff9f
|
FpDebug: Add reference for value.context
git-svn-id: trunk@63787 -
|
2020-08-18 23:12:51 +00:00 |
|
martin
|
d8007187b8
|
FpDebug, apps: Compilation fixes
git-svn-id: trunk@63785 -
|
2020-08-18 23:12:48 +00:00 |
|
martin
|
1ba76474e3
|
FpDebug: Separate Context and SearchScope
git-svn-id: trunk@63784 -
|
2020-08-18 23:12:46 +00:00 |
|
martin
|
93c1ca640f
|
FpDebug: Rename some context classes, and search functions. Start differentiating between Context and SearchScope
git-svn-id: trunk@63783 -
|
2020-08-18 23:12:42 +00:00 |
|
martin
|
743a1db4a0
|
FpDebug: Compile Hints / Missing function results
git-svn-id: trunk@63782 -
|
2020-08-18 23:12:39 +00:00 |
|
juha
|
125e794a87
|
Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
|
2020-08-18 17:35:21 +00:00 |
|
martin
|
9ff4b0dc00
|
FpDebug: Win, add debugln for ContinueDbgEvent / WaitForDebugEvent
git-svn-id: trunk@63777 -
|
2020-08-18 11:37:54 +00:00 |
|
martin
|
633b2735dd
|
FpDebug: Test, fix compile
git-svn-id: trunk@63776 -
|
2020-08-18 11:37:52 +00:00 |
|
martin
|
f2959d4c98
|
FpDebug: Win, Only read ThreadState once per thread.
git-svn-id: trunk@63775 -
|
2020-08-18 00:04:04 +00:00 |
|
martin
|
5b077144a9
|
FpDebug: PascalBuilder, add missing output for some type declarations
git-svn-id: trunk@63772 -
|
2020-08-17 21:50:40 +00:00 |
|
martin
|
4145a55fee
|
FpDebug: small optimization for GetDerefAddress: TFpDbgMemLocation
git-svn-id: trunk@63771 -
|
2020-08-17 21:50:38 +00:00 |
|
martin
|
2e3e27feb2
|
FpDebug: Allow ClassType.Field => for static fields / return type on none static fields
git-svn-id: trunk@63770 -
|
2020-08-17 21:50:36 +00:00 |
|
martin
|
67a21fe3bb
|
FpDebug: Allow structure/class members to have DW_AT_const_value
git-svn-id: trunk@63769 -
|
2020-08-17 21:50:35 +00:00 |
|
martin
|
ee5e720d74
|
FpDebug: Safety checks for Value <> nil. (In case of broken dwarf info)
git-svn-id: trunk@63768 -
|
2020-08-17 21:50:33 +00:00 |
|
martin
|
2bba45a96c
|
FpDebug: SetRegisterValue for Windows
git-svn-id: trunk@63764 -
|
2020-08-16 20:23:35 +00:00 |
|
martin
|
1f229f6246
|
FpDebug: Fix compile on Windows
git-svn-id: trunk@63753 -
|
2020-08-16 12:40:36 +00:00 |
|
joost
|
a733105c1c
|
fpDebug: Ability to do simple function-calls
git-svn-id: trunk@63751 -
|
2020-08-16 10:20:37 +00:00 |
|
joost
|
a46dc42df8
|
* Parameter-type adapted, to clarify what kind of symbol should be passed
git-svn-id: trunk@63709 -
|
2020-08-09 21:15:39 +00:00 |
|
martin
|
838de9a502
|
FpDebug: Ensure PauseRequest calls break handler. On Linux Process.Pause does not trigger an PausedAtHardcodedBreak
git-svn-id: trunk@63597 -
|
2020-07-18 23:22:38 +00:00 |
|
mattias
|
61c53d6f41
|
LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
|
2020-07-14 18:09:17 +00:00 |
|
mattias
|
8ceb09a67b
|
make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
|
2020-07-13 09:00:41 +00:00 |
|
martin
|
c84d9e5bfe
|
LazDebugFp, FpDebug: TestAssert does not set exception frame. Search by IP address
git-svn-id: trunk@63535 -
|
2020-07-08 22:39:00 +00:00 |
|
martin
|
69ee06144d
|
FpDebug: Fix searching frame by BasePointer
git-svn-id: trunk@63533 -
|
2020-07-08 22:38:56 +00:00 |
|
martin
|
57f2930395
|
FpDebug: Pause at hardcoded int3
git-svn-id: trunk@63513 -
|
2020-07-05 19:16:59 +00:00 |
|
martin
|
e55e3eec50
|
FpDebug: Refactor OnHitBreakpointEvent
git-svn-id: trunk@63512 -
|
2020-07-05 19:16:56 +00:00 |
|
martin
|
50c0885715
|
FpDebug/LazDebuggerfp: Make memory limits configurable
git-svn-id: trunk@63509 -
|
2020-07-05 01:18:32 +00:00 |
|
martin
|
9d8b224756
|
FpDebug: Improve using linker symbols (.symtab) on Linux. (Store SectionEnd Addr as upper bound for search)
git-svn-id: trunk@63501 -
|
2020-07-03 13:35:35 +00:00 |
|
martin
|
8158231ff0
|
FpDebug: Windows, fix PE-Symbol loader. Use correct offset for each section
git-svn-id: trunk@63488 -
|
2020-07-02 13:23:36 +00:00 |
|
martin
|
b9173dead1
|
FpDebug: Added workaround for frame detection. Exceptions stops at entry point, and there can not yet be a frame.
git-svn-id: trunk@63461 -
|
2020-06-28 14:43:13 +00:00 |
|
martin
|
5d80c349fb
|
FpDebug: find stackframe for exception
git-svn-id: trunk@63459 -
|
2020-06-28 14:43:10 +00:00 |
|
martin
|
688b1c9e2a
|
FpDebug: Improve stack frame detection (64bit)
git-svn-id: trunk@63458 -
|
2020-06-28 14:43:08 +00:00 |
|
mattias
|
9dcd9ee04d
|
updated makefiles
git-svn-id: trunk@63453 -
|
2020-06-28 11:01:41 +00:00 |
|
ondrej
|
75bf045f79
|
fpDebug: i386 compilation
git-svn-id: trunk@63442 -
|
2020-06-27 06:52:30 +00:00 |
|
joost
|
44f761cd43
|
FpDebug: array-bounds implemented
git-svn-id: trunk@63440 -
|
2020-06-26 21:01:39 +00:00 |
|
maxim
|
fd9a80af09
|
Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #37240
git-svn-id: trunk@63435 -
|
2020-06-23 21:25:15 +00:00 |
|
martin
|
7291cd0b91
|
FpDebug: more codepage safety checks
git-svn-id: trunk@63427 -
|
2020-06-23 12:52:59 +00:00 |
|
martin
|
1f395d4f2b
|
FpDebug: fix darwin, issue #0037234
git-svn-id: trunk@63425 -
|
2020-06-23 12:45:34 +00:00 |
|
mattias
|
e660c90155
|
fpdebug: fix compile under darwin fpc 3.0.4
git-svn-id: trunk@63408 -
|
2020-06-20 19:01:26 +00:00 |
|
maxim
|
d16221820a
|
FPDebug: enabled i18n, fixed typos, added Russian translation
git-svn-id: trunk@63400 -
|
2020-06-19 23:04:56 +00:00 |
|
martin
|
21f849d337
|
FpDebug: shorten the output for pchar like types (strings in dwarf 2)
git-svn-id: trunk@63399 -
|
2020-06-19 21:05:17 +00:00 |
|
martin
|
4b28988db2
|
LasDebuggerFp: Better error handling when trying to cast to instance class (show none casted class, if cast not avail)
git-svn-id: trunk@63398 -
|
2020-06-19 17:45:26 +00:00 |
|
martin
|
be7b855369
|
FpDebug: Introduce configurable limits for mem usages / display len of array or string
git-svn-id: trunk@63397 -
|
2020-06-19 17:45:24 +00:00 |
|
martin
|
a62432ac71
|
FpDebug: Fixed reading memory for #0 terminated string data
git-svn-id: trunk@63393 -
|
2020-06-18 19:56:30 +00:00 |
|
martin
|
4570e9dea5
|
FpDebug: fix reading string constant, broken in r63193 #71fbdbd144 "support for codepages in Dwarf-3"
git-svn-id: trunk@63392 -
|
2020-06-18 18:08:00 +00:00 |
|
martin
|
f59a294a01
|
FpDebug: Fixed reading memory for #0 terminated string data
git-svn-id: trunk@63391 -
|
2020-06-18 18:06:26 +00:00 |
|
martin
|
24b1e22d91
|
FpDebug: Windows, show dll-entrypoint+offs in stack/thread list
git-svn-id: trunk@63387 -
|
2020-06-18 02:13:00 +00:00 |
|
joost
|
2d8d1f2342
|
Debugger: fpmake.pp updated, FpDbgHardcodedFreepascalInfo added
git-svn-id: trunk@63386 -
|
2020-06-17 21:56:49 +00:00 |
|
martin
|
f97bb256fd
|
FpDebug: add error message
git-svn-id: trunk@63384 -
|
2020-06-17 20:01:27 +00:00 |
|
martin
|
a667bbd318
|
FpDebug: PascalParser fix deref issues with typecasted pointers
git-svn-id: trunk@63383 -
|
2020-06-17 20:01:25 +00:00 |
|
martin
|
1b2bf99ec1
|
FpDebug: refactor showing exception details
git-svn-id: trunk@63380 -
|
2020-06-17 16:52:12 +00:00 |
|
martin
|
361235b421
|
FpDebug: Always get a Dwarf Context (if there are any units) => at least for global vars/symbols
git-svn-id: trunk@63365 -
|
2020-06-16 19:57:31 +00:00 |
|
martin
|
10fafd96d0
|
FpDebug: remove deprecated FindContext(address-only)
git-svn-id: trunk@63364 -
|
2020-06-16 19:57:29 +00:00 |
|
martin
|
c41f071d7b
|
FpDebug: Context for unknown location
git-svn-id: trunk@63363 -
|
2020-06-16 19:57:27 +00:00 |
|
martin
|
4e26ecdd80
|
FpDebug: fix shortstrings, broken in r63193 #71fbdbd144 "support for codepages in Dwarf-3"
git-svn-id: trunk@63361 -
|
2020-06-16 13:42:47 +00:00 |
|
martin
|
201400311a
|
FpDebug: fix WideString, broken in r63193 #71fbdbd144 "support for codepages in Dwarf-3"
git-svn-id: trunk@63360 -
|
2020-06-16 13:42:45 +00:00 |
|
martin
|
8a702248e3
|
FpDebug: fixed wrong type-cast in TFpValueDwarfArray.DoGetOrdering, TFpValueDwarfFreePascalArray, GetInstanceClassNameFromPVmt
git-svn-id: trunk@63359 -
|
2020-06-16 13:42:44 +00:00 |
|
martin
|
a43e155cdb
|
FpDebug, Debuggers, IDE: Make MemManager easier to access. (via Controller and Instance)
git-svn-id: trunk@63358 -
|
2020-06-16 13:42:42 +00:00 |
|
mattias
|
40fd619b36
|
fpdebug: compile with 3.0.4
git-svn-id: trunk@63357 -
|
2020-06-16 11:26:06 +00:00 |
|
martin
|
e84ff269e4
|
FpDebug: change GetInstanceClassNameFromPVmt to go through TFpDwarfFreePascalSymbolClassMap
git-svn-id: trunk@63356 -
|
2020-06-15 18:19:02 +00:00 |
|
martin
|
8d02777940
|
FpDebug: refactor getting instantiated classname.
git-svn-id: trunk@63355 -
|
2020-06-15 16:18:26 +00:00 |
|
joost
|
6c4605be97
|
FpDebug: Added hardcoded debug-info for the evaluation of Exception-classes
git-svn-id: trunk@63349 -
|
2020-06-12 22:00:53 +00:00 |
|
martin
|
3aff869045
|
FpDebug: Implemented StepOverTo
git-svn-id: trunk@63304 -
|
2020-06-06 00:53:46 +00:00 |
|
joost
|
c326b7a628
|
fpDebug: Fixed endless loop when the debuggee receives an exception-signal. (Calling wstopsig on the signal twice is not the way to go)
git-svn-id: trunk@63282 -
|
2020-06-03 22:08:16 +00:00 |
|
joost
|
97716ad3a4
|
* Missing file added to package, and marked some units as specific for a target
git-svn-id: trunk@63214 -
|
2020-05-23 07:32:45 +00:00 |
|
joost
|
5c8d50b386
|
FPMake: Regenerated
git-svn-id: trunk@63210 -
|
2020-05-22 15:11:27 +00:00 |
|
joost
|
71fbdbd144
|
FpDebug: support for codepages in Dwarf-3 FreePascal (3.0.0 and up) AnsiStrings
git-svn-id: trunk@63193 -
|
2020-05-21 15:11:26 +00:00 |
|
martin
|
c9dea89ec8
|
FpDebug: Linux, Fix accessing dangling pointer while pausing all threads. (thread removed, after exit-signal)
git-svn-id: trunk@63156 -
|
2020-05-14 15:55:07 +00:00 |
|
martin
|
c6680d5c01
|
FpDebug: Improve Step-over/in when stepping of the last "end" line of a procedure. Always step to next line in caller.
git-svn-id: trunk@63075 -
|
2020-04-25 13:23:28 +00:00 |
|
martin
|
3370955c2b
|
FpDebug: Fix pause on linux
git-svn-id: trunk@63067 -
|
2020-04-24 20:08:20 +00:00 |
|
martin
|
ee2ae9567c
|
FpDebug: Do not ignore SigTrap
git-svn-id: trunk@63065 -
|
2020-04-24 20:08:17 +00:00 |
|
martin
|
fb73a010b2
|
FpDebug: Remember single-step if other threads cause events / deferred events
git-svn-id: trunk@63063 -
|
2020-04-24 20:08:14 +00:00 |
|
martin
|
11ad3881e8
|
FpDebug: stepping, avoid double step out.
git-svn-id: trunk@63062 -
|
2020-04-24 20:08:13 +00:00 |
|
martin
|
074fc3b2f0
|
FpDebug: Fix "stepped out" detection for step-over/in. Do not stop an "leave" command.
git-svn-id: trunk@63061 -
|
2020-04-24 20:08:11 +00:00 |
|
martin
|
f2d5fd797b
|
FpDebug: Refactor storing/comparing stack-pointer/frame for step-out detection. Allow different architectures to provide sub-classes
git-svn-id: trunk@63060 -
|
2020-04-24 20:08:09 +00:00 |
|
martin
|
35706ffaa6
|
FpDebug: Improve step-commands for threads. Events in other threads, do not need single-stepping
git-svn-id: trunk@63059 -
|
2020-04-24 20:08:07 +00:00 |
|
martin
|
ec587a8ac1
|
FpDebug: Refactor internal jump detection
git-svn-id: trunk@63058 -
|
2020-04-24 20:08:06 +00:00 |
|
martin
|
6c936074db
|
FpDebug: added error checks in disassembler tools
git-svn-id: trunk@63034 -
|
2020-04-20 15:31:47 +00:00 |
|
martin
|
ea30b6f6b9
|
FpDebug: Detect internal forwarding jumps, and avoid stopping at them
git-svn-id: trunk@63033 -
|
2020-04-20 15:31:45 +00:00 |
|
martin
|
944fd0d817
|
FpDebug: Fixed result of ReadCodeAt. Enable detection of prologue. Fix step-out, fix stack window.
git-svn-id: trunk@63032 -
|
2020-04-20 12:55:14 +00:00 |
|
martin
|
840b55b4a8
|
FpDebug: Fix step out, if current is in prologue / IsSteppedOut did not catch as BasePointer was still on outer proc.
git-svn-id: trunk@63031 -
|
2020-04-20 12:55:12 +00:00 |
|
juha
|
651a6436a2
|
Support Haiku build. Makefiles are generated from Makefile.fpc files using proper tools. Issue #36316, patch from Alfred.
git-svn-id: trunk@62890 -
|
2020-04-05 11:35:01 +00:00 |
|
martin
|
1f69cf465e
|
FpDebug: fix typecast/deref for generated-pointer-type "^Foo($1234)", for signed values.
git-svn-id: trunk@62810 -
|
2020-03-25 15:51:07 +00:00 |
|
mattias
|
a472e9ef09
|
buildintf: split from ideintf
git-svn-id: trunk@62795 -
|
2020-03-22 11:58:11 +00:00 |
|
martin
|
57dc078ec5
|
FpDebug: fix compile on Mac
git-svn-id: trunk@62771 -
|
2020-03-17 12:42:13 +00:00 |
|
martin
|
8d0043c4c3
|
FpDebug: fix compile on Mac
git-svn-id: trunk@62765 -
|
2020-03-13 17:50:04 +00:00 |
|
martin
|
8ac43cbd8d
|
Change PtrUInt to TDbgPtr to be consistent with FpDbgClasses unit
git-svn-id: trunk@62759 -
|
2020-03-12 20:00:13 +00:00 |
|
martin
|
93ee5eb352
|
Detect socket closed or other error and set status to SIGHUP. Do not access FConnection methods that read or write to socket when status = SIGHUP.
Patch/Contributed by ccrause
git-svn-id: trunk@62758 -
|
2020-03-12 14:21:18 +00:00 |
|
martin
|
62facbb44d
|
Renamed TDbgDisassembler class and all related classes to avoid name clashes with FpDebugDebugger classes.
Patch/Contributed by ccrause
git-svn-id: trunk@62757 -
|
2020-03-12 14:21:17 +00:00 |
|