git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit e23661111510428ac4d7fe48b9567b29183f0c6b

DebugInterface: rename print* to printMem* and copy spectest.print

wanderer authored on 8/5/2016, 7:16:23 PM
Alex Beregszaszi committed on 8/6/2016, 3:24:22 AM
Parent: 4d1cb1ad70b607a809129de298594beb4d82ba71

Files changed

debugInterface.jschanged
debugInterface.jsView
@@ -11,13 +11,17 @@
1111 }
1212
1313 get exportTable () {
1414 return {
15- 'print': function (offset, length) {
15+ 'print': function (a) {
16+ console.log(a)
17+ },
18+
19+ 'printMem': function (offset, length) {
1620 console.log(`<DEBUG(str): ${this.getMemoryBuffer(offset, length).toString()}>`)
1721 }.bind(this),
1822
19- 'printHex': function (offset, length) {
23+ 'printMemHex': function (offset, length) {
2024 console.log(`<DEBUG(hex): ${this.getMemoryBuffer(offset, length).toString('hex')}>`)
2125 }.bind(this),
2226
2327 'evmStackTrace': function (sp, op) {

Built with git-ssb-web