Commit Graph

136 Commits

Author SHA1 Message Date
joost
a733105c1c fpDebug: Ability to do simple function-calls
git-svn-id: trunk@63751 -
2020-08-16 10:20:37 +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
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
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
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
2ee9c0fe84 FpDebug: New TTargetDescriptor type used to store target specific information. All target specific classes are automatically registered in the respective initialization sections. TDbgController.Run modified to call CheckExecutableAndLoadClasses which loads target info from specified file, loads global disassembler instance and DbgProcess class. Patch/Contributed by ccrause
git-svn-id: trunk@62748 -
2020-03-12 14:20:33 +00:00
martin
5f2f41dd34 FpDebug: Allow to create contexct from known ProcSym / Updated TDbgCallstackEntry.GetParamsAsString / Avoid double look-up of proc-symbol
git-svn-id: trunk@62172 -
2019-11-03 17:05:35 +00:00
martin
22aca35233 FpDebug: Use LastError from value object.
git-svn-id: trunk@62045 -
2019-10-13 12:25:37 +00:00
martin
29fa84ca54 FpDebug: Pascal Expression Parser, add constant ansistring. Add operator to compare/concatenate strings
git-svn-id: trunk@62026 -
2019-10-10 21:30:16 +00:00
martin
cd76eb1ef2 FpDebug: Improve wide/utf8 string/char handling
git-svn-id: trunk@62021 -
2019-10-10 12:19:40 +00:00
martin
cbe21ff4f3 FpDebug: implement watching bitpacked array/record
git-svn-id: trunk@62012 -
2019-10-09 20:06:21 +00:00
martin
fa44aa0f0b LazDebuggerFp, FpDebug: Refactor FindContext
git-svn-id: trunk@61968 -
2019-10-03 18:38:11 +00:00
martin
aa60af3f9e FpDebug: Remove circular refs
git-svn-id: trunk@61953 -
2019-09-29 21:43:54 +00:00
martin
cc3a453334 FpDebug: Remove circular cache for ValueObject.
git-svn-id: trunk@61951 -
2019-09-29 21:43:51 +00:00
martin
495c172050 FpDebug: Remove LastMember for structures (part of circle ref with StructureValue)
git-svn-id: trunk@61950 -
2019-09-29 21:43:49 +00:00
martin
2ec08f8a9c FpDebug: rename TDbgInfo.FindSympol into FindProcSymbol
git-svn-id: trunk@61936 -
2019-09-28 19:08:13 +00:00
martin
c7ccbdc276 FpDebug: Change ParentTypeInfo to only hold the structure/array/enum to which the value belongs. Also move it to TFpValue to make it circle-ref free.
Introduce LocalProcInfo for the "local procedure" (if any) to which the symbol belongs.

