Backed out changeset 0509fe9ad879
authorJan Vrany <jan.vrany@labware.com>
Tue, 09 Mar 2021 12:29:05 +0000
changeset 217 011d65a54cc5
parent 216 800057dbad30
child 219 f5c899ac62ec
Backed out changeset 0509fe9ad879 Commit 0509fe9ad879 set option 'mi-always-notify' but support for this will unlikely be upstreamed, see [1] and [2]. [1]: https://sourceware.org/pipermail/gdb/2019-June/047938.html [2]: https://sourceware.org/pipermail/gdb/2019-June/047991.html
GDBDebugger.st
--- a/GDBDebugger.st	Tue Feb 23 13:38:11 2021 +0000
+++ b/GDBDebugger.st	Tue Mar 09 12:29:05 2021 +0000
@@ -1126,15 +1126,7 @@
     connection inferiorPTY notNil ifTrue:[
         self send: (GDBMI_inferior_tty_set arguments: (Array with: connection inferiorPTY name)).
     ].
-    self setParameter: 'mi-async' to: 'on'.
-
-    "/ If the following fails it means that you're using GDB without
-    "/ all required patches. Please see:
-    "/
-    "/  * https://bitbucket.org/janvrany/jv-libgdbs/src/tip/doc/GDB.md
-    "/  * https://bitbucket.org/janvrany/jv-vdb/src/2bd269c89e8ca67816b41be2dbf6185b9005f46a/doc/Invoking.md
-    "/
-    GDBError catch: [self setParameter: 'mi-always-notify' to: 'on'].
+    self send: (GDBMI_gdb_set arguments: #('mi-async' 'on')).
 
     result := self send: GDBMI_list_features new.
     debuggerFeatures := result propertyAt: #features.
@@ -1145,7 +1137,7 @@
 
     "Created: / 20-06-2014 / 21:45:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 26-03-2018 / 21:36:31 / jv"
-    "Modified: / 12-06-2019 / 12:35:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 28-01-2019 / 15:45:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 release