bart
e12b65390b
Fix some more spelling errors.
...
git-svn-id: trunk@52490 -
2016-06-12 16:32:39 +00:00
mattias
17f571cf26
components: less hints
...
git-svn-id: trunk@51788 -
2016-03-01 15:31:26 +00:00
martin
0edc9138ee
fpdebugger: fix another Free instead of ReleaseRef
...
git-svn-id: trunk@51580 -
2016-02-10 18:42:51 +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
b11155e714
fpdebug: fixed mem leak
...
git-svn-id: trunk@50881 -
2015-12-17 21:58:59 +00:00
mattias
3a33b42792
fpdebug: fixed mem leak
...
git-svn-id: trunk@50878 -
2015-12-17 21:57:07 +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
joost
c20f70ce0c
DebuggerIntf: In r49328 #ec422cddc6 the nestedprocvars modeswitch is used. Bug report #28306 shows that this does not work on win32-fpc 2.6.4. Probably a compiler bug. This patch avoids the use of nestedprocvars with fpc versions 2.x.x
...
git-svn-id: trunk@49396 -
2015-06-21 18:10:51 +00:00
joost
744810b288
FpDebugServer: Added registers command
...
git-svn-id: trunk@49379 -
2015-06-21 10:11:52 +00:00
joost
6d32f521e9
FpDebugServer: Added locals command
...
git-svn-id: trunk@49370 -
2015-06-19 20:23:19 +00:00
joost
dc5207067c
FpDebugServer: Option to specify LinesBefore added to disassemble command
...
git-svn-id: trunk@49350 -
2015-06-16 15:08:18 +00:00
joost
a8ae389b6f
FpDebugServer: Added disassemble command
...
git-svn-id: trunk@49287 -
2015-06-07 13:13:58 +00:00
joost
d5bcf79820
FpDebugServer: Fixed possible AV on commands that are executed without a process being running
...
git-svn-id: trunk@49269 -
2015-06-04 19:26:47 +00:00
joost
f504e38ee7
FpDebugServer: Added setconsoletty command.
...
git-svn-id: trunk@49268 -
2015-06-04 19:20:35 +00:00
joost
c88aaffaa0
FpDebugServer: Add console-message to json-event-messages.
...
git-svn-id: trunk@49267 -
2015-06-04 19:11:49 +00:00
joost
5960d41722
FpDebugServer: Re-direct console output
...
git-svn-id: trunk@49264 -
2015-06-04 17:47:09 +00:00
joost
cfa932781f
FpDebugServer: Show function-parameters in callstack
...
git-svn-id: trunk@49237 -
2015-06-01 20:06:07 +00:00
joost
50fb4a0145
FpDebugServer: Clear the cached call-stack immediately after retrieval
...
git-svn-id: trunk@49225 -
2015-05-31 09:54:56 +00:00
joost
bda023911d
FpDebugServer: Resolved some warnings
...
git-svn-id: trunk@49213 -
2015-05-29 17:45:22 +00:00
joost
a48ce84628
FpDebugServer: TFpDebugThreadStackTraceCommand added
...
git-svn-id: trunk@49212 -
2015-05-29 17:40:23 +00:00
joost
56ac4902c2
FpDebugServer: Fixed AV when a script contains an invalid command
...
git-svn-id: trunk@49178 -
2015-05-26 15:36:23 +00:00
joost
8d4b6344c0
FpDebugServer: Added basic "evaluate" command
...
git-svn-id: trunk@49166 -
2015-05-25 15:22:59 +00:00
joost
172dbb56d6
FpDebugServer: Added option to run all debug-commands in a (script) file
...
git-svn-id: trunk@49164 -
2015-05-25 08:37:43 +00:00
joost
3be8873d05
FpDebugServer: Replaced TThreadList in combination with a sleep with a TLazThreadedQueue to improve performance
...
git-svn-id: trunk@49153 -
2015-05-23 20:11:42 +00:00
joost
8b2acf39c1
FpDebugServer: Added --interactive option to return an easy parseable output with the tcp-port number.
...
git-svn-id: trunk@49134 -
2015-05-22 19:54:47 +00:00
martin
2c1cc645e3
fpdebug: added params to stack
...
git-svn-id: trunk@49123 -
2015-05-20 21:00:18 +00:00
martin
aa537ca865
fpdebug: mem leak
...
git-svn-id: trunk@49087 -
2015-05-18 20:11:46 +00:00
martin
311acd5b58
fpdebug: check for bounds, before accessing
...
git-svn-id: trunk@49086 -
2015-05-18 20:11:13 +00:00
joost
71acdc189d
FpDebugServer: Added TFpDebugThreadQuitDebugServerCommand to quit application
...
git-svn-id: trunk@49061 -
2015-05-17 11:15:46 +00:00
joost
48e5ae3ac0
FpDebugServer:
...
- Added port and autoport options to specify which (range of) tcp/ip-ports to bind to
- Send a ListenerMessage with the actual port the tcp-ip connection is listening to
- Added TFpDebugThreadCommand.PreExecute to execute command outside of the debug-loop
- Changed default tcp/ip port to 9159
git-svn-id: trunk@49060 -
2015-05-17 11:09:50 +00:00
joost
c789c208a0
FpDebugServer: Fixed mem-leak after GetPropList
...
git-svn-id: trunk@49058 -
2015-05-17 10:29:57 +00:00
joost
d01741250f
FpDebugServer: Added options to enable/disable console- and tcp-operation
...
git-svn-id: trunk@49034 -
2015-05-15 19:04:16 +00:00
joost
46c90d4df2
FpDebugServer: Moved handling of the console to a separate thread.
...
git-svn-id: trunk@49032 -
2015-05-15 17:35:45 +00:00
martin
7e4cfe0aea
fpdebug: range checks
...
git-svn-id: trunk@49030 -
2015-05-15 15:19:12 +00:00
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