mirror of
https://github.com/mborgerson/xemu.git
synced 2025-12-01 16:10:01 +00:00
added translation cache
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@25 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
@ -87,7 +87,7 @@ int cpu_x86_inl(int addr)
|
||||
|
||||
void usage(void)
|
||||
{
|
||||
printf("gemu version 0.1, Copyright (c) 2003 Fabrice Bellard\n"
|
||||
printf("gemu version" GEMU_VERSION ", Copyright (c) 2003 Fabrice Bellard\n"
|
||||
"usage: gemu [-d] program [arguments...]\n"
|
||||
"Linux x86 emulator\n"
|
||||
);
|
||||
|
||||
@ -628,6 +628,9 @@ long do_syscall(int num, long arg1, long arg2, long arg3,
|
||||
#endif
|
||||
switch(num) {
|
||||
case TARGET_NR_exit:
|
||||
#ifdef HAVE_GPROF
|
||||
_mcleanup();
|
||||
#endif
|
||||
_exit(arg1);
|
||||
ret = 0; /* avoid warning */
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user