Adds a backtrace helper for user backtraces
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 2 Jun 2015 18:26:25 +0000 (14:26 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Jun 2015 13:40:33 +0000 (09:40 -0400)
commitbe0fc66544cf92a476e1286fc22c105ffe20e3f0
treec585bbdc04ce481b0c0d5f34d9fba89ea1ef0cc5
parenteabdd9e43d44aa9bef12210f0f9b1dfd32963142
Adds a backtrace helper for user backtraces

You need to echo the Akaros backtrace (e.g. #1 Addr f00 is in BAR) into the
script.  You'll also need to customize the script for your system.  I recommend
copying it out of scripts/ and onto your own system somewhere.

You can also source the script, then ctrl-d it, and manually invoke
print_glb_func.

$ print_glb_func kern/kfs/bin/hello 0xADDR

Make sure the ADDR is in hex, with a leading 0x.  If all goes well, it'll print
out the function containing ADDR.
scripts/bt-akaros.sh [new file with mode: 0755]