martin
24d973001c
fpdebug: fix pause on win32
...
git-svn-id: trunk@49029 -
2015-05-15 15:04:11 +00:00
martin
ecf6e6a2a9
fpdebug: fix ebp register for stackframes
...
git-svn-id: trunk@49028 -
2015-05-15 15:03:04 +00:00
joost
1c9d6064f2
FPDServer: Command added to remove breakpoint
...
git-svn-id: trunk@49017 -
2015-05-14 08:50:35 +00:00
martin
44de4b4034
fpdebug: prevent crash if breakpoint at address already exists (can happen if line info is not read correct / generics?)
...
git-svn-id: trunk@49000 -
2015-05-12 20:02:18 +00:00
martin
8e4a8c8468
fpdebug: fix compile for win
...
git-svn-id: trunk@48997 -
2015-05-12 17:59:24 +00:00
joost
001be758a5
FPDServer: Stand-alone debugger that can be controlled from the console or remote through tcp/ip
...
git-svn-id: trunk@48991 -
2015-05-12 06:25:21 +00:00
joost
0738480a91
FpDebug: Fixed mem-leak when application closes while debugee is still running
...
git-svn-id: trunk@48928 -
2015-05-05 07:59:15 +00:00
joost
28faa771f6
FpDebug: The reason why a run failed is not debug information, but real information.
...
git-svn-id: trunk@48927 -
2015-05-05 07:57:01 +00:00
joost
640226c89b
FpDebug: Forgot to include file in r48864 #c53e775af5
...
git-svn-id: trunk@48865 -
2015-04-25 19:18:08 +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
5e3d796544
FpDebug: Removed unused overload of GetImageReader
...
git-svn-id: trunk@48846 -
2015-04-25 11:12:55 +00:00
joost
6469a000d3
FpDebug: Removed empty method.
...
git-svn-id: trunk@48639 -
2015-04-05 20:23:20 +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
25cd93d480
FpDebug: Do not overwrite data (and create mem-leaks) when there are sections with duplicate names
...
git-svn-id: trunk@48595 -
2015-04-02 20:40:13 +00:00
joost
8b06480841
FpDebug: Avoid endless exceptions when the debugger does not have enough rights to debug on Darwin.
...
git-svn-id: trunk@48515 -
2015-03-26 20:30:56 +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
joost
a479c66ebe
fpdebug: Pass parameters to the debuggee in the console-version
...
git-svn-id: trunk@47519 -
2015-01-25 17:37:34 +00:00
joost
f4818c2bfd
FpDebug: Do not stop on lines with unknown line info (linenr=0)
...
git-svn-id: trunk@47222 -
2014-12-19 10:42:19 +00:00
joost
a3f3091a75
* Extract debug-info from real executable when debugging an application folder
...
git-svn-id: trunk@47188 -
2014-12-13 09:15:26 +00:00
joost
3dcfa14f49
* Avoid AV when the loaded faied to initiate a valid ImgReader
...
git-svn-id: trunk@47187 -
2014-12-13 09:06:40 +00:00
martin
bb622e5b7b
Fpdebug: display more values
...
git-svn-id: trunk@47131 -
2014-12-07 22:25:24 +00:00
mattias
bd1655b970
fpdebug: clean up
...
git-svn-id: trunk@46945 -
2014-11-21 23:47:27 +00:00
mattias
27e32c8bad
lazdebuggerfp: clean up
...
git-svn-id: trunk@46944 -
2014-11-21 23:44:10 +00:00
mattias
41e211ac48
fpdebug: fixed compilation
...
git-svn-id: trunk@46909 -
2014-11-20 22:12:54 +00:00
martin
80a15d2141
Suppress VALID warnings until review
...
git-svn-id: trunk@46907 -
2014-11-20 16:34:23 +00:00
martin
56a4a31450
fix some warnings
...
git-svn-id: trunk@46906 -
2014-11-20 16:27:55 +00:00
joost
9616a4ffe4
FpDebugger (pure): TFpSymbolContext.GetSizeOfAddress now returns 8 for 64-bit debuggees
...
git-svn-id: trunk@46163 -
2014-09-08 19:53:40 +00:00
joost
bee90dd030
FpDebugger (pure): Same change as in r46136 #4b8e6daa2f, but for step into, to avoid problems in fpc-generated debuginfo
...
git-svn-id: trunk@46162 -
2014-09-08 19:44:13 +00:00
joost
2725568fae
FpDebug: Give a warning when the UUID of the dSym-bundle and the debuggee do not match
...
git-svn-id: trunk@46149 -
2014-09-07 11:25:34 +00:00
joost
2d61f083f6
FpDebugger (pure): When stepping out of a function on a next, only stop at the first instruction of a line. Just like it is done on step into.
...
git-svn-id: trunk@46147 -
2014-09-06 20:50:12 +00:00
joost
9070ac0b2c
FpDebugger (pure): Added logging, enable with define DBG_FPDEBUG_VERBOSE
...
git-svn-id: trunk@46143 -
2014-09-06 18:40:30 +00:00
joost
4b8e6daa2f
FpDebugger (pure): On a next, only stop if the current instruction is the first instruction of a line. This is to solve a problem in fpcs debuginfo.
...
git-svn-id: trunk@46136 -
2014-09-05 20:37:43 +00:00
joost
25ff00e44c
FpDebugger (pure): Solved mem-leaks by releasing references to symbols found by FindSymbol
...
git-svn-id: trunk@46132 -
2014-09-05 16:49:36 +00:00
joost
851695cec4
FpDebugger (native): Fix for setting a breakpoint on the current execution-point
...
git-svn-id: trunk@46122 -
2014-09-03 20:16:53 +00:00
joost
d28ad93b73
fpDebug: Revert of files accidentally committed in r46119 #afc3882ca7
...
git-svn-id: trunk@46120 -
2014-09-03 14:44:07 +00:00
joost
afc3882ca7
FpDebug: Disabled range-checking to fix range-check error. The fix in r46105 #bbf07c5bd6 leads to a datastructure which is too large for 32 bit
...
git-svn-id: trunk@46119 -
2014-09-03 14:39:44 +00:00
joost
bbf07c5bd6
FpDebug: Fixed range-check error on reading debug-info with more then maxSmallint symbols
...
git-svn-id: trunk@46105 -
2014-09-02 19:34:58 +00:00
joost
f1bdd969f5
FpDebugger (pure, console): Fixed mem-leak on showing line-info
...
git-svn-id: trunk@46103 -
2014-09-01 16:38:41 +00:00
joost
ddfbd6ade9
FpDebugger (pure): Fixed mem-leak bij freeing debug-threads
...
git-svn-id: trunk@46102 -
2014-09-01 16:26:08 +00:00
joost
9c5f82c924
FpDebugger (pure): Fixed mem-leak by freeing FProcessMap
...
git-svn-id: trunk@46101 -
2014-09-01 15:45:36 +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
27c60931ec
FpDebugger (native): Use a pseudo-terminal to capture console output on OS/X
...
git-svn-id: trunk@46095 -
2014-08-31 12:45:43 +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
joost
d062000bf3
FpDebug: Another fix for the length of DW_FORM_ref_addr in Dwarf v3
...
git-svn-id: trunk@46075 -
2014-08-25 20:50:08 +00:00
joost
289f8e8657
FpDebug: Set function result in TFpDwarfInfo.FindContext
...
git-svn-id: trunk@46074 -
2014-08-25 18:53:29 +00:00
joost
bdbccce289
FpDebugger (pure): Use a pseudo-terminal instead of pipes to read the debuggees out- and in-put
...
git-svn-id: trunk@46070 -
2014-08-24 12:22:23 +00:00
joost
daaa427f54
FpDebugger (pure): Re-direct console output to the terminal-output debug window on Linux
...
git-svn-id: trunk@46058 -
2014-08-22 15:47:46 +00:00
joost
8fd0269bae
FpDebug (pure): Detect if a HW breakpoint has been triggered on Linux
...
git-svn-id: trunk@46045 -
2014-08-16 21:40:08 +00:00
joost
93aea56c3b
FpDebugger (pure): New heuristics for step-into
...
git-svn-id: trunk@46008 -
2014-08-04 08:14:13 +00:00
joost
c43ebefc0f
FpDebugger (pure): - Fixed problem with the recognition of a software breakpoint when a hardware breakpoint has been triggered on the same location
...
- Ability to check if and which hardware brakpoint has been triggered
git-svn-id: trunk@46006 -
2014-08-03 20:09:46 +00:00
joost
ac95b9c55d
FpDebugger (pure): Patch from Colin Western to resolve relative filenames in Dwarf-debug info.
...
git-svn-id: trunk@45933 -
2014-07-20 13:27:52 +00:00
joost
be7b70f172
FpDebugger (pure): Re-wrote RunTo using a TDbgControllerCmd
...
git-svn-id: trunk@45900 -
2014-07-17 18:53:58 +00:00
joost
b1d95c58dc
FpDebugger (pure): Ignore SIGCHLD signal and let the debuggee handle it (Darwin)
...
git-svn-id: trunk@45885 -
2014-07-15 20:37:36 +00:00
joost
22ff8ae3ff
FpDebugger (pure): Ignore SIGCHLD signal and let the debuggee handle it (Linux)
...
git-svn-id: trunk@45884 -
2014-07-15 20:35:21 +00:00
joost
636ffbe4da
FpDebugger (pure): Fixed compilation with fpc 2.6.4 on OS/X and Linux
...
git-svn-id: trunk@45874 -
2014-07-15 06:35:46 +00:00
joost
93618ffad0
FpDebugger (pure): Implemented pause (Linux)
...
git-svn-id: trunk@45867 -
2014-07-14 20:32:01 +00:00
joost
e5f73f7d0f
FpDebuger (pure): Fix for pausing the debuggee
...
git-svn-id: trunk@45866 -
2014-07-14 20:28:34 +00:00
joost
02c66deadd
FpDebugger (pure): Implemented pause (Darwin)
...
git-svn-id: trunk@45865 -
2014-07-14 20:11:02 +00:00
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
joost
3e1cd7e526
FpDebug: Read FORM_strp string values
...
git-svn-id: trunk@45225 -
2014-05-29 19:59:27 +00:00
joost
f81a1f3ea6
LazDebuggerFp (pure): Read macho-64 binaries
...
git-svn-id: trunk@45173 -
2014-05-25 16:38:40 +00:00
joost
3d95b919cf
LazDebuggerFp (pure): Parse symbol-table on Windows. (Enables software-exceptions support)
...
git-svn-id: trunk@45162 -
2014-05-24 21:26:27 +00:00
joost
f31423f2de
FpDebug: Search in symbol-table when setting breakpoints in console-debugger
...
git-svn-id: trunk@45161 -
2014-05-24 19:38:00 +00:00
zeljko
404a3f3bd3
fpdebug: fixed compilation under x86_64.
...
git-svn-id: trunk@45152 -
2014-05-22 18:58:17 +00:00
joost
61775433a1
FpDebugger (pure): Pause on fpc software-breakpoints
...
git-svn-id: trunk@45146 -
2014-05-22 07:41:01 +00:00
martin
668ff18191
FpDebug: added type skAddress
...
git-svn-id: trunk@45039 -
2014-05-14 21:02:13 +00:00
joost
69a51cde62
FpDebug: Read the symbol-table on OS/X
...
git-svn-id: trunk@45038 -
2014-05-14 20:21:22 +00:00
martin
d57cd64ddb
FpGdbmiDebugger: display "inherits from" in debug-inspector
...
git-svn-id: trunk@45007 -
2014-05-11 15:40:30 +00:00
martin
b1eca5be27
FpGdbmiDebugger: more tests / tests clean up / repeatcount for memdump
...
git-svn-id: trunk@45005 -
2014-05-11 14:59:56 +00:00
martin
87080f5081
FpDebugger (pure): function name in stack
...
git-svn-id: trunk@44989 -
2014-05-10 02:01:14 +00:00
martin
3a712955ca
FpDebugger (pure): eval watches for selected stackframe
...
git-svn-id: trunk@44987 -
2014-05-10 00:44:49 +00:00
joost
7ba1fd42b7
LazDebuggerFp (pure): Exception handling on OS/X
...
git-svn-id: trunk@44978 -
2014-05-08 19:13:29 +00:00
martin
89d29e376f
FpGdbmiDebugger, FPDebug: move code for watches dbginfo
...
git-svn-id: trunk@44974 -
2014-05-08 16:29:54 +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
4b1ac8df58
FpDebug: Implemented simple 'evaluation' command for command-line debugger example.
...
git-svn-id: trunk@44968 -
2014-05-07 16:17:48 +00:00
martin
c239838960
FpDebug: partial implementation of "repeat count"
...
git-svn-id: trunk@44937 -
2014-05-06 19:32:25 +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
martin
6a9ea0f2ff
FpDebug: error checks
...
git-svn-id: trunk@44929 -
2014-05-05 22:57:31 +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
60aa4dd2fc
FpDebug: missing result
...
git-svn-id: trunk@44919 -
2014-05-05 03:02:16 +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
b2830cbfb2
FpDebug: fix crash in type-printer
...
git-svn-id: trunk@44908 -
2014-05-04 16:51:38 +00:00
joost
c700bfe172
LazDebuggerFp (pure): Implemented basic callstack
...
git-svn-id: trunk@44906 -
2014-05-04 12:08:50 +00:00
joost
17f29c4ac2
FpDebug: Implemented GetStackPointerRegisterValue on Darwin
...
git-svn-id: trunk@44904 -
2014-05-04 11:10:27 +00:00
martin
e53e32b3c8
FpDebug: compile on win64
...
git-svn-id: trunk@44902 -
2014-05-03 15:00:16 +00:00
martin
6281c4adcf
FpDebug: started DisplayFormat
...
git-svn-id: trunk@44896 -
2014-05-03 00:14:44 +00:00
martin
591043b078
GdbmiDebugger: added workaround for pchar vs string issue in dwarf 2
...
git-svn-id: trunk@44889 -
2014-05-02 13:14:44 +00:00
martin
aacb2aa6cf
FpDebug: added operators +, - for float
...
git-svn-id: trunk@44884 -
2014-05-02 02:02:32 +00:00
martin
fc31f1a0c0
FpDebug: added operators =, <, >, <> for int/float
...
git-svn-id: trunk@44883 -
2014-05-02 01:44:33 +00:00
martin
2b8b09ffba
FpDebug: fixed crash from prev commit
...
git-svn-id: trunk@44882 -
2014-05-02 01:01:24 +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
f7c6916db6
FpDebug: added some error handling
...
git-svn-id: trunk@44865 -
2014-04-30 22:15:31 +00:00
joost
580048e97c
FpDebug: Do not continue the process after an invalid command
...
git-svn-id: trunk@44863 -
2014-04-30 20:59:12 +00:00
joost
e7779bd476
LazDebuggerFp (pure): Implemented step-into
...
git-svn-id: trunk@44862 -
2014-04-30 20:44:22 +00:00
martin
1af2bd99a6
FpDebug: fix compile / range check for const
...
git-svn-id: trunk@44853 -
2014-04-30 13:18:53 +00:00
martin
15dd056207
FpGdbmiDebugger: add/sub int to/from pointer / tests
...
git-svn-id: trunk@44850 -
2014-04-30 12:42:54 +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
joost
36e6e3a257
LazDebuggerFp (pure): Implemented step-out
...
git-svn-id: trunk@44804 -
2014-04-24 16:06:50 +00:00
joost
056bfcfe4b
LazDebuggerFp (pure): When stepping(over) out of a procedure, continue until a new sourceline has been reached.
...
git-svn-id: trunk@44799 -
2014-04-23 21:00:42 +00:00
joost
f677379864
FpDebug: Added step-over and next commands to console-example (fpd)
...
git-svn-id: trunk@44798 -
2014-04-23 19:55:05 +00:00
joost
48c19eb556
FpDebug: Fixed compilation of the example console-debugger on Windows
...
git-svn-id: trunk@44794 -
2014-04-23 18:37:34 +00:00
joost
0a5d5ee491
FpDebug: Re-wrote the example console-debugger to let it use the new TDbgcontroller
...
git-svn-id: trunk@44792 -
2014-04-23 08:53:41 +00:00
joost
577f7954bb
LazDebuggerFp (pure): * Raise exception when Stop is called on a non-existing process
...
* Solved some problems wih logging
git-svn-id: trunk@44791 -
2014-04-23 07:49:12 +00:00
joost
a8ea2fde98
LazDebuggerFp (pure): Use the ProcessID to detect if a process is finished, because the Handle is not used on OS/X
...
git-svn-id: trunk@44790 -
2014-04-23 07:21: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
87bfbf6372
LazDebuggerFp (pure): Removed unused FBreakList
...
git-svn-id: trunk@44770 -
2014-04-20 17:59:44 +00:00
joost
e1881c3f4c
LazDebuggerFp (pure): Implemented RunTo
...
git-svn-id: trunk@44768 -
2014-04-20 11:00:33 +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
86f9de7b2a
LazDebuggerFp (pure):
...
* When a breakpoint is hit, pass the correct breakpoint to the TFpDebugDebugger.
* Solve an AV when the IDE exits
git-svn-id: trunk@44743 -
2014-04-16 09:15:10 +00:00
joost
a52defb4e1
LazDebuggerFp (pure): Ability to add/delete/enable/disable breakpoints when the debuggee is not running or paused.
...
git-svn-id: trunk@44741 -
2014-04-16 08:05:58 +00:00
joost
acecc4a260
LazDebuggerFp (pure): Implemented step-over (next)
...
git-svn-id: trunk@44737 -
2014-04-15 19:22:01 +00:00
joost
22b80b3cf5
LazDebuggerFp (pure): StepIntoStr -> StepIntoInstr
...
git-svn-id: trunk@44728 -
2014-04-14 16:59:05 +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
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
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
0e62389d08
LazDebuggerFp (pure): Fixed single-stepping which was broken since r44690 #14698396ff
...
git-svn-id: trunk@44703 -
2014-04-12 16:19:20 +00:00
joost
14698396ff
LazDebuggerFp (pure): Fixed AV on Windows
...
git-svn-id: trunk@44690 -
2014-04-11 21:13:20 +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
dbbdddb97a
LazDebuggerFp (pure): Fix for compilation on newer fpc-versions, where TProcess.OnForEvent is a method
...
git-svn-id: trunk@44684 -
2014-04-11 19:54:11 +00:00
joost
982b409e26
LazDebuggerFp (pure): Fixed information in debugline
...
git-svn-id: trunk@44683 -
2014-04-11 19:42:55 +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
244cdad9cd
FpDebug: nil after free
...
git-svn-id: trunk@44648 -
2014-04-08 14:46:50 +00:00
martin
15754fca9a
LazDebuggerFp (pure): add line info
...
git-svn-id: trunk@44646 -
2014-04-08 13:35:38 +00:00
martin
b0e9f959f6
FpDebug: deal with parentfp for nested procs
...
git-svn-id: trunk@44642 -
2014-04-07 20:33:20 +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
3937a88b0f
LazDebuggerFp (pure): do not crash range check
...
git-svn-id: trunk@44636 -
2014-04-07 16:57:59 +00:00
martin
f3e4622b30
LazDebuggerFp (pure): do not crash with -gtt
...
git-svn-id: trunk@44634 -
2014-04-07 16:49:40 +00:00
joost
ae8c35b16e
FpDebug: Removed old, invalid assertion whose meaning is lost in time...
...
git-svn-id: trunk@44633 -
2014-04-07 16:40:09 +00:00
joost
813e158c7d
FpDebug: Fixed compilation after recent changes and with fpc 2.6.2
...
git-svn-id: trunk@44632 -
2014-04-07 16:34:55 +00:00
joost
2a7b0ee37e
FpDebug:
...
* Implemented basic TFpDbgMemReader. It handles reading memory, reading register values is still not implemented
* Implemented very basic evaluation of watches.
git-svn-id: trunk@44630 -
2014-04-07 09:23:40 +00:00
martin
03d6bdade7
FpDebug: prepare mem-manager for context
...
git-svn-id: trunk@44627 -
2014-04-07 00:26:04 +00:00
joost
0eaa8042c5
FpDebug: Basic support for getting register-values.
...
git-svn-id: trunk@44626 -
2014-04-06 19:13:38 +00:00
martin
5df27a9624
FpDebug: renamed dwarf classes, more unified names
...
git-svn-id: trunk@44624 -
2014-04-06 16:27:37 +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
joost
047b2b57e5
FpDebug: Replaced several writeln's with DebugLn's, since WriteLn does not work well on Windows GUI-applications. This messes up the output of console-debuggers, but that needs some re-modeling anyway.
...
git-svn-id: trunk@44620 -
2014-04-06 14:30:04 +00:00
joost
0341bfb4de
FpDebug: Don not pause debugging after a library has been loaded
...
git-svn-id: trunk@44618 -
2014-04-06 13:41:27 +00:00
martin
be059632cf
LazDebuggerFp (pure): renamed package / moved location
...
git-svn-id: trunk@44614 -
2014-04-05 23:22:56 +00:00