Commit Graph

281 Commits

Author SHA1 Message Date
martin
e2056f0494 FpDebug: Watches/Locals: Display "Unknown type" instead of "Identifier not found" for unimplemented/unknown data/types
git-svn-id: trunk@61005 -
2019-04-17 23:53:07 +00:00
martin
b0a3fd76d0 FpDebug: Fix an overflow in address calculation
git-svn-id: trunk@60798 -
2019-03-30 18:45:46 +00:00
martin
93f5df8cf3 LazDebuggerFp: Prevent crash for unimplemented dwarf-tags (e.g. tag_interface). See issue #35129
git-svn-id: trunk@60476 -
2019-02-24 13:36:36 +00:00
martin
c19567f879 FpDebug: fix nested array bounds in dwarf3
git-svn-id: trunk@59962 -
2019-01-01 15:06:19 +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
870af3d3e8 FpDebug: Fix length of widestring (avoid trailing random data)
git-svn-id: trunk@59930 -
2018-12-29 00:31:05 +00:00
martin
83ea07fe5b FpDebug: limit array/string bounds (max len) / partial fix/workaround to prevent crashes when eval locals while in pro-epi-logue (stack not yet initialized / random data for bounds and other). Issue #0034746
git-svn-id: trunk@59895 -
2018-12-22 18:26:39 +00:00
martin
78ffec8934 FpDebug: Fixed Array of String for dwarf-3
git-svn-id: trunk@59872 -
2018-12-20 01:11:42 +00:00
martin
4d4aa06706 FpDebug: Fixed Array of ShortString for dwarf2
git-svn-id: trunk@59870 -
2018-12-19 22:56:29 +00:00
martin
7f8e86bb91 FpDebug: detect ShortString under dwarf-2
git-svn-id: trunk@59780 -
2018-12-10 21:13:01 +00:00
martin
fec2f4c39e FpDebug: nil check, in case of corrupted debug info
git-svn-id: trunk@59779 -
2018-12-10 21:10:07 +00:00
martin
739388038a FpDebug: handle PWideChar (and WideString, if represented as PWideChar)
git-svn-id: trunk@59778 -
2018-12-10 21:08:22 +00:00
martin
d69ccc1655 FpDebug: DW_AT_const_value for basic constants. / Fix for SLEB128
git-svn-id: trunk@59730 -
2018-12-05 19:43:30 +00:00
martin
fa6ae63e30 FpDebug: temporary workaround to display widechar
git-svn-id: trunk@59539 -
2018-11-13 12:17:15 +00:00
martin
0368d8e0d8 FpDebug: temporary workaround to display widestrings (actually pwidechar^)
git-svn-id: trunk@59538 -
2018-11-13 11:48:38 +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
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
martin
2c1cc645e3 fpdebug: added params to stack
git-svn-id: trunk@49123 -
2015-05-20 21:00:18 +00:00
martin
311acd5b58 fpdebug: check for bounds, before accessing
git-svn-id: trunk@49086 -
2015-05-18 20:11:13 +00:00
joost
c53e775af5 FpDebug: The developers at Apple were not able to build a linker
with the ability to deal with Dwarf-debug info. Added the ability
to read the Dwarf-debug info from the object files and to map the
corresponding addresses to their position in the final executable.

