In message <[EMAIL PROTECTED]>
          Bryan Logan <[EMAIL PROTECTED]> wrote:

> Here's the code I have:
> 
> open I0, "test.txt", "<"
> open I1, "testdtxt", "<"
> end
> 
> I assemble and load it into pdb and get this:
> 
> Parrot Debugger 0.0.1
> 
> (pdb) list
> 1  open_i_sc_sc I0,"test.txt<","<"
> 2  open_i_sc_sc I1,"testdtxt","<"
> 3  end

This is a bug in the debugger (and also in the opcode tracing) where
it is assuming that constant strings in the byte code are zero terminated
when they aren't, and it is therefore overrunning and printing bits of
the next string or whatever. I have just committed a fix.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

Reply via email to