From 7c783e3eb98f6ccda7cc218a65536ffdb7d66c99 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Tue, 13 Oct 2020 12:20:20 +0200 Subject: [PATCH] activate GDB commander for the windows version, close #66 --- CHANGELOG.md | 5 +++++ src/u_main.pas | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 353e0c55..db64a50a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # v3.9.9-dev +## Enhancement + +- GDB commander: The widget is now activated on Windows systems. Note that it might only works if the project is compiled with LDC >= 1.23.0 and if debug info are generated and if the _-gdwarf_ switch is also part of the config. +See [LDC announcement](https://forum.dlang.org/post/ssvxmrdpklhsrqlgrzas@forum.dlang.org). GDB for windows can be found [here](https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Alternative%20GDB/) for example. + ## Bugs fixed - Messages, when selected, the recently added _Search Results_ category could not be emptied. diff --git a/src/u_main.pas b/src/u_main.pas index 7ce94b7c..76d899ab 100644 --- a/src/u_main.pas +++ b/src/u_main.pas @@ -14,7 +14,7 @@ uses u_widget, u_messages, u_interfaces, u_editor, u_projinspect, u_ceprojeditor, u_search, u_miniexplorer, u_libman, u_libmaneditor, u_todolist, u_observer, u_toolseditor, u_procinput, u_optionseditor, u_symlist, u_mru, u_processes, - u_infos, u_dubproject, u_dialogs, u_dubprojeditor,{$IFDEF UNIX} u_gdb,{$ENDIF} + u_infos, u_dubproject, u_dialogs, u_dubprojeditor, u_gdb, u_dfmt, u_lcldragdrop, u_projgroup, u_projutils, u_stringrange, u_dexed_d, u_halstead, u_profileviewer, u_semver, u_dsgncontrols, u_term, u_newdubproj; @@ -426,9 +426,9 @@ type fInfoWidg: TInfoWidget; fDubProjWidg: TDubProjectEditorWidget; fPrjGrpWidg: TProjectGroupWidget; + fGdbWidg: TGdbWidget; {$IFDEF UNIX} fTermWWidg: TTermWidget; - fGdbWidg: TGdbWidget; {$ENDIF} fDfmtWidg: TDfmtWidget; @@ -1602,9 +1602,9 @@ begin fDfmtWidg := TDfmtWidget.create(self); fPrjGrpWidg := TProjectGroupWidget.create(self); fProfWidg := TProfileViewerWidget.create(self); + fGdbWidg := TGdbWidget.create(self); {$IFDEF UNIX} fTermWWidg := TTermWidget.create(self); - fGdbWidg := TGdbWidget.create(self); {$ENDIF} getMessageDisplay(fMsgs); @@ -1627,9 +1627,9 @@ begin fWidgList.addWidget(@fDfmtWidg); fWidgList.addWidget(@fPrjGrpWidg); fWidgList.addWidget(@fProfWidg); + fWidgList.addWidget(@fGdbWidg); {$IFDEF UNIX} fWidgList.addWidget(@fTermWWidg); - fWidgList.addWidget(@fGdbWidg); {$ENDIF} fWidgList.sort(@CompareWidgCaption);