Revision 93fcfe39 bsd-user/main.c

b/bsd-user/main.c
533 533

  
534 534
    free(target_environ);
535 535

  
536
    if (loglevel) {
537
        page_dump(logfile);
538

  
539
        fprintf(logfile, "start_brk   0x" TARGET_ABI_FMT_lx "\n", info->start_brk);
540
        fprintf(logfile, "end_code    0x" TARGET_ABI_FMT_lx "\n", info->end_code);
541
        fprintf(logfile, "start_code  0x" TARGET_ABI_FMT_lx "\n",
542
                info->start_code);
543
        fprintf(logfile, "start_data  0x" TARGET_ABI_FMT_lx "\n",
544
                info->start_data);
545
        fprintf(logfile, "end_data    0x" TARGET_ABI_FMT_lx "\n", info->end_data);
546
        fprintf(logfile, "start_stack 0x" TARGET_ABI_FMT_lx "\n",
547
                info->start_stack);
548
        fprintf(logfile, "brk         0x" TARGET_ABI_FMT_lx "\n", info->brk);
549
        fprintf(logfile, "entry       0x" TARGET_ABI_FMT_lx "\n", info->entry);
550
    }
536
    log_page_dump();
537

  
538
    qemu_log("start_brk   0x" TARGET_ABI_FMT_lx "\n", info->start_brk);
539
    qemu_log("end_code    0x" TARGET_ABI_FMT_lx "\n", info->end_code);
540
    qemu_log("start_code  0x" TARGET_ABI_FMT_lx "\n",
541
            info->start_code);
542
    qemu_log("start_data  0x" TARGET_ABI_FMT_lx "\n",
543
            info->start_data);
544
    qemu_log("end_data    0x" TARGET_ABI_FMT_lx "\n", info->end_data);
545
    qemu_log("start_stack 0x" TARGET_ABI_FMT_lx "\n",
546
            info->start_stack);
547
    qemu_log("brk         0x" TARGET_ABI_FMT_lx "\n", info->brk);
548
    qemu_log("entry       0x" TARGET_ABI_FMT_lx "\n", info->entry);
551 549

  
552 550
    target_set_brk(info->brk);
553 551
    syscall_init();

Also available in: Unified diff