gdb: Add comment to patch with reason for it
authorFredrik Fornwall <fredrik@fornwall.net>
Mon, 10 Oct 2016 21:53:29 +0000 (17:53 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Mon, 10 Oct 2016 21:53:29 +0000 (17:53 -0400)
packages/gdb/gdb-common-signals-state-save-restore.c.patch

index fe74d2d..f1a8a8b 100644 (file)
@@ -1,4 +1,5 @@
-FIXME: Why is this patch needed?
+On Android signal handlers are setup by the linker (through debuggerd_client):
+https://github.com/android/platform_system_core/blob/6fff551728f75e35b69bd59f2bc722a72d5c6d61/debuggerd/client/debuggerd_client.cpp#L290
 
 diff -u -r ../gdb-7.12/gdb/common/signals-state-save-restore.c ./gdb/common/signals-state-save-restore.c
 --- ../gdb-7.12/gdb/common/signals-state-save-restore.c        2016-10-07 13:04:17.000000000 -0400