On Mon, 2009-08-03 at 00:09 +0200, Tomek Grabiec wrote:
> @@ -719,18 +720,18 @@ const char *stack_trace_elem_type_name(enum
> stack_trace_elem_type type)
>
> static void show_mixed_stack_trace(struct stack_trace_elem *elem)
> {
> - printf("Native and JAVA stack trace:\n");
> + trace_printf("Native and JAVA stack trace:\n");
> do {
> - printf(" [<%08lx>] %-10s : ", elem->addr,
> + trace_printf(" [<%08lx>] %-10s : ", elem->addr,
> stack_trace_elem_type_name(elem->type));
>
> if (elem->type != STACK_TRACE_ELEM_TYPE_OTHER) {
> print_java_stack_trace_elem(elem);
> - printf("\n");
> + trace_printf("\n");
>
> - printf("%-27s"," ");
> + trace_printf("%-27s"," ");
> if (!show_exe_function((void *) elem->addr))
> - printf("\r");
> + trace_printf("\r");
>
> continue;
> }
This breaks the backtrace because show_function() that's not show here
in this diff is not coverted over. Maybe we need to introduce a
print_function(string string *s)
helper for this?
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel