Gmane
Favicon
From: Leopold Toetsch <parrotbug-followup <at> parrotcode.org>
Subject: [perl #38594] [BUG] source line numbers
Newsgroups: gmane.comp.lang.perl.perl6.internals
Date: 2006-02-20 15:19:24 GMT (3 years, 19 weeks, 2 days, 13 hours and 33 minutes ago)
# New Ticket Created by  Leopold Toetsch 
# Please include the string:  [perl #38594]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38594 >

PASM/PIR source line info is off by one (at least) on several instructions.

Please run:

   $ parrot -d10 <your>.pir 2>&1 | less

and compare line numbers (2nd columns) with src lines in $EDITOR.

Fixes and tests welcome. Re test: There is an opcode C<getline>, which 
would be handy just for testing this stuff, if it's filled with some 
functionality (see also C<Parrot_Context_info()>).

Thanks,
leo