Commit Graph

312 Commits

Author SHA1 Message Date
dmitry
50b2c4921c debugger: reusing the code of stopping the initialization process
git-svn-id: trunk@61773 -
2019-08-28 03:09:52 +00:00
dmitry
86a2871214 debugger; updating serverdebugger to allow initialization command to be executed prior to target remote call. (allow to trigger the gdbserver start) #36020
git-svn-id: trunk@61769 -
2019-08-27 23:45:55 +00:00
martin
93cd0df04f GdbmiDebugger, tests: breakpoints on raise/catch/... - Fix testcase
git-svn-id: trunk@61647 -
2019-07-31 12:41:02 +00:00
martin
daa6b60cf4 GdbmiDebugger: Less overhead to set breakpoints on raise/catch/... - Add break by name (after prologue) to set breakpoints for dyn libraries (gdb will set/extend breakpoint, when dll is loaded)
git-svn-id: trunk@61646 -
2019-07-31 12:40:58 +00:00
maxim
bd9bfc01d4 Translations: Turkish translation update by Onur ERÇELEN, bug #35865
git-svn-id: trunk@61612 -
2019-07-21 22:57:16 +00:00
martin
b57481b1b8 GdbmiDebugger: dgbsNone - use GdbRunCommand() to get correct command to start target
git-svn-id: trunk@61593 -
2019-07-15 22:06:02 +00:00
martin
1caa4b3b33 GDBMI-Debugger: Option "gdbsNone" to start without internal start break.
This may not work on all platforms, depending on how gdb reports the target-PID.
This should work for all/any gdb-server session

git-svn-id: trunk@61588 -
2019-07-14 19:10:35 +00:00
martin
ac17315ae2 GdbmiDebugger: introduce option to disable exception handling (e.g. for embedded, or disable run-error if they get caught as exception too)
git-svn-id: trunk@61557 -
2019-07-10 12:41:27 +00:00
martin
ff1657deea Debugger-Config: Allow individual LRU list for gdb vs lldb
git-svn-id: trunk@61554 -
2019-07-09 19:20:08 +00:00
martin
e31b6f3a1c GdbmiDebugger: fix target registers for AVR. Patch by Christo Crause
git-svn-id: trunk@61552 -
2019-07-09 12:25:55 +00:00
martin
9be3a4b216 GdbmiDebugger: replace index for TargetRegisters with Enum
git-svn-id: trunk@61551 -
2019-07-09 12:25:53 +00:00
martin
358ce23913 Debugger-Config: Allow "named" configs for the debugger.
git-svn-id: trunk@61548 -
2019-07-08 23:01:18 +00:00
martin
a610996b28 Debugger, GDBMI Server: Added option to skip setting the local filename, if only a file on remote exists
git-svn-id: trunk@61540 -
2019-07-05 22:43:07 +00:00
martin
e0d820d5dd Debugger, GDBMI Server: Added option to set Architecture
git-svn-id: trunk@61539 -
2019-07-05 22:43:05 +00:00
martin
9f610af58d Debugger, GDBMI Server: Apply remote timeout before connecting.
git-svn-id: trunk@61538 -
2019-07-05 22:43:04 +00:00
martin
93cfa99541 Debugger, GDBMI: Enable some "property" settings for gdbserver and over-ssh / those were omitted by accident.
git-svn-id: trunk@61537 -
2019-07-05 19:52:01 +00:00
martin
75306ff444 Debugger, GDBMI: Only check if -f can be used, if it is actually needed (defer check)
git-svn-id: trunk@61534 -
2019-07-05 13:03:20 +00:00
martin
d33a0e6ae9 Debugger, GDBMI Server: Added remote timeout option.
git-svn-id: trunk@61533 -
2019-07-05 11:41:35 +00:00
martin
b132011820 LazDebuggerGdbmi: Add support "avr" filenames, ending in ".elf". Based on patch by Dimitrios Chr. Ioannidis
git-svn-id: trunk@61525 -
2019-07-03 21:27:12 +00:00
martin
ba6f9cd2c8 LazDebuggerGdbmi: Add support for "avr" cpu. Patch by Dimitrios Chr. Ioannidis
git-svn-id: trunk@61524 -
2019-07-03 21:27:10 +00:00
mattias
9c6809c984 lazdebuggergdbmi: clean up
git-svn-id: trunk@61434 -
2019-06-20 22:59:57 +00:00
martin
0b0838fab1 GdbmiDebugger: Fixed compile for IFDEF darwin
git-svn-id: trunk@61429 -
2019-06-19 19:13:07 +00:00
martin
71fad749a4 GdbmiDebugger, test: Prevent error pop ups.
git-svn-id: trunk@61247 -
2019-05-19 21:23:37 +00:00
martin
a6a89eba31 GdbmiDebugger: Ignore warning by gdb 8.3
git-svn-id: trunk@61246 -
2019-05-19 21:23:35 +00:00
martin
6f4a672236 Revert "Revert "GdbmiDebugger, Windows: Improved speed."" / WaitForSingleObject did not wait.
git-svn-id: trunk@61241 -
2019-05-18 22:03:35 +00:00
martin
636383149c GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, using WaitForSingleObject
git-svn-id: trunk@61239 -
2019-05-18 14:26:24 +00:00
martin
6dc1e4fd75 Revert "GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, with less sleep calls (increase cpu usage) / Option to disable for laptops/etc."
This reverts commit 61132 #ef247de448, 61130 #d6a6435a9c, 61117 #a08b1f9560

