summaryrefslogtreecommitdiff
path: root/meta/packages/qemu/qemu-0.9.1+svn/06_exit_segfault.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-23 10:40:00 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-23 10:40:00 +0000
commitb37a06703c214768619cc2816ae3af34bf6a7511 (patch)
tree72efae4280a66a7aa813fb072b76f8ceb84f797d /meta/packages/qemu/qemu-0.9.1+svn/06_exit_segfault.patch
parenta2513fb4c43954296aab493312bb6dbd8299c4c9 (diff)
downloadopenembedded-core-b37a06703c214768619cc2816ae3af34bf6a7511.tar.gz
openembedded-core-b37a06703c214768619cc2816ae3af34bf6a7511.tar.bz2
openembedded-core-b37a06703c214768619cc2816ae3af34bf6a7511.tar.xz
openembedded-core-b37a06703c214768619cc2816ae3af34bf6a7511.zip
qemu: added SVN recipes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4322 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1+svn/06_exit_segfault.patch')
-rw-r--r--meta/packages/qemu/qemu-0.9.1+svn/06_exit_segfault.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1+svn/06_exit_segfault.patch b/meta/packages/qemu/qemu-0.9.1+svn/06_exit_segfault.patch
new file mode 100644
index 000000000..06123d062
--- /dev/null
+++ b/meta/packages/qemu/qemu-0.9.1+svn/06_exit_segfault.patch
@@ -0,0 +1,45 @@
+#DPATCHLEVEL=0
+---
+# linux-user/main.c | 8 ++++----
+# 1 file changed, 4 insertions(+), 4 deletions(-)
+#
+Index: linux-user/main.c
+===================================================================
+--- linux-user/main.c.orig 2007-12-03 23:47:25.000000000 +0000
++++ linux-user/main.c 2007-12-03 23:47:41.000000000 +0000
+@@ -714,7 +714,7 @@ void cpu_loop (CPUSPARCState *env)
+ default:
+ printf ("Unhandled trap: 0x%x\n", trapnr);
+ cpu_dump_state(env, stderr, fprintf, 0);
+- exit (1);
++ _exit (1);
+ }
+ process_pending_signals (env);
+ }
+@@ -1634,7 +1634,7 @@ void cpu_loop (CPUState *env)
+ default:
+ printf ("Unhandled trap: 0x%x\n", trapnr);
+ cpu_dump_state(env, stderr, fprintf, 0);
+- exit (1);
++ _exit (1);
+ }
+ process_pending_signals (env);
+ }
+@@ -1954,7 +1954,7 @@ int main(int argc, char **argv)
+ for(item = cpu_log_items; item->mask != 0; item++) {
+ printf("%-10s %s\n", item->name, item->help);
+ }
+- exit(1);
++ _exit(1);
+ }
+ cpu_set_log(mask);
+ } else if (!strcmp(r, "s")) {
+@@ -1973,7 +1973,7 @@ int main(int argc, char **argv)
+ if (qemu_host_page_size == 0 ||
+ (qemu_host_page_size & (qemu_host_page_size - 1)) != 0) {
+ fprintf(stderr, "page size must be a power of two\n");
+- exit(1);
++ _exit(1);
+ }
+ } else if (!strcmp(r, "g")) {
+ gdbstub_port = atoi(argv[optind++]);