joost
113cc3749d
FpDebug: Parse the symbol-table from elf-executables
...
git-svn-id: trunk@45858 -
2014-07-13 20:59:00 +00:00
joost
89f94d01be
FpDebugger (pure): Watchpoints on 32-bit linux
...
Removed some old debug-code
git-svn-id: trunk@45854 -
2014-07-13 11:23:07 +00:00
joost
eaf0dffc07
FpDebugger (pure): Make step-into work even without having watchpoints available. (Even though it will be slow)
...
git-svn-id: trunk@45851 -
2014-07-13 10:24:03 +00:00
joost
eb735a3db1
FpDebugger (pure): Fix for getting the frame-pointer
...
git-svn-id: trunk@45850 -
2014-07-13 10:05:14 +00:00
joost
8397b21039
FpDebugger (pure): Show error-message on failure to start debuggee
...
git-svn-id: trunk@45848 -
2014-07-12 21:05:22 +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
e76f27604f
FpDebug: Synchronized changes in fpdebug.lpk (r45780) with fpdebug.pas
...
git-svn-id: trunk@45846 -
2014-07-12 18:56:17 +00:00
joost
113cc6e509
FpDebugger (pure): Show warning when there is no Dwarf-debug information available
...
git-svn-id: trunk@45843 -
2014-07-12 15:40:00 +00:00
joost
c670807110
FpDebugger (pure): Use GETREGSET instead of GETREGS, cross-arch-debugging on Linux
...
git-svn-id: trunk@45842 -
2014-07-12 15:30:46 +00:00
joost
42ba440a7d
FpDebugger (pure): i386-linux support
...
git-svn-id: trunk@45834 -
2014-07-11 21:29:07 +00:00
joost
3dd28b3d12
FpDebugger (pure): Select the right 32/64-bit assembler when cross-debugging
...
git-svn-id: trunk@45833 -
2014-07-11 19:58:35 +00:00
joost
ad1e0f1a6e
FpDebugger (pure): Re-added some Darwin-specific stuff that got lost somehow (probably never comitted)
...
git-svn-id: trunk@45821 -
2014-07-10 21:07:35 +00:00
joost
600fc1036c
FpDebugger (pure): Let the memory-manager read memory from within the debugging-thread on Linux.
...
More fixes for getting the instruction-register on x86_64
Fixxed setting the line-info on Darwin and Linux
git-svn-id: trunk@45817 -
2014-07-08 21:15:04 +00:00
joost
bcb2f4643e
FpDebugger (pure): Hardware-breakpoints on Linux/x86_64
...
git-svn-id: trunk@45794 -
2014-07-06 16:26:16 +00:00
joost
a0fe6adf48
FpDebugger (pure): Do not try to compile the linux-units on non-linux systems
...
git-svn-id: trunk@45780 -
2014-07-04 21:44:37 +00:00
joost
8f433367c7
FpDebugger (pure): Use a TFPGObjectList to free the items. Fixes several mem-leaks
...
git-svn-id: trunk@45779 -
2014-07-04 20:11:51 +00:00
joost
982f401425
FpDebugger (pure): Cleanup unused variables
...
git-svn-id: trunk@45778 -
2014-07-04 20:00:08 +00:00
joost
64a67e7166
FpDebugger (pure): Fix for getting the frame- and instruction-pointer from the callstack on architectures other then i386
...
git-svn-id: trunk@45777 -
2014-07-04 19:26:26 +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
f38e91869e
FpDebug: DW_FORM_strps lenght equals the adres size in Dwarf 1/2
...
git-svn-id: trunk@45774 -
2014-07-04 19:01:06 +00:00
joost
3db6e1f4dc
FpDebug (pure): Set uninitialized function result
...
git-svn-id: trunk@45766 -
2014-07-03 19:40:45 +00:00
joost
e48fb34a9a
FpDebug (pure): Do not try to set register-values twice
...
git-svn-id: trunk@45765 -
2014-07-03 19:37:41 +00:00
joost
5f0402b4c2
FpDebug (pure): Added Linux-support
...
git-svn-id: trunk@45732 -
2014-06-29 20:55:54 +00:00
joost
147a8bf840
FpDebugger (console): Show registers
...
git-svn-id: trunk@45650 -
2014-06-24 20:03:28 +00:00
joost
b8018f83f3
FpDebug (pure): Add/remove 64-bit watchpoints on Darwin
...
git-svn-id: trunk@45649 -
2014-06-24 17:36:36 +00:00
joost
4171928dd9
LazDebuggerFp (pure): Improved handling of step-over/into-line, when a library is loaded, a breakpoint is hit or when stepping out of a procedure.
...
git-svn-id: trunk@45595 -
2014-06-21 19:10:03 +00:00
joost
843f23eafd
LazDebuggerFp (pure): Rewrote/refactored ResolveDebugEvent. As much as possible code moved from the os-specific classes to the general classes. Now TDbgProcess and TDbgThread only handle single-stepping and the handling of breakpoints and exceptions. Other commands (like step-line, step-into-line etc) are implemented as childs of TDbgControllerCmd. All specific handling is done in those classes.
...
git-svn-id: trunk@45590 -
2014-06-20 15:22:45 +00:00
joost
0016101b7f
FpDebugger (pure): Show a message when starting the debuggee has failed. With some special attention to the case that someone tries to debug a 64 bit application with a 32 bit debugger.
...
git-svn-id: trunk@45432 -
2014-06-09 16:29:25 +00:00
joost
1b1997f370
FpDebugger (pure): Changed notification-level for errors during reading memory from dllInfo to dllDebug. It is quite normal that a debugger tries to read memory from invalid addresses.
...
git-svn-id: trunk@45428 -
2014-06-09 12:36:51 +00:00
joost
56442faf8e
FpDebugger (pure): Set the correct register-sizes for x86_64-win64.
...
git-svn-id: trunk@45427 -
2014-06-09 12:16:38 +00:00
joost
6818c26a68
FpDebugger (pure): Updated the Dwarf-register number information on OS/X, see x86reg.dat/amd64-tdep.c.
...
git-svn-id: trunk@45426 -
2014-06-09 11:56:47 +00:00
joost
a3149e411e
FpDebugger (pure): Updated the Dwarf-register number information on Windows, see x86reg.dat/amd64-tdep.c.
...
git-svn-id: trunk@45425 -
2014-06-09 10:34:49 +00:00
joost
eaef9905a5
FpDebugger (console): Several improvements on the output of the console-debugger
...
git-svn-id: trunk@45424 -
2014-06-09 09:35:28 +00:00
joost
5c3fd8af1d
FpDebugger (pure): Let the kernel close the debug-handle after an application has quit. (bug #25986 )
...
git-svn-id: trunk@45423 -
2014-06-09 09:33:32 +00:00
joost
f746dc6a42
FpDebugger (console): Use 'Debug' and 'Error' prefixes for dllError and dllDebug messages.
...
git-svn-id: trunk@45410 -
2014-06-08 22:33:32 +00:00
joost
9052ce0136
FpDebugger (pure): Use the (thread-safe) log system instead of DebugLn
...
git-svn-id: trunk@45409 -
2014-06-08 22:22:50 +00:00
joost
22e7389619
FpDebugger (pure): Refactored creation of new TDbgThreads
...
git-svn-id: trunk@45407 -
2014-06-08 18:59:06 +00:00
joost
24a6aab526
FpDebugger (pure): Retrieve the file-names of loaded processes and modules.
...
git-svn-id: trunk@45400 -
2014-06-08 13:18:23 +00:00
joost
d3edca108f
FpDebugger (pure): Fixed the handling of a debuggee that starts child-processes
...
git-svn-id: trunk@45391 -
2014-06-08 00:13:50 +00:00
joost
3fb55d6ed6
FpDebug (pure): Added thread-safe loggingsystem with three log-levels. The log-levels dllInfo and dllError are used to show messages/errors in the ide.
...
The new log-system is used to show a message when there is no dSym-bundle with Dwarf-debug info or if the ide has not enough rights to debug applications. (OS/X)
git-svn-id: trunk@45382 -
2014-06-07 14:27:48 +00:00
joost
51c0c59b2b
FpDebug (pure): Changes for cross-debugging
...
git-svn-id: trunk@45315 -
2014-06-03 06:15:08 +00:00
joost
b526979d64
FpDebugger (pure): Removed excessive debug-output.
...
git-svn-id: trunk@45292 -
2014-06-01 19:46:06 +00:00
joost
2692d96325
FpDebug: Fixed AV in console-debugger due to an uninitialized variable
...
git-svn-id: trunk@45291 -
2014-06-01 18:29:42 +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
joost
62bcb922cd
FpDebugger (pure): x86_64-debugging on Win64. (Win32-win64 cross-debugging not possible on Windows. Win64-win32 is still not implemented)
...
git-svn-id: trunk@45284 -
2014-06-01 16:27:35 +00:00
joost
2293aef061
FpDebug (pure): Fixed some constant values
...
git-svn-id: trunk@45233 -
2014-05-30 09:21:52 +00:00
joost
7539c6e5ff
FpDebug (pure): Debug 64-bit binaries on OS/X
...
git-svn-id: trunk@45229 -
2014-05-29 20:19:49 +00:00
joost
53076fb0cb
FpDebug: In 64-bit binaries the size of references to Dwarf-data is not dependent on the address-size, but on the Dwarf-format being in 64-bit format
...
git-svn-id: trunk@45227 -
2014-05-29 20:15:15 +00:00