git-svn-id: trunk@61238 -
2019-05-18 14:26:22 +00:00
maxim
dd661a10de Translations: regenerated all relevant translation files after r61231 #5b72fe1d56
git-svn-id: trunk@61233 -
2019-05-16 23:10:15 +00:00
maxim
b68407fc52 Translations: regenerated all relevant translation files after r61225 #75a8b1b83c
git-svn-id: trunk@61226 -
2019-05-13 23:21:39 +00:00
martin
e5590c5ee6 GdbmiDebugger: fix function ref under stabs
git-svn-id: trunk@61142 -
2019-05-05 10:54:23 +00:00
martin
c1833857ed GdbmiDebugger: tests
git-svn-id: trunk@61141 -
2019-05-05 10:54:22 +00:00
martin
ef247de448 GdbmiDebugger, Windows: Improved commit 61117 #a08b1f9560 ("Improved speed..."): Only skip sleep, if there was a recent write to gdb. (Response expected)
git-svn-id: trunk@61132 -
2019-05-03 21:24:57 +00:00
martin
d6a6435a9c GdbmiDebugger, Windows: Fix commit 61117 #a08b1f9560 ("Improved speed..."): Make sure Idle and ProcessMessages are called, even with small TimeOuts
git-svn-id: trunk@61130 -
2019-05-03 20:45:01 +00:00
martin
a08b1f9560 GdbmiDebugger, Windows: Improved speed. Wait for gdb responses, with less sleep calls (increase cpu usage) / Option to disable for laptops/etc.
git-svn-id: trunk@61117 -
2019-05-03 15:16:31 +00:00
martin
29735fe548 GdbmiDebugger: Workaround for gdb bug https://sourceware.org/bugzilla/show_bug.cgi?id=16016
git-svn-id: trunk@61116 -
2019-05-03 15:16:30 +00:00
martin
306a196ebd GdbmiDebugger: Removed unused code "CreatePTypeValueList"
git-svn-id: trunk@61114 -
2019-05-03 15:15:02 +00:00
martin
4544b99ea8 LazDebuggerGDBMI: fix mem-leak when cross debugging (new LazGDeBugControl)
git-svn-id: trunk@61104 -
2019-05-02 01:05:05 +00:00
martin
b345479693 LazDebuggerGDBMI: tests, add verbosity
git-svn-id: trunk@61103 -
2019-05-02 01:05:03 +00:00
martin
c3dedf9cc0 LazDebuggerGDBMI: Improve getting exception class/msg with dwarf-3
git-svn-id: trunk@61102 -
2019-05-02 01:05:01 +00:00
martin
8c3b6003f7 GdmbiDebugger: use new LazGDeBugControl for cross debugging (needs LazGDeBugControl.exe in gdb directory)
git-svn-id: trunk@61090 -
2019-04-30 17:38:16 +00:00
martin
fdabfa94a8 GdmbiDebugger: Rename class TGDBMIDebugger to TGDBMIDebuggerBase
git-svn-id: trunk@61089 -
2019-04-30 17:38:15 +00:00
martin
76489254d5 LazDebuggerGdbmi, Windows: New app to send signal to target when cross-debugging
git-svn-id: trunk@61088 -
2019-04-30 17:38:13 +00:00
martin
67f6274cad LazDebuggerGdbmi: Improve "Reset Debugger". Ensure timeouts, if certain options lead to endless waiting.
git-svn-id: trunk@61068 -
2019-04-28 13:31:45 +00:00
martin
dfcb3321a3 LazDebuggerGdbmi: Improve whitelisted commands for memory limit
git-svn-id: trunk@61067 -
2019-04-28 13:31:43 +00:00
juha
3df7d8afe5 LCL, LazUtils: Move string manipulation functions from LCLProc to LazStringUtils.
git-svn-id: trunk@61038 -
2019-04-22 09:00:32 +00:00
juha
0487347061 IDE: Allow only valid revision numbers to show in IDE title.
git-svn-id: trunk@61030 -
2019-04-21 14:27:53 +00:00
juha
d9ac09795b Respect compiler OPT='-v0' by using {$push} and {$pop} in code. Issue #34955.
git-svn-id: trunk@60706 -
2019-03-16 21:17:58 +00:00
martin
6573832137 LazDebuggerGdbmi: Tests, Update RunGdbmi tool / allow selection of debug info type
git-svn-id: trunk@60519 -
2019-02-26 18:51:58 +00:00
martin
f10ec28818 LazDebuggerGdbmi: Detect multi-line internal gdb errors as one error.
git-svn-id: trunk@60475 -
2019-02-23 15:00:21 +00:00
martin
1a62240d73 LazDebuggerGdbmi: Detect internal gdb errors, while waiting for run/step to end. Issue #0035129
git-svn-id: trunk@60474 -
2019-02-23 15:00:18 +00:00
martin
ed5312942f LazDebuggerGdbmi: refactor detection of gdb internal error. Move code to main debugger class.
git-svn-id: trunk@60473 -
2019-02-23 15:00:11 +00:00
maxim
c91b1321e0 Translations: French translation update by Gilles Vasseur, bug #35034
git-svn-id: trunk@60368 -
2019-02-08 23:14:55 +00:00
mattias
b8847398fe lazdebuggergdbmi: changed output path to units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)
git-svn-id: trunk@60317 -
2019-02-03 20:49:11 +00:00
martin
759d2cc725 Debugger GDBMI: Fix compilation of tests
git-svn-id: trunk@60275 -
2019-02-01 22:55:43 +00:00
martin
586058a0e3 Debugger GDBMI: Attempt workaround for step-over issue (step-over performs step-in). See Issue #0034159
git-svn-id: trunk@60274 -
2019-02-01 22:54:41 +00:00
martin
54f21f7efa Debugger GDBMI: Fix thread context for finding correct frame
git-svn-id: trunk@60273 -
2019-02-01 22:51:44 +00:00
maxim
684c367b8a IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts.
Reasons:
1. .pot is 'industry standard' extension for PO template files. As a consequence, PO editors can now open our templates 'out of the box' and automate creation of translations.
2. It is now much simpler to detect template files now that dotted unit names are allowed.

