3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-26 12:42:49 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Pragmatic Software
d609206be8 compiler_vm: refactor some things related to vm-exec 2022-02-13 22:01:06 -08:00
Pragmatic Software
1326b0ac5f compiler_vm: major refactor to support VM sockets (AF_VSOCK)
VM socket communication is superior to VM serial communication in
every way. Unfortunately at this time only Linux supports them.
Fortunately, that's 99% of PBot's userbase.

If you're not using Linux or if you're using an older Linux that
does not support VM sockets, the PBot VM scripts will gracefully
fallback to using the serial connection. You may explicitly
disable VM socket connection attempts by setting PBOTVM_CID=0.
2022-02-12 16:06:04 -08:00
Pragmatic Software
d2269a3ca6 compiler_vm: more refactoring to prepare to handle multiple connections 2022-02-10 10:58:56 -08:00
Pragmatic Software
6b93005808 Increase indentation size 2022-02-06 19:32:34 -08:00
Pragmatic Software
0626397dbf Replace -ggdb with -gdwarf-2 so gdb works better
Some recent changes in the default `gdb` debugging format has broken
some gdb functionality, notably the `info macro` command.

Specifying the `dwarf-2` format restores this functionality.
2022-02-04 13:57:09 -08:00
Pragmatic Software
41359b0c84 Minor clean-up 2022-01-31 09:12:11 -08:00
Pragmatic Software
f460088331 Refactoring virtual machine (2/3) 2022-01-29 12:22:48 -08:00
Pragmatic Software
33e13fd993 Start refactoring virtual machine (1/3)
This is expected to take three commits to complete. This first initial
commit does the following:

- Begin initial rough-draft of doc/VirtualMachine.md
- Begin initial refactoring of scripts

The next commit will polish up the initial rough-draft and refactoring.

The final commit will quality-check everything and fix anything overlooked.
2022-01-23 07:49:23 -08:00