j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Hi all,
Please find the enclosed patch which enhances the information displayed on the console when ?fcode-verbose is enabled and the Fcode evaluator is running. This is proving to be useful whilst trying to get Qemu to boot a SPARC64 image, and so I think it should be added to the repository.
This patch adds the following information to the console display: - The current address of the Fcode evaluator - An optional (compile) prefix if in compile mode - Any strings specified by b(") with a (const) prefix - Any fcode numbers with a (fcode#) prefix - Any branch offsets with an (offset) prefix
An example output from this patch gives output similar to the following when trying to boot a SPARC64 disk image:
... ... 4ff4 : named-token [ 0xb6 ] (const) get-devname (fcode#) 87f 5003 : b(:) [ 0xb7 ] 5005 : (compile) [ 0x87c ] 5006 : (compile) b(") [ 0x12 ] (const) bootpath 5011 : (compile) [ 0x87e ] 5012 : (compile) b?branch [ 0x14 ] (offset) 1b 5015 : (compile) b(") [ 0x12 ] (const) Can't find bootpath 502a : (compile) type [ 0x90 ] 502c : (compile) abort [ 0x216 ] 502d : (compile) b(>resolve) [ 0xb2 ] 502f : (compile) [ 0x87d ] 5031 : (compile) [ 0x802 ] 5032 : (compile) b(;) [ 0xc2 ] 5034 : [ 0x87f ] Can't find bootpath byte-load: exception caught!
0 >
This is much more helpful when it comes to tracing the results of fcode evaluation and trying to work out why a particular piece of code is failing.
ATB,
Mark.
Attachments:
On 4/13/09, Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk wrote:
Hi all,
Please find the enclosed patch which enhances the information displayed on the console when ?fcode-verbose is enabled and the Fcode evaluator is running. This is proving to be useful whilst trying to get Qemu to boot a SPARC64 image, and so I think it should be added to the repository.
This patch adds the following information to the console display: - The current address of the Fcode evaluator - An optional (compile) prefix if in compile mode - Any strings specified by b(") with a (const) prefix - Any fcode numbers with a (fcode#) prefix - Any branch offsets with an (offset) prefix
Applied, thanks a lot!