]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/vdso: Generate unwind information for C modules
authorJens Remus <jremus@linux.ibm.com>
Mon, 29 Apr 2024 15:02:52 +0000 (17:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:39:40 +0000 (13:39 +0200)
commit24d50b7148b293d5579835f3ecdea5cde499509c
treeac4e113b65d7bb5ad32dfaf36008102d2d70d37a
parentddfd7ca99e7cabb9a25d9401801652e2f272a59c
s390/vdso: Generate unwind information for C modules

[ Upstream commit 10f70525365146046dddcc3d36bfaea2aee0376a ]

GDB fails to unwind vDSO functions with error message "PC not saved",
for instance when stepping through gettimeofday().

Add -fasynchronous-unwind-tables to CFLAGS to generate .eh_frame
DWARF unwind information for the vDSO C modules.

Fixes: 4bff8cb54502 ("s390: convert to GENERIC_VDSO")
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/kernel/vdso32/Makefile
arch/s390/kernel/vdso64/Makefile