Interesting! ::findjsobjects is all open source[1], so if someone wanted to implement GDB support in a similar fashion, it should be more of a port and less a from-scratch re-implementation...
[1] https://github.com/joyent/illumos-joyent/tree/master/usr/src...