diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-09 11:16:08 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-09 11:16:08 +0000 |
commit | 3e5646fce1af97a8bde8a740da4ee0c58bf42ebd (patch) | |
tree | 2d5c0dc86ac168f2b3ae135d5d66ba84e36f9478 /meta/packages/qemu/qemu-0.9.1/06_exit_segfault.patch | |
parent | 03e591a793512342acac958597047f34a9d5bfbe (diff) | |
download | poky-3e5646fce1af97a8bde8a740da4ee0c58bf42ebd.tar.gz |
qemu: upgrade CVS snapshot 20071230 to 0.9.1 release
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3435 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1/06_exit_segfault.patch')
-rw-r--r-- | meta/packages/qemu/qemu-0.9.1/06_exit_segfault.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1/06_exit_segfault.patch b/meta/packages/qemu/qemu-0.9.1/06_exit_segfault.patch new file mode 100644 index 0000000000..06123d0626 --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.1/06_exit_segfault.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | #DPATCHLEVEL=0 | ||
2 | --- | ||
3 | # linux-user/main.c | 8 ++++---- | ||
4 | # 1 file changed, 4 insertions(+), 4 deletions(-) | ||
5 | # | ||
6 | Index: linux-user/main.c | ||
7 | =================================================================== | ||
8 | --- linux-user/main.c.orig 2007-12-03 23:47:25.000000000 +0000 | ||
9 | +++ linux-user/main.c 2007-12-03 23:47:41.000000000 +0000 | ||
10 | @@ -714,7 +714,7 @@ void cpu_loop (CPUSPARCState *env) | ||
11 | default: | ||
12 | printf ("Unhandled trap: 0x%x\n", trapnr); | ||
13 | cpu_dump_state(env, stderr, fprintf, 0); | ||
14 | - exit (1); | ||
15 | + _exit (1); | ||
16 | } | ||
17 | process_pending_signals (env); | ||
18 | } | ||
19 | @@ -1634,7 +1634,7 @@ void cpu_loop (CPUState *env) | ||
20 | default: | ||
21 | printf ("Unhandled trap: 0x%x\n", trapnr); | ||
22 | cpu_dump_state(env, stderr, fprintf, 0); | ||
23 | - exit (1); | ||
24 | + _exit (1); | ||
25 | } | ||
26 | process_pending_signals (env); | ||
27 | } | ||
28 | @@ -1954,7 +1954,7 @@ int main(int argc, char **argv) | ||
29 | for(item = cpu_log_items; item->mask != 0; item++) { | ||
30 | printf("%-10s %s\n", item->name, item->help); | ||
31 | } | ||
32 | - exit(1); | ||
33 | + _exit(1); | ||
34 | } | ||
35 | cpu_set_log(mask); | ||
36 | } else if (!strcmp(r, "s")) { | ||
37 | @@ -1973,7 +1973,7 @@ int main(int argc, char **argv) | ||
38 | if (qemu_host_page_size == 0 || | ||
39 | (qemu_host_page_size & (qemu_host_page_size - 1)) != 0) { | ||
40 | fprintf(stderr, "page size must be a power of two\n"); | ||
41 | - exit(1); | ||
42 | + _exit(1); | ||
43 | } | ||
44 | } else if (!strcmp(r, "g")) { | ||
45 | gdbstub_port = atoi(argv[optind++]); | ||