~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to tests/qruncom.c

  • Committer: ths
  • Date: 2007-10-08 12:45:38 UTC
  • Revision ID: git-v1:450d4ff553af32fc9d83fef20d7106b0151526b8
CRIS disassembler, originally from binutils, by Edgar E. Iglesias.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3356 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
        act.sa_sigaction = host_segv_handler;
194
194
        sigaction(SIGSEGV, &act, NULL);
195
195
        sigaction(SIGBUS, &act, NULL);
 
196
#if defined (TARGET_I386) && defined(USE_CODE_COPY)
 
197
        sigaction(SIGFPE, &act, NULL);
 
198
#endif
196
199
    }
197
200
 
198
201
    //    cpu_set_log(CPU_LOG_TB_IN_ASM | CPU_LOG_TB_OUT_ASM | CPU_LOG_EXEC);
199
202
 
200
 
    env = cpu_init("qemu32");
 
203
    env = cpu_init();
 
204
 
 
205
    /* disable code copy to simplify debugging */
 
206
    code_copy_enabled = 0;
201
207
 
202
208
    /* set user mode state (XXX: should be done automatically by
203
209
       cpu_init ?) */