git-svn-id: trunk@61935 -
2019-09-28 19:08:11 +00:00
martin
320accefd9 FpDebug: allow SetLastError( no-error )
git-svn-id: trunk@61933 -
2019-09-28 19:08:07 +00:00
martin
9c280bd0e3 FpDebug: Refactor TFpSymbol.Size
git-svn-id: trunk@61923 -
2019-09-26 16:37:22 +00:00
martin
9b5a4935a0 FpDebug: fix wrong type for bound-symbol fields / Enable TypedAddress
git-svn-id: trunk@61918 -
2019-09-24 23:36:37 +00:00
martin
f37ef11330 FpDebug: Remove HasBounds (which did not have a ValueObject). Make SubRanges check for their own size too.
git-svn-id: trunk@61915 -
2019-09-24 23:36:32 +00:00
martin
34e84c690e FpDebug: rename variable
git-svn-id: trunk@61802 -
2019-09-02 00:44:46 +00:00
martin
94eaca854f FpDebug: Rename TDbgSymbolForwarder to TFpSymbolForwarder
git-svn-id: trunk@61777 -
2019-08-28 15:36:15 +00:00
martin
3469cab38f FpDebug: Rename FpSymbol.Member* to NestedSymbol* / Distinguish from FpValue.Member
git-svn-id: trunk@61776 -
2019-08-28 15:36:13 +00:00
martin
0ce9055f11 FpDebug: Fix/Improve watches of Function/-ref
git-svn-id: trunk@61732 -
2019-08-20 18:58:47 +00:00
martin
936f07e67a FpDebug: remove unused Count
git-svn-id: trunk@61725 -
2019-08-18 13:43:50 +00:00
martin
5a7c9f1487 FpDebug: Refactor class names for TFpDbgValue and TFpDbgSymbol descendants.
git-svn-id: trunk@61722 -
2019-08-18 13:43:45 +00:00
martin
5110e434a6 FpDebug: Refactor reading Bounds
git-svn-id: trunk@61499 -
2019-06-30 19:16:58 +00:00
martin
dd77814ad7 FpDebug: Remove relation between TFpDbgSymbol and TFpDbgValue
git-svn-id: trunk@61498 -
2019-06-30 19:16:56 +00:00
martin
a2744edd0a FpDebug: clean up
git-svn-id: trunk@61420 -
2019-06-18 18:39:24 +00:00
martin
6d1944a6a3 FpDebug: Check char-size for strings. Recognize "UnicodeString", issue #0035340
git-svn-id: trunk@60930 -
2019-04-11 16:25:27 +00:00
martin
8524c41d52 FpDebug: change "open array" params to "const"
git-svn-id: trunk@59931 -
2018-12-29 00:35:22 +00:00
martin
53ff21a2b4 FpDebug: Implemented watch for "SomeString[index]"
git-svn-id: trunk@59861 -
2018-12-19 01:40:19 +00:00
martin
5562c074da IDE, fpDebug, Debuggers: Deal with source lines that have more than one address (e.g. generics). fpDebug: set breakpoints at all addresses of a line.
git-svn-id: trunk@57782 -
2018-05-03 18:52:41 +00:00
mattias
b6dc57342f fpdebug: comment
git-svn-id: trunk@53503 -
2016-12-01 10:33:58 +00:00
martin
2c1cc645e3 fpdebug: added params to stack
git-svn-id: trunk@49123 -
2015-05-20 21:00:18 +00:00
joost
8f9d2106db FpDebug: Re-structured the reading of debug-information from multiple files.
git-svn-id: trunk@48638 -
2015-04-05 20:08:17 +00:00
joost
769fbc3cde FpDebug: Removed invalid code that does not compile with fpc 2.7.1 (see fpc-bug 25769)
git-svn-id: trunk@45847 -
2014-07-12 19:51:06 +00:00
joost
91d19d2124 FpDebug: Revert of accidentally committed files in r45775 #0fac0512c8
git-svn-id: trunk@45776 -
2014-07-04 19:20:17 +00:00
joost
0fac0512c8 FpDebug (pure): Fix for format-parameters in error-message
git-svn-id: trunk@45775 -
2014-07-04 19:13:35 +00:00
joost
d72d8c2db8 FpDebug: Partly revert of accidentally committed r45286 #0275eec89b. The part that hasn't been reverted is the removal of the dependency on LCLbase.
git-svn-id: trunk@45287 -
2014-06-01 16:41:11 +00:00
joost
0275eec89b git-svn-id: trunk@45286 - 2014-06-01 16:28:56 +00:00
martin
668ff18191 FpDebug: added type skAddress
git-svn-id: trunk@45039 -
2014-05-14 21:02:13 +00:00
martin
a8caa85052 FpDebug: added nil,true,false
git-svn-id: trunk@44881 -
2014-05-02 00:53:39 +00:00
martin
e645bd4e95 FpDebug: added operators *, /, div for int/float
git-svn-id: trunk@44880 -
2014-05-02 00:13:10 +00:00
martin
53d97181b6 FpGdbmiDebugger: Add Locals
git-svn-id: trunk@44815 -
2014-04-26 15:46:40 +00:00
martin
03d6bdade7 FpDebug: prepare mem-manager for context
git-svn-id: trunk@44627 -
2014-04-07 00:26:04 +00:00
martin
79bd1ed96f FpDebug: refactor, each value in an expression keeps its own context (prepare for fpc nested proc)
git-svn-id: trunk@44611 -
2014-04-05 22:27:53 +00:00
martin
d1a92f8e05 FpDebug: use TFpDbgValue in Context.FindSymbol
git-svn-id: trunk@44602 -
2014-04-04 18:24:15 +00:00
martin
759c840e8a FpDebug: array / tests
git-svn-id: trunk@44554 -
2014-03-30 14:25:23 +00:00
martin
202388270c FpDebug: fix array index for static array
git-svn-id: trunk@44506 -
2014-03-24 13:36:10 +00:00
martin
483139f4fb FPDebug: refactor, renamed some classes
git-svn-id: trunk@44330 -
2014-03-02 21:58:15 +00:00
martin
09f97f2afd FPDebug: refactor
git-svn-id: trunk@44312 -
2014-03-02 02:14:44 +00:00
martin
f2745c8af3 FPDebug: disable wrong caching / refactor
git-svn-id: trunk@44310 -
2014-03-01 19:38:20 +00:00
martin
355e83cf62 FPDebug: add some more error checks in eval
git-svn-id: trunk@44236 -
2014-02-25 13:56:55 +00:00
martin
de5811d90d FPDebug: add some more error checks in eval
git-svn-id: trunk@44230 -
2014-02-25 04:57:38 +00:00
martin
499e59ec52 FPDebug: starting arrays
git-svn-id: trunk@44187 -
2014-02-21 00:18:53 +00:00
martin
0667e89729 FPDebug: read address from register / fix crash is destroyed object
git-svn-id: trunk@44176 -
2014-02-19 19:39:35 +00:00
martin
3818b4e602 FPGDBMIDebugger: more structured values
git-svn-id: trunk@44158 -
2014-02-19 01:49:06 +00:00
martin
a503dc1f3c FPGDBMIDebugger: structured values
git-svn-id: trunk@44121 -
2014-02-17 23:51:55 +00:00
martin
3f415797e4 Debugger: put some common types into DbgIntf
git-svn-id: trunk@44079 -
2014-02-15 01:31:30 +00:00
martin
369d6dc630 FPDebug: handle float
git-svn-id: trunk@44074 -
2014-02-14 18:23:15 +00:00
martin
2978fbf036 FPDebug: start using mem-manager
git-svn-id: trunk@44028 -
2014-02-12 15:21:28 +00:00
martin
4af520994a FPDebug: moved TDbgPtr to new unit (avoid circle units)
git-svn-id: trunk@44024 -
2014-02-12 01:44:59 +00:00
martin
b585ed6d46 FPDebug: Value handling / array
git-svn-id: trunk@43996 -
2014-02-11 02:56:55 +00:00
martin
da6195622e FPDebug: Value handling / enum, set
git-svn-id: trunk@43990 -
2014-02-10 12:36:06 +00:00
martin
fbad9f7b85 FPDebug: Value handling / enum, set
git-svn-id: trunk@43989 -
2014-02-10 02:12:50 +00:00
martin
97060b5ede FPDebug: Value handling / enum
git-svn-id: trunk@43983 -
2014-02-09 16:25:27 +00:00
martin
2cc1500342 FPDebug: Value handling / size field
git-svn-id: trunk@43945 -
2014-02-07 23:40:17 +00:00
martin
f170d5d55a FPDebug: Value handling / more typecasts
git-svn-id: trunk@43936 -
2014-02-07 12:29:44 +00:00
martin
8011d379c4 FPDebug: tests
git-svn-id: trunk@43911 -
2014-02-05 20:39:32 +00:00
martin
3ab0ac8feb FPDebug: more Value handling /start pointers
git-svn-id: trunk@43885 -
2014-02-05 02:10:12 +00:00
martin
2f2e3b018c FPDebug: more Value handling / typecasts
git-svn-id: trunk@43871 -
2014-02-04 00:28:40 +00:00
martin
8375c7ed26 FPDebug: more Value handling /start typecasts
git-svn-id: trunk@43864 -
2014-02-01 01:47:26 +00:00
martin
d4ee8f0e73 FPDebug: refactor circular references
git-svn-id: trunk@43862 -
2014-01-31 19:41:49 +00:00
martin
97e0cc4312 FPDebug: more Value handling / clean up / refactor: type-symbols no longer refers to values.
git-svn-id: trunk@43855 -
2014-01-31 01:27:10 +00:00
martin
ebcb804bf1 FPDebug: more Value handling
git-svn-id: trunk@43852 -
2014-01-30 14:15:31 +00:00
martin
e8f2625b6d FPDebug: more Value handling
git-svn-id: trunk@43832 -
2014-01-29 00:01:58 +00:00
martin
63668e5e4c FPDebug: Start on reading values
git-svn-id: trunk@43725 -
2014-01-14 23:48:58 +00:00
martin
51dbc1ee16 FPDebug: find "self", added references to owner.
git-svn-id: trunk@43657 -
2014-01-06 14:36:21 +00:00
martin
fc6bd246ea FPDebug: starting on DW_AT_location
git-svn-id: trunk@43566 -
2013-12-18 22:41:16 +00:00
martin
019afd6ae4 FPDebug: cleanup / re-order for better inlining
git-svn-id: trunk@43407 -
2013-11-09 16:29:15 +00:00
martin
98508349df FPDebug: refactor
git-svn-id: trunk@43392 -
2013-11-07 20:59:34 +00:00
martin
adf1d0e502 FPDebug: refactor, break circle unit ref
git-svn-id: trunk@43374 -
2013-11-04 23:42:06 +00:00