Now I attached all the files :) I also added now the target disassemble, it will emit on stdout the disassemble of a pbc, this output is (should be) ready to assemble. (it might have some issues with strings).
Daniel Grunblatt. On 27 May 2002, Daniel Grunblatt wrote: > # New Ticket Created by Daniel Grunblatt > # Please include the string: [netlabs #627] > # in the subject line of all future correspondence about this issue. > # <URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=627 > > > > While making the Parrot compiler I note that it's quite complicated to > debug a Parrot program, so I made this Parrot debugger, it can be used in > 2 ways: > * ./pdb programfile (make pdb first) > * using the ops in debug.ops (debug_init,debug_load and debug_break) > > You can use the command 'disassemble' if you don't have the pasm, list the > source, set breakpoints, watch the registers and the stack, etc. > > Still todo: > > * check the user input for bad commands, it's quite easy to make it bang > now, try listing the source before loading or disassembling it. > > * Print the interpreter info. > * Make the user interface better (add comands history/completition). > * Some other things I don't remember now because it's late. > > Enjoy, > Daniel Grunblatt. > >
debug.tgz
Description: Binary data