Commit Graph

62 Commits

Author SHA1 Message Date
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
mattias
bf3d90af8b fpdebug: fixed TDbgWinProcess.Continue to call Windows.ContinueDebugEvent even though aThread invalid
git-svn-id: trunk@50930 -
2015-12-19 11:06:19 +00:00
mattias
8fd1210a8b fpdebug: fixed TDbgWinProcess.RemoveLib free lib, bug #29206, patch from Anton
git-svn-id: trunk@50887 -
2015-12-17 22:10:23 +00:00
mattias
03c19a6402 fpdebug: fixed TDbgWinProcess.Continue if aThread invalid return false
git-svn-id: trunk@50885 -
2015-12-17 22:08:19 +00:00
mattias
269420bf8c fpdebug: fixed TDbgWinProcess.Continue checking if aThread valid, bug #29206, patch from Anton
git-svn-id: trunk@50883 -
2015-12-17 22:04:50 +00:00
mattias
e7ce75b682 fpdebug: using Windows W functions
git-svn-id: trunk@50617 -
2015-12-04 19:02:39 +00:00
mattias
0924792e5f fpdebug: using TProcessUTF8
git-svn-id: trunk@50596 -
2015-12-04 16:03:20 +00:00
martin
24d973001c fpdebug: fix pause on win32
git-svn-id: trunk@49029 -
2015-05-15 15:04:11 +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
0923ac9836 FpDebug: - Ability to disable usage of a pseudo-tty
- Ability to supply tty to bind standard input/output to

git-svn-id: trunk@48450 -
2015-03-22 01:08:00 +00:00
martin
56a4a31450 fix some warnings
git-svn-id: trunk@46906 -
2014-11-20 16:27:55 +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
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
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
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
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
b526979d64 FpDebugger (pure): Removed excessive debug-output.
git-svn-id: trunk@45292 -
2014-06-01 19:46:06 +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
f25dee1d51 LazDebuggerFp (pure): Exception handling. (no software exceptions)
git-svn-id: trunk@44970 -
2014-05-07 18:32:50 +00:00
joost
31762452ae LazDebuggerFp (pure): Handle working-directory and environment of debuggee
git-svn-id: trunk@44936 -
2014-05-06 19:25:38 +00:00
joost
04283997b4 LazDebuggerFp (pure): Pass arguments to debuggee
git-svn-id: trunk@44928 -
2014-05-05 20:15:42 +00:00
joost
79f817ca53 LazDebuggerFp (pure): Use TProcess to start debuggee
git-svn-id: trunk@44922 -
2014-05-05 10:21:16 +00:00
martin
e53e32b3c8 FpDebug: compile on win64
git-svn-id: trunk@44902 -
2014-05-03 15:00:16 +00:00
joost
e7779bd476 LazDebuggerFp (pure): Implemented step-into
git-svn-id: trunk@44862 -
2014-04-30 20:44:22 +00:00
joost
fc35f675bc LazDebuggerFp (pure): Resolved problems with freeing breakpoints after the debuggee has ended.
git-svn-id: trunk@44771 -
2014-04-20 19:39:35 +00:00
joost
a69e382e98 LazDebuggerFp (pure): Ability to pause debuggee (Windows)
git-svn-id: trunk@44749 -
2014-04-16 20:19:13 +00:00
joost
acecc4a260 LazDebuggerFp (pure): Implemented step-over (next)
git-svn-id: trunk@44737 -
2014-04-15 19:22:01 +00:00
joost
96991a9a84 FpDebug: Fixed compilation with range-checking on
git-svn-id: trunk@44727 -
2014-04-14 16:46:03 +00:00
joost
ae35141581 LazDebuggerFp (pure): Implemented StepOverInstr
git-svn-id: trunk@44725 -
2014-04-14 16:39:35 +00:00
joost
8f5701ed19 LazDebuggerFp (pure): Hide software breakpoints (int3) on reading data
git-svn-id: trunk@44704 -
2014-04-12 16:24:46 +00:00
joost
c7e539dc46 LazDebuggerFp (pure): Added reading of register support to TDbgMemReader.
git-svn-id: trunk@44689 -
2014-04-11 21:10:34 +00:00
joost
98f4a08663 LazDebuggerFp (pure): Fixed single-stepping on OS/X
git-svn-id: trunk@44685 -
2014-04-11 20:06:36 +00:00
joost
d521103501 LazDebuggerFp (pure): Return the correct value of the instruction-pointer after a breakpoint has been reached. (Windows)
git-svn-id: trunk@44675 -
2014-04-11 09:34:49 +00:00
joost
79d49417bd LazDebuggerFp (pure): If a breapoint is reached by single-stepping, handle the breakpoint properly.
git-svn-id: trunk@44674 -
2014-04-11 09:27:25 +00:00
joost
67f3dec675 LazDebuggerFp (pure): Removed obsolete TFPDState
git-svn-id: trunk@44673 -
2014-04-11 09:25:29 +00:00
joost
52282ede03 LazDebuggerFp (pure): Implemented single-stepping (assembly level) and resetting of a breakpoint after it has been hit. (Windows)
git-svn-id: trunk@44670 -
2014-04-10 20:11:41 +00:00
joost
499c7ed593 LazDebuggerFp (pure): Show register-values on OS/X
git-svn-id: trunk@44658 -
2014-04-09 08:25:46 +00:00
joost
e2c993ce95 LazDebuggerFp (pure): Recognition of breakpoints on Windows. Silently ignore unknown breakpoints, if possible.
git-svn-id: trunk@44657 -
2014-04-08 22:11:09 +00:00
martin
3937a88b0f LazDebuggerFp (pure): do not crash range check
git-svn-id: trunk@44636 -
2014-04-07 16:57:59 +00:00
joost
0eaa8042c5 FpDebug: Basic support for getting register-values.
git-svn-id: trunk@44626 -
2014-04-06 19:13:38 +00:00
joost
1c21a9a593 FpDebug: REmoved unused BaseAddr and StartAdd for threads.
git-svn-id: trunk@44622 -
2014-04-06 14:52:28 +00:00
joost
aed7174382 FpDebug: Make sure the result of function ResolveDebugEvent is always set
git-svn-id: trunk@44621 -
2014-04-06 14:41:30 +00:00