xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 020acb4f10832d0c003f24272b75a95859d4188f
parent 6650cc934afa222bb729f63fbfe85aa15ebbd778
Author: Frans Kaashoek <kaashoek@mit.edu>
Date:   Thu, 23 Aug 2012 09:35:00 -0400

For the convenience of students

Diffstat:
Aprintpcs | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/printpcs b/printpcs @@ -0,0 +1,11 @@ +#!/bin/sh + +# Decode the symbols from a panic stack trace on stdin + +if which addr2line +then + p="addr2line" +else + p="i386-jos-elf-addr2line" +fi +echo grep '^ ' | $p -e kernel $*