GDBMI_data_read_memory_bytes.st
changeset 208 b0d2028189fa
parent 91 472a4841a8b6
child 259 651864c2aa29
--- a/GDBMI_data_read_memory_bytes.st	Mon Jun 15 12:59:58 2020 +0100
+++ b/GDBMI_data_read_memory_bytes.st	Mon Jun 15 13:30:08 2020 +0100
@@ -1,6 +1,7 @@
 "
 jv:libgdbs - GNU Debugger Interface Library
 Copyright (C) 2015-now Jan Vrany
+Copyright (C) 2020 LabWare
 
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
@@ -33,6 +34,7 @@
 "
 jv:libgdbs - GNU Debugger Interface Library
 Copyright (C) 2015-now Jan Vrany
+Copyright (C) 2020 LabWare
 
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
@@ -138,3 +140,23 @@
 	^ 'data-read-memory-bytes'
 ! !
 
+!GDBMI_data_read_memory_bytes methodsFor:'accessing-descriptors'!
+
+resultDescription
+    "
+     ^done,memory=[{begin='0xbffff154',offset='0x00000000',
+                   end='0xbffff15e',
+                   contents='01000000020000000300'}]        
+    "
+    ^ (super resultDescription)
+        define:#'memory' as: Array of: (GDBStructure new 
+                                            define: #begin as: Integer;
+                                            define: #end as: Integer;
+                                            define: #contents as:ByteArray;
+                                            yourself);  
+        yourself
+
+    "Created: / 13-06-2020 / 20:44:47 / Jan Vrany <jan.vrany@labware.com>"
+    "Modified: / 15-06-2020 / 12:28:20 / Jan Vrany <jan.vrany@labware.com>"
+! !
+