From: Ben Pfaff Date: Wed, 8 Dec 2004 22:36:17 +0000 (+0000) Subject: Print addresses along with function name/filename/line number. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c8facc1a70c9098ee13c1af676e037da38e0bb;p=pintos-anon Print addresses along with function name/filename/line number. --- diff --git a/src/utils/backtrace b/src/utils/backtrace index 0dd2842..300df64 100755 --- a/src/utils/backtrace +++ b/src/utils/backtrace @@ -6,7 +6,7 @@ while ($function = ) { $line = ; chomp $function; chomp $line; - print "$function ($line)\n"; + print shift (@ARGV), ": $function ($line)\n"; } sub search_path {