martin
|
5d6b05e0c0
|
FpDebug: Move reading dwarf-2 length of dyn-array to fpc specific unit (fpdbgdwarffreepascal)
git-svn-id: trunk@61415 -
|
2019-06-18 18:39:15 +00:00 |
|
martin
|
5effef2a57
|
FpDebug: Refactor "AttribIdx". Reduce repeated calls.
git-svn-id: trunk@61414 -
|
2019-06-18 18:39:13 +00:00 |
|
martin
|
befba0c77b
|
FpDebug: Fix mem leak in strings/dwarf-3
git-svn-id: trunk@61413 -
|
2019-06-18 18:39:11 +00:00 |
|
martin
|
c13bcb61c2
|
FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61335 -
|
2019-06-07 12:24:00 +00:00 |
|
martin
|
3f6a435b48
|
FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61330 -
|
2019-06-06 20:45:34 +00:00 |
|
martin
|
9075dc0db1
|
FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61328 -
|
2019-06-06 20:14:47 +00:00 |
|
martin
|
157ea70bdb
|
FpDebug: Fix upper/lower spelling of Contents/MacOS
git-svn-id: trunk@61066 -
|
2019-04-27 15:10:17 +00:00 |
|
martin
|
0f2eece126
|
DwarfViewer: remove -WC
git-svn-id: trunk@61039 -
|
2019-04-22 12:32:42 +00:00 |
|
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
|
bd2040ec55
|
FpDebug: "UnicodeString" workaround for wrong dwarf-highbound fpc issue #0035359, see also issue #0035340
git-svn-id: trunk@60946 -
|
2019-04-12 23: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
|
b0a3fd76d0
|
FpDebug: Fix an overflow in address calculation
git-svn-id: trunk@60798 -
|
2019-03-30 18:45:46 +00:00 |
|
martin
|
691606d9bc
|
FpDebug: Less debugln
git-svn-id: trunk@60650 -
|
2019-03-10 18:00:00 +00:00 |
|
martin
|
db921aff87
|
FpDebug: Add property for feedback, when debug info can not be read. Add feedback from macho reader
git-svn-id: trunk@60648 -
|
2019-03-10 17:59:57 +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
|
2fe7c631b4
|
FpDebug: Fix context for register on higher/non-existing stack frames (count vs index) / refactor
git-svn-id: trunk@60358 -
|
2019-02-07 17:40:20 +00:00 |
|
mattias
|
68aeaf0590
|
fpdebug: clean up
git-svn-id: trunk@60347 -
|
2019-02-06 08:19:51 +00:00 |
|
martin
|
f534ee214b
|
FpDebug: Fix crash on Win, in case of multiple processes (e.g. console process for win gui app). Accessing wrong threads (thread-state) during events would crash the target
git-svn-id: trunk@60345 -
|
2019-02-06 00:47:08 +00:00 |
|
martin
|
f72819e5bd
|
FpDebug, LazDebuggerFpLldb: prevent reading invalid memory (int overflow of Addr+Size) / this fixes crashes due to incorrect cache matches
git-svn-id: trunk@60338 -
|
2019-02-05 17:31:03 +00:00 |
|
martin
|
dac68e42e2
|
FpDebug, LazDebuggerFp: fix last frame in stack list / allow evaluate more frames
git-svn-id: trunk@60335 -
|
2019-02-04 18:26:11 +00:00 |
|
zeljko
|
e3b3459bbd
|
fpdebug: fixed compilation under darwin
git-svn-id: trunk@60231 -
|
2019-01-27 13:23:16 +00:00 |
|
martin
|
cfed0db10f
|
FpDebug: More refactor internal breakpoints. Improve stopping other threads on Linux
git-svn-id: trunk@60214 -
|
2019-01-25 00:44:38 +00:00 |
|
martin
|
6f10746551
|
FpDebug: Fix breakpoint not applied / left over old code
git-svn-id: trunk@60213 -
|
2019-01-25 00:42:50 +00:00 |
|
martin
|
88aca89865
|
FpDebug: More refactor internal breakpoints. More control to OS classes. Improve stopping other threads on Linux
git-svn-id: trunk@60160 -
|
2019-01-23 21:28:44 +00:00 |
|
martin
|
861615d32d
|
FpDebug: Linux, remove threads when they exit
git-svn-id: trunk@60153 -
|
2019-01-23 01:17:38 +00:00 |
|
martin
|
2bf19a2135
|
FpDebug: fix removing internal breakpoints / fix crash on remove
git-svn-id: trunk@60152 -
|
2019-01-23 00:49:43 +00:00 |
|
martin
|
a48c9c1b69
|
FpDebug: More refactor internal breakpoints. Move detection for ResetInstructionPointerAfterBreakpoint into OS classes.
git-svn-id: trunk@60142 -
|
2019-01-22 02:11:44 +00:00 |
|
martin
|
ba83c710cd
|
FpDebug: Start refactor internal breakpoints. Prepare to allow several breakpoints set at the same address.
git-svn-id: trunk@60123 -
|
2019-01-20 19:09:46 +00:00 |
|
mattias
|
ace1df908b
|
fpdebug: clean up
git-svn-id: trunk@60111 -
|
2019-01-19 17:37:30 +00:00 |
|
martin
|
d00b7d06af
|
FpDebug: fix compile on linux. Issue #0034894
git-svn-id: trunk@60103 -
|
2019-01-18 11:26:00 +00:00 |
|
martin
|
cd32b50fa8
|
FpDebug: Linux, pause all threads if any is paused
git-svn-id: trunk@60096 -
|
2019-01-16 22:34:33 +00:00 |
|
martin
|
95d1609a43
|
FpDebug: add enumerator for threadmap
git-svn-id: trunk@60095 -
|
2019-01-16 22:32:49 +00:00 |
|
martin
|
ca3d4a29d7
|
FpDebug: Fix DW_FORM_strp for Dwarf3's 64Bit-Dwarf info
git-svn-id: trunk@60086 -
|
2019-01-14 23:13:21 +00:00 |
|
martin
|
9a9d87e661
|
FpDebug: fix cache when cross debugging a 64bit target from a 32bit IDE. (affects FpLldb)
git-svn-id: trunk@60085 -
|
2019-01-14 23:05:10 +00:00 |
|
martin
|
95f4d65126
|
FpDebug: fix type in macho debug structure (avoid range check errors)
git-svn-id: trunk@60083 -
|
2019-01-14 20:14:17 +00:00 |
|
martin
|
f737797457
|
FpDebugServer: fix compilation / support multiple addresses per breakpoint
git-svn-id: trunk@60048 -
|
2019-01-09 20:50:23 +00:00 |
|
martin
|
8175bdfee6
|
FpDebug: Windows, fixed intercepting system exceptions (access violations, stack overflow, div zero,...)
git-svn-id: trunk@60044 -
|
2019-01-09 14:29:56 +00:00 |
|
martin
|
72278d010a
|
FpDebug: MacOs, 64bit IDE loading of dwarf for 32 bit target
git-svn-id: trunk@60041 -
|
2019-01-08 23:12:25 +00:00 |
|
martin
|
fe756b5c1b
|
FpDebug: MacOs, loading of dwarf symbols missed some global vars.
git-svn-id: trunk@60015 -
|
2019-01-06 02:07:05 +00:00 |
|
martin
|
10ba71341c
|
LazDebuggerFp/FpDebug: prevent mem-cache from hiding mem-read errors
git-svn-id: trunk@60014 -
|
2019-01-06 01:43:52 +00:00 |
|
martin
|
7ccec4c206
|
FpDebug: Callstack, adjust to show the current calling line, instead of the line after it. Issue #0034753
git-svn-id: trunk@59978 -
|
2019-01-03 00:12:02 +00:00 |
|
martin
|
0d0fab67b2
|
FpDebug: Dwarfviewer. Allow drop files / various updates
git-svn-id: trunk@59965 -
|
2019-01-01 15:13:08 +00:00 |
|
martin
|
386fdbd4a6
|
FpDebug: ResetValueBounds was moved to SetTypeCastInfo
git-svn-id: trunk@59963 -
|
2019-01-01 15:07:06 +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
|
40e565832d
|
FpDebug: added dbgs for debugln
git-svn-id: trunk@59961 -
|
2019-01-01 13:47:16 +00:00 |
|
martin
|
52dda0c955
|
FpDebug: fix commit 59943 #31fe8e6955 / open-array bounds
git-svn-id: trunk@59959 -
|
2018-12-31 14:26:38 +00:00 |
|
martin
|
31fe8e6955
|
FpDebug: fix accessing Upper-bound-value of open-array. Was missing a context object. Issue #0034781 / Add limit to prevent bad size, if data is corrupt. Issue #34772
git-svn-id: trunk@59943 -
|
2018-12-31 00:42:49 +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
|
f772c7f4d2
|
FpDebug: Fix typecast
git-svn-id: trunk@59929 -
|
2018-12-29 00:28:50 +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
|
53ff21a2b4
|
FpDebug: Implemented watch for "SomeString[index]"
git-svn-id: trunk@59861 -
|
2018-12-19 01:40:19 +00:00 |
|
martin
|
35103e664b
|
FpDebug: Implement correct length for open-array params
git-svn-id: trunk@59825 -
|
2018-12-14 13:41:49 +00:00 |
|
martin
|
4d203a087c
|
LazDebuggerFp: Fix, Step-over did not stop, if an "auto-continue/none-break" breakpoint was encountered at the end of the step. Fix last commit
git-svn-id: trunk@59817 -
|
2018-12-13 16:12:04 +00:00 |
|
martin
|
88767bcd81
|
LazDebuggerFp: Fix, Step-over did not stop, if an "auto-continue/none-break" breakpoint was encountered at the end of the step. (the auto continue took priority over the end-of-step)
git-svn-id: trunk@59816 -
|
2018-12-13 15:16:32 +00:00 |
|
martin
|
eb7d309f42
|
FpDebug: started/partly detect strings in dwarf-3
git-svn-id: trunk@59794 -
|
2018-12-11 18:53:13 +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
|
7463fc15a6
|
FpDebug: properly encode strings for display (unprintable chars as #$nn)
git-svn-id: trunk@59777 -
|
2018-12-10 21:04:08 +00:00 |
|
martin
|
7e6959a326
|
FpDebug: Fix Dwarf3 on 64bit. The The 32/64bit signature in the dwarf header should only affect references within the dwarf info. But by accident it affected constant addresses. This lead to truncation of some addresses, when dwarf-3 was used with 64 bit targets.
git-svn-id: trunk@59776 -
|
2018-12-10 20:57:24 +00:00 |
|
martin
|
c5fdbd440a
|
FpDebug: fix accessing nil fileloader. Introduced in rev 59729 #f09614b9a8 / Issue #0034657
git-svn-id: trunk@59745 -
|
2018-12-06 23:37:45 +00:00 |
|
martin
|
a33608de2e
|
FpDebug: Windows, fix leaking filehandles (again), see r59552 #122dfbd2ce / needed until forked processes are handled.
git-svn-id: trunk@59741 -
|
2018-12-06 18:03:18 +00:00 |
|
martin
|
0506cd7fb5
|
FpDebug: Windows, Check dwDebugEventCode before accessing case dependent data
git-svn-id: trunk@59740 -
|
2018-12-06 18:01:02 +00:00 |
|
martin
|
d7efb8aa10
|
FpDebug,Mac: macho file reader - remove unused object / re-use instance for parser
git-svn-id: trunk@59736 -
|
2018-12-06 15:05:59 +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
|
f09614b9a8
|
FpDebug: (Linux/Mac) Do not keep files open longer than needed. Systems may limit max files open. (Mac opens many files)
git-svn-id: trunk@59729 -
|
2018-12-05 01:49:29 +00:00 |
|
martin
|
f9abff2df4
|
FpDebug (incl lldb/gdb): Fix crash due to wrong cache removed from list. List could have 2 caches with same address, if a smaller cache was replaced by a bigger. Remove could destroy one and remove the other
git-svn-id: trunk@59728 -
|
2018-12-04 22:20:16 +00:00 |
|
martin
|
bba050e333
|
FpDebug: Disable assert, until fixed
git-svn-id: trunk@59727 -
|
2018-12-04 17:12:05 +00:00 |
|
martin
|
84ba359bbd
|
FpDebug: print type-name for structured types
git-svn-id: trunk@59692 -
|
2018-11-29 13:46:46 +00:00 |
|
mattias
|
9fef4bbe0d
|
fpdebug: fixed framwork name Security
git-svn-id: trunk@59669 -
|
2018-11-26 22:31:09 +00:00 |
|
martin
|
2cace808be
|
LazDebuggerFp, FpDebug: (windows only) implemented switching threads while paused. (On Linux only one thread is currently paused, so switching is not possible)
git-svn-id: trunk@59571 -
|
2018-11-17 14:16:09 +00:00 |
|
martin
|
b3179348c0
|
FpDebug: More verbose error, if failing to open file
git-svn-id: trunk@59570 -
|
2018-11-17 14:02:43 +00:00 |
|
martin
|
3f70eb5a9d
|
FpDebug: Windows, replace global context (thread context/registers) with context per thread
git-svn-id: trunk@59569 -
|
2018-11-17 13:55:54 +00:00 |
|
martin
|
129c834748
|
FpDebug: fix memleak if no loader for file format is found
git-svn-id: trunk@59563 -
|
2018-11-16 20:30:20 +00:00 |
|
martin
|
e1a6096d71
|
FpDebug: format structured values (class) as one line per field
git-svn-id: trunk@59557 -
|
2018-11-16 13:15:33 +00:00 |
|
martin
|
122dfbd2ce
|
FpDebug: Windows, fix leaking filehandles / more (temp) fixes for not processing forked children
git-svn-id: trunk@59552 -
|
2018-11-15 22:42:41 +00:00 |
|
martin
|
84e5ae329a
|
FpDebug: Workaround for dangling thread object
git-svn-id: trunk@59551 -
|
2018-11-15 22:41:07 +00:00 |
|
martin
|
80defc9157
|
FpDebug: workaround, prevent loosing the main process, if child processes are created. The Controller needs overall rework to handle multiple attached processes.
git-svn-id: trunk@59546 -
|
2018-11-15 16:41:46 +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
|
1b9614bd52
|
FpDebug: fixed a memory leak, when the debugged process forked child processes.
git-svn-id: trunk@59525 -
|
2018-11-11 23:09:44 +00:00 |
|
martin
|
e4adcb2815
|
FpDebug, DwarfViewer: fix 64bit
git-svn-id: trunk@59509 -
|
2018-11-11 14:47:57 +00:00 |
|
martin
|
f0d8e3150c
|
fix Makefiles
git-svn-id: trunk@59496 -
|
2018-11-09 15:08:28 +00:00 |
|
martin
|
7dceed7de3
|
fp debug: Makefiles
git-svn-id: trunk@59495 -
|
2018-11-09 14:34:16 +00:00 |
|
martin
|
c54639d227
|
FpDebug: Allow to specify poNewConsole on windows
git-svn-id: trunk@59488 -
|
2018-11-07 23:13:11 +00:00 |
|
martin
|
9b2f44b8c8
|
Lldb/Gdb - FpDebug: fix crash in pretty printer when called from lldb/gdb mixed debugger (MemManager not set)
git-svn-id: trunk@59443 -
|
2018-11-03 22:45:16 +00:00 |
|
mattias
|
7fde8c4b92
|
fpdebug: less hints
git-svn-id: trunk@59210 -
|
2018-10-01 15:10:56 +00:00 |
|
martin
|
ae279a0337
|
fpdebug: use TFPGMap instead of TStringList. Included in patch of Issue #34225 Patch by David Jenkins
git-svn-id: trunk@58892 -
|
2018-09-06 11:26:24 +00:00 |
|
martin
|
a44e814975
|
fpdebug / fp-lldb: runtime detection of 32/64bit arch. Issue #34225 Patch by David Jenkins
git-svn-id: trunk@58891 -
|
2018-09-06 11:24:43 +00:00 |
|
juha
|
d43fa548b8
|
LazUtils: Rename unit LazUTF8SysUtils -> LazSysUtils. It had nothing to do with character encoding.
git-svn-id: trunk@58630 -
|
2018-07-25 13:38:59 +00:00 |
|
martin
|
adee3883fa
|
fp debug: introduce mem reader cache
git-svn-id: trunk@58417 -
|
2018-06-28 10:27:02 +00:00 |
|
joost
|
3f08871ce8
|
fpdebug: Fixed compilation with verbose debugging
git-svn-id: trunk@58416 -
|
2018-06-26 21:40:16 +00:00 |
|
martin
|
ef0ef04087
|
Dwarfviewer: update dwarf loading (recent refactor)
git-svn-id: trunk@58401 -
|
2018-06-25 13:48:58 +00:00 |
|
martin
|
23d5c0bdc7
|
FP Debugger: fix range checks / do not use arbitrary large static arrays (gdb dislikes the debuginfo)
git-svn-id: trunk@58399 -
|
2018-06-24 22:56:20 +00:00 |
|
martin
|
a80f8c659c
|
FpDebug: refactor for loading MacOs sym in mixed lldb/gdb debug
git-svn-id: trunk@58395 -
|
2018-06-24 19:31:39 +00:00 |
|
martin
|
d1d7164b75
|
FpDebug: IDEBuildOptions
git-svn-id: trunk@58394 -
|
2018-06-24 19:29:08 +00:00 |
|
martin
|
0db8c632c5
|
FpDebug: MacOs, find dwarf info in app bundle
git-svn-id: trunk@58307 -
|
2018-06-18 13:16:32 +00:00 |
|