From: Ben Pfaff Date: Tue, 19 Oct 2004 22:48:47 +0000 (+0000) Subject: Improve. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85b95b351ed191fa2b32da3aa22a8d543146492;p=pintos-anon Improve. --- diff --git a/grading/threads/run-tests b/grading/threads/run-tests index a088822..7fcc91c 100755 --- a/grading/threads/run-tests +++ b/grading/threads/run-tests @@ -431,9 +431,10 @@ sub verify_common { $A2L = "i386-elf-addr2line"; } open (A2L, "$A2L -fe output/$test/kernel.o @addrs|"); - my ($function); - while ($function = ) { - my ($line) = ; + for (;;) { + my ($function, $line); + last unless $function = ; + $line = ; chomp $function; chomp $line; $details .= " $function ($line)\n";