git-svn-id: trunk@60208 -
2019-01-24 23:02:37 +00:00
mattias
2caaad78ec lazdebuggergdbmi: less hints
git-svn-id: trunk@60112 -
2019-01-19 17:37:50 +00:00
martin
f5e720ed1e LazDebuggerFp/FpDebug: tests
git-svn-id: trunk@59964 -
2019-01-01 15:12:06 +00:00
martin
82671b823c FpDebug: test cases
git-svn-id: trunk@59781 -
2018-12-10 21:17:09 +00:00
maxim
c8c7a1723a Translations: Chinese translation update by robsean, bug #34579
git-svn-id: trunk@59617 -
2018-11-22 00:03:32 +00:00
martin
4fd6f41ee5 Debugger-Tests: Refactor
git-svn-id: trunk@59615 -
2018-11-21 18:59:38 +00:00
martin
1a96441c98 Debugger-Gdbmi: add "step to except" for win64 (SEH). No "step to finally" yet. Refactor "step to except" for none SEH.
git-svn-id: trunk@59482 -
2018-11-07 20:56:19 +00:00
martin
9fd763ca67 Debugger-Gdbmi: fix setting internal breakpoints by address only.
git-svn-id: trunk@59481 -
2018-11-07 19:37:50 +00:00
martin
2af35ade49 Debugger-Gdbmi, Tests: prevent crash, if gdb.exe not found
git-svn-id: trunk@59480 -
2018-11-07 19:34:04 +00:00
martin
63cf689e1e Debugger (gdb): Fix Debug-Inspector for dwarf3. Match fieldnames case insensitive. Depending on gdb, try to find the MixedCase version of any name. Issue #0034453
git-svn-id: trunk@59351 -
2018-10-25 23:47:36 +00:00
maxim
2fb99791ef Translations: French translation update by Gilles Vasseur, bug #34403
git-svn-id: trunk@59276 -
2018-10-09 22:50:15 +00:00
maxim
e26f6ff3ca Translations: Hungarian translation update by Péter Gábor, bug #34397
git-svn-id: trunk@59275 -
2018-10-09 22:41:03 +00:00
mattias
c2b0e049ef set trunk version to 2.0.0PreRelease
git-svn-id: trunk@59008 -
2018-09-15 19:41:22 +00:00
maxim
a351c9f8fe Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #34139
git-svn-id: trunk@58742 -
2018-08-19 23:08:36 +00:00
martin
9f8beba93e Debugger: let the debugger request certain compiler opts (eg: needs dwarf, or external info)
git-svn-id: trunk@58679 -
2018-08-05 12:26:21 +00:00
mattias
2bbe0a8cc7 updated makefiles
git-svn-id: trunk@58493 -
2018-07-11 23:58:59 +00:00
martin
84464812eb Debugger (gdbmi based): Add TIOCGWINSZ to PseudoTerminal. Issue #33935 Patch by Mark Morgan Lloyd
git-svn-id: trunk@58480 -
2018-07-10 15:42:25 +00:00
martin
5d541aec27 DebuggerIntf: Watches can now be created in Updating state. Allowing to bundle change notifications for the debugger backend.
git-svn-id: trunk@58465 -
2018-07-08 20:51:00 +00:00
martin
be369c0a73 Debugger: start refactor event-log handling / allow resource strings for common events to be stored in the IDE (rather than each debugger back end)
git-svn-id: trunk@58433 -
2018-07-03 14:54:51 +00:00
martin
537fa86be4 CmdLine Debugger, missing commit for debug output window
git-svn-id: trunk@58393 -
2018-06-24 19:26:35 +00:00
maxim
e1e104d7db Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #33876
git-svn-id: trunk@58364 -
2018-06-20 21:58:09 +00:00
mattias
3575d8d0e1 make bigide: added cmdlinedebuggerbase and lazdebuggerlldb
git-svn-id: trunk@58363 -
2018-06-20 21:41:44 +00:00
maxim
c9007b6741 LazDebuggerGDBMI: updated Russian translation
git-svn-id: trunk@58297 -
2018-06-17 22:16:54 +00:00
martin
b3ce1a5d64 GdbmiDebugger: remove some duplicate calls to "set language". issue #33867
git-svn-id: trunk@58296 -
2018-06-17 19:21:03 +00:00
martin
d5f4ccf125 GdbmiDebugger test case: fix for recent refactor
git-svn-id: trunk@58295 -
2018-06-17 18:55:42 +00:00
martin
b79f430898 GDBMI Debugger Server: add optional support for -target-download if supported by gdb. issue #0033868 Patch by Christo Crause
git-svn-id: trunk@58289 -
2018-06-16 12:41:40 +00:00
martin
e0b05d3b6b GDBMI Debugger Server: add optional support for -target-download if supported by gdb. issue #0033868 Patch by Christo Crause
git-svn-id: trunk@58288 -
2018-06-16 12:35:09 +00:00
martin
018bda7a2f GDBMI Debugger: Added work around for wrong stackframe when assert is triggered. Issue #0029959
git-svn-id: trunk@58283 -
2018-06-15 19:23:52 +00:00
maxim
f3bc00c889 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #33847
git-svn-id: trunk@58251 -
2018-06-13 22:54:29 +00:00
martin
cef14db081 DebuggerIntf: Refactor, evaluate now takes a callback
git-svn-id: trunk@58238 -
2018-06-12 22:58:35 +00:00
martin
68365dc87a debugger: allow reuse of (lazlogger)log group
git-svn-id: trunk@58235 -
2018-06-12 09:44:45 +00:00
martin
2dc72b8b3a debugger: fix type cast
git-svn-id: trunk@58234 -
2018-06-12 09:44:29 +00:00
martin
aaa6683087 debugger: allow reuse of (lazlogger)log group
git-svn-id: trunk@58233 -
2018-06-12 09:43:49 +00:00
martin
8f68ded180 GDBMI Debugger: ssh-server does not need pid. issue #0032084
git-svn-id: trunk@58232 -
2018-06-11 21:53:20 +00:00
martin
276c808652 GDBMI Debugger: refactor PID detection (prepare for issue #0032084 )
git-svn-id: trunk@58231 -
2018-06-11 21:53:11 +00:00
martin
e59c981a03 GDBMI debugger: Apply restrictive size limits for stack and locals. Avoid gdb "hanging" (taking long times, several minutes) to eval stack or locals.
git-svn-id: trunk@58212 -
2018-06-09 17:38:09 +00:00
martin
8c9e4b7d5c GDBMI debugger: increase read buffer
git-svn-id: trunk@58211 -
2018-06-09 17:36:19 +00:00
martin
28ff72d0c2 gdbmi debugger: small refactor, move release-lock to debuggerintf
git-svn-id: trunk@58148 -
2018-06-05 21:38:20 +00:00
martin
bd49e508e2 GDBMI Debugger: add property to disable startup shell
git-svn-id: trunk@57956 -
2018-05-18 17:58:39 +00:00
martin
b374f7c125 GDBMI Debugger: add property for asm flavour.
git-svn-id: trunk@57955 -
2018-05-18 17:43:19 +00:00
mattias
ffae13fa3e lazdebuggergdbmi: set function results
git-svn-id: trunk@57788 -
2018-05-04 10:42:14 +00:00
maxim
2a65c2b974 Translations: French translation update by Gilles Vasseur, bug #33673
git-svn-id: trunk@57786 -
2018-05-03 22:53:34 +00:00
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
martin
61d41ced28 GDBMiDebugger: fix range check / used wrong variable
git-svn-id: trunk@57743 -
2018-04-29 11:27:17 +00:00