On Wed, Jun 17, 2015 at 09:55:31 -0400, Andrew Cagney wrote: > pulling stuff like memory into Lua has proven relatively painless > (which reminds me, how do I silently detect that db_read_bytes > failed).
Do you mean "detecting" - detecting the fault, and/or "silently" - not printing "Faulted in DDB..."? ISTR, we always print "Faulted in DDB". To detect the fault you probably need to use setjmp/db_recover around the access. -uwe