From 6097e557334e061c912be69b9bc7dffaae0a82a0 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 10 Oct 2016 17:53:29 -0400 Subject: [PATCH] gdb: Add comment to patch with reason for it --- packages/gdb/gdb-common-signals-state-save-restore.c.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/gdb/gdb-common-signals-state-save-restore.c.patch b/packages/gdb/gdb-common-signals-state-save-restore.c.patch index fe74d2dd4..f1a8a8bd9 100644 --- a/packages/gdb/gdb-common-signals-state-save-restore.c.patch +++ b/packages/gdb/gdb-common-signals-state-save-restore.c.patch @@ -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