git-svn-id: trunk@48864 -
2015-04-25 19:15:09 +00:00
joost
5bc5c42c07 FpDebug: Fixed the index-calculation for Dwarf-3 encoded strings
git-svn-id: trunk@46096 -
2014-08-31 16:12:38 +00:00
joost
7b1dd835cd FpDebug: Evaluate Dwarf-3 dynamic array/string upper value bound
git-svn-id: trunk@46091 -
2014-08-30 18:46:05 +00:00
martin
5acc0236ce FpDebug: array (1 dimension): DW_AT_byte_stride
git-svn-id: trunk@44918 -
2014-05-05 00:53:22 +00:00
martin
c4d3a2e866 FpDebug: recognize parentfp and $parentfp
git-svn-id: trunk@44912 -
2014-05-04 19:18:17 +00:00
martin
f49845883c FpDebug: implemented DW_AT_data_location
git-svn-id: trunk@44909 -
2014-05-04 16:53:21 +00:00
martin
6f4e80d11d FpDebug: fix compile (without extra defines)
git-svn-id: trunk@44830 -
2014-04-27 20:54:36 +00:00
martin
53d97181b6 FpGdbmiDebugger: Add Locals
git-svn-id: trunk@44815 -
2014-04-26 15:46:40 +00:00
martin
36cf5c18c1 FpGdbmiDebugger: fixes typecast to class of current method / improve nested procs / tests
git-svn-id: trunk@44711 -
2014-04-13 02:39:01 +00:00
martin
99beb437a1 FpGdbmiDebugger: fixes for nested proc / tests
git-svn-id: trunk@44709 -
2014-04-12 21:37:50 +00:00
martin
fd9065da9c FpDebug: deal with parentfp for nested procs
git-svn-id: trunk@44639 -
2014-04-07 20:24:10 +00:00
martin
03d6bdade7 FpDebug: prepare mem-manager for context
git-svn-id: trunk@44627 -
2014-04-07 00:26:04 +00:00
martin
5df27a9624 FpDebug: renamed dwarf classes, more unified names
git-svn-id: trunk@44624 -
2014-04-06 16:27:37 +00:00
martin
cc3874bdbb FpDebug: fixed crash when attempting to inspect method (not implemented)
git-svn-id: trunk@44612 -
2014-04-05 22:59:10 +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
69938aa78b FpDebug: remove no longer needed reference.
git-svn-id: trunk@44604 -
2014-04-04 19:26:27 +00:00
martin
9fbc114aa7 FpDebug: move "self" to pascal specific
git-svn-id: trunk@44603 -
2014-04-04 18:54:48 +00:00
martin
d1a92f8e05 FpDebug: use TFpDbgValue in Context.FindSymbol
git-svn-id: trunk@44602 -
2014-04-04 18:24:15 +00:00
martin
ad1e9548a3 FpDebug: restructure dwarf classes, preparation for adding fpc specific subclasses
git-svn-id: trunk@44598 -
2014-04-03 23:24:00 +00:00
martin
66beffb223 FpDebug: restructure dwarf classes, preparation for adding fpc specific subclasses
git-svn-id: trunk@44594 -
2014-04-03 17:44:49 +00:00
martin
e7ed3a5bce move debug/verbose code to own unit
git-svn-id: trunk@44586 -
2014-04-01 23:44:33 +00:00
martin
753201d93a FpDebug: fix dyn array len / 64 bit
git-svn-id: trunk@44573 -
2014-03-31 23:05:20 +00:00
martin
aea501eaad FpDebug: fix uninitialized result
git-svn-id: trunk@44572 -
2014-03-31 22:57:29 +00:00
martin
4afbc6b24d FpDebug: start pretty-printer class
git-svn-id: trunk@44564 -
2014-03-31 17:41:22 +00:00
martin
8d1b5eeea4 FpDebug: pointer deref with index / tests
git-svn-id: trunk@44563 -
2014-03-31 03:11:39 +00:00
martin
7473ac1d09 FpDebug: sets / tests
git-svn-id: trunk@44562 -
2014-03-31 00:18:43 +00:00
martin
3dc25d4870 FpDebug: array / tests
git-svn-id: trunk@44556 -
2014-03-30 17:05:48 +00:00
martin
759c840e8a FpDebug: array / tests
git-svn-id: trunk@44554 -
2014-03-30 14:25:23 +00:00
martin
69670fab2a FpDebug: fix array typecasts / tests
git-svn-id: trunk@44546 -
2014-03-29 02:35:57 +00:00
martin
406a3736b2 FpDebug: fix struct members / array with multi dimension / tests
git-svn-id: trunk@44542 -
2014-03-28 20:15:42 +00:00
martin
b9283584dc FpDebug: fix array with struct / tests
git-svn-id: trunk@44531 -
2014-03-28 00:21:26 +00:00
martin
0f0ea7602d FpDebug: fix nil array / tests
git-svn-id: trunk@44527 -
2014-03-26 23:31:59 +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
7dff9e1f43 FpDebug: fix data address with "Ref" / tests
git-svn-id: trunk@44501 -
2014-03-23 21:22:15 +00:00
martin
95834abad6 FpDebug: Spelling
git-svn-id: trunk@44496 -
2014-03-23 15:35:37 +00:00
martin
e3b1d7060b FPDebug: fix finding parentclass data address
git-svn-id: trunk@44408 -
2014-03-11 22:16:38 +00:00
martin
635f14467e FPDebug: fix crash
git-svn-id: trunk@44406 -
2014-03-11 14:56:09 +00:00
martin
1b3ac9cf89 FPDebug: re-added address cache for members
git-svn-id: trunk@44402 -
2014-03-11 04:54:05 +00:00
martin
91b0b4fb35 FPDebug: fix crash in accessing member by name
git-svn-id: trunk@44391 -
2014-03-10 00:38:52 +00:00
martin
32f60ff178 FPDebug: refactor (use value-object for data address of members)
git-svn-id: trunk@44382 -
2014-03-08 22:07:32 +00:00
joost
d23eff7453 * Removed bogus default-values for records. Those do not compile on fpc 2.7.1
git-svn-id: trunk@44351 -
2014-03-05 11:15:52 +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
c8c11be08b FPDebug: fix re-using array data member object
git-svn-id: trunk@44240 -
2014-02-25 23:55:26 +00:00
martin
818e37a4d3 FPDebug: cache data address
git-svn-id: trunk@44239 -
2014-02-25 21:56:02 +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
889678aa8e FPGDBMIDebugger: fixed bin search
git-svn-id: trunk@44221 -
2014-02-24 05:32:02 +00:00
martin
799ade039d FPDebug: clean up / fix array len
git-svn-id: trunk@44209 -
2014-02-23 00:49:05 +00:00
martin
499e59ec52 FPDebug: starting arrays
git-svn-id: trunk@44187 -
2014-02-21 00:18:53 +00:00
martin
281d40f25c FPDebug: correct class for member
git-svn-id: trunk@44180 -
2014-02-20 01:31:45 +00:00
martin
0660f0e9f4 FPDebug: pchar
git-svn-id: trunk@44179 -
2014-02-20 01:12:25 +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
9968ee0c14 FPDebug: all class members in values / nil in class
git-svn-id: trunk@44171 -
2014-02-19 17:56:29 +00:00
martin
ff3f939321 FPDebug: handle nil in class results
git-svn-id: trunk@44163 -
2014-02-19 05:20:37 +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
b699d68760 FPDebug: less debugln
git-svn-id: trunk@44117 -
2014-02-17 15:00:17 +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
a328c53065 FPDebug: mem-manager
git-svn-id: trunk@44073 -
2014-02-14 17:26:44 +00:00
martin
f580daeb56 FPDebug: mem-manager
git-svn-id: trunk@44068 -
2014-02-14 01:38:45 +00:00
martin
c714225b97 FPDebug: clean up / use mem-manager
git-svn-id: trunk@44029 -
2014-02-12 15:54:16 +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
9b1e474917 FPDebug: tests
git-svn-id: trunk@44006 -
2014-02-11 19:45:58 +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
7007975497 FPDebug: mem leak
git-svn-id: trunk@43968 -
2014-02-09 13:25:10 +00:00
martin
97a11734fc FPDebug: Value handling / more typecasts
git-svn-id: trunk@43960 -
2014-02-08 23:03:34 +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
d1484bf11f FPDebug: fix compile with trunk
git-svn-id: trunk@43920 -
2014-02-06 17:21:02 +00:00
martin
8011d379c4 FPDebug: tests
git-svn-id: trunk@43911 -
2014-02-05 20:39:32 +00:00
martin
887afcf9dc FPDebug: tests
git-svn-id: trunk@43910 -
2014-02-05 17:23:59 +00:00
martin
8e96b14a37 FPDebug: Value handling / fixes for structure
git-svn-id: trunk@43907 -
2014-02-05 13:32:05 +00:00
martin
c20494536f FPDebug: fix Value handling / typecasts
git-svn-id: trunk@43904 -
2014-02-05 12:12:29 +00:00
martin
64b56efefb FPDebug: more Value handling / pointers
git-svn-id: trunk@43886 -
2014-02-05 02:30:45 +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
513a42d90d FPDebug: testcase
git-svn-id: trunk@43867 -
2014-02-02 23:33:29 +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
03651e2cfd FPDebug: more DW_AT_location
git-svn-id: trunk@43666 -
2014-01-06 23:35:59 +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
c69d317a0e FPDebug: more DW_AT_location
git-svn-id: trunk@43626 -
2014-01-01 15:10:28 +00:00
martin
fc6bd246ea FPDebug: starting on DW_AT_location
git-svn-id: trunk@43566 -
2013-12-18 22:41:16 +00:00
martin
07faf68681 FPDebug: started on AbstractOrigin
git-svn-id: trunk@43454 -
2013-11-17 21:21:43 +00:00
martin
f3f65fc02b FPDebug: handle start scope / fix searching class parents
git-svn-id: trunk@43444 -
2013-11-14 14:05:49 +00:00
martin
18720fc9b0 FPDebug: run on w64
git-svn-id: trunk@43440 -
2013-11-13 20:09:17 +00:00
martin
7b06878fa9 FPDebug: fix for line info (not reading behind data end) / use pointer to abbrev, faster
git-svn-id: trunk@43438 -
2013-11-13 14:40:05 +00:00
martin
44d3772a10 FPDebug: improved search for certain attributes.
git-svn-id: trunk@43437 -
2013-11-13 12:43:10 +00:00
martin
27e3b15e2e FPDebug: fix calling nil object
git-svn-id: trunk@43428 -
2013-11-11 22:12:41 +00:00
martin
ad449adbc0 FPDebug: fix calling nil object
git-svn-id: trunk@43427 -
2013-11-11 22:11:55 +00:00
martin
15cbda1171 FPDebug: some optimizations
git-svn-id: trunk@43415 -
2013-11-10 12:05:05 +00:00
martin
f0787433ea FPDebug: some optimizations
git-svn-id: trunk@43414 -
2013-11-10 11:13:59 +00:00
martin
69ba113d3d FPDebug: some optimizations
git-svn-id: trunk@43413 -
2013-11-10 10:14:39 +00:00
martin
9ecc74ee77 FPDebug: speed up
git-svn-id: trunk@43412 -
2013-11-09 23:54:26 +00:00
martin
310df63d6f FPDebug: string compare (none case) utf8 and faster
git-svn-id: trunk@43411 -
2013-11-09 22:41:44 +00:00
martin
c7584d7702 FPDebug: speed up scanning scopes / less memory used
git-svn-id: trunk@43409 -
2013-11-09 19:28:45 +00:00
martin
3ee4e090ac FPDebug: speed up BuildAddressMap
git-svn-id: trunk@43408 -
2013-11-09 17:02:06 +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
e8550987a1 FPDebug: refactor
git-svn-id: trunk@43406 -
2013-11-09 16:04:37 +00:00
martin
26b8234ad0 FPDebug: scan class parents
git-svn-id: trunk@43399 -
2013-11-09 11:52:49 +00:00
martin
4c8b79e5fc FPDebug: scan all units
git-svn-id: trunk@43394 -
2013-11-08 01:32:52 +00:00
martin
98508349df FPDebug: refactor
git-svn-id: trunk@43392 -
2013-11-07 20:59:34 +00:00
martin
3163c7673e FPDebug: fixes
git-svn-id: trunk@43377 -
2013-11-05 22:37:08 +00:00
martin
adf1d0e502 FPDebug: refactor, break circle unit ref
git-svn-id: trunk@43374 -
2013-11-04 23:42:06 +00:00
martin
3a334890d5 FPDebug: refactor
git-svn-id: trunk@43372 -
2013-11-04 15:27:06 +00:00
martin
de89e7cd72 FPDebug: arrays
git-svn-id: trunk@43354 -
2013-11-03 01:28:04 +00:00
martin
5bc8ede3a2 FPDebug: refactor
git-svn-id: trunk@43349 -
2013-11-01 18:13:29 +00:00
martin
66f965d74c FPDebug: more tags
git-svn-id: trunk@43347 -
2013-11-01 00:40:27 +00:00
martin
45c0307c1b FPDebug: more tags
git-svn-id: trunk@43346 -
2013-10-31 02:00:59 +00:00
martin
75b3da80b2 FPDebug: more tags
git-svn-id: trunk@43343 -
2013-10-30 17:02:59 +00:00
martin
6130157a41 FPDebug: more tags
git-svn-id: trunk@43338 -
2013-10-28 23:43:31 +00:00
martin
0f1ab1f8fe FPDebug: scan in enum / helper to build pascal representation of types
git-svn-id: trunk@43330 -
2013-10-27 14:03:01 +00:00
martin
b674986c1a FPDebug: more dwarf types (enum)
git-svn-id: trunk@43324 -
2013-10-26 19:28:25 +00:00
martin
43df650e1e FPDebug: more dwarf types (enum)
git-svn-id: trunk@43323 -
2013-10-26 18:57:36 +00:00
martin
f1c0a8c344 FPDebug: fix scanning past end of infodata / fix memleak
git-svn-id: trunk@43321 -
2013-10-25 12:35:34 +00:00
martin
5784fea1bb FPDebug: refactor / more ptype for gdb
git-svn-id: trunk@43310 -
2013-10-23 22:18:09 +00:00
martin
89a45ba046 FPDebug: refactor
git-svn-id: trunk@43309 -
2013-10-23 19:48:46 +00:00
martin
649eb4e059 FPDebug: refactor / more ptype for gdb
git-svn-id: trunk@43305 -
2013-10-23 13:26:43 +00:00
martin
4e2db184a7 FPDebug: refactor
git-svn-id: trunk@43301 -
2013-10-22 13:29:09 +00:00
martin
d3bb162b11 FPDebug: refactor
git-svn-id: trunk@43299 -
2013-10-21 13:53:42 +00:00