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)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 14 May 2024 11:37:05 +0000 (13:37 +0200)
commit10f70525365146046dddcc3d36bfaea2aee0376a
tree6ebd5ac3ae659896622c3bc7457d652da8312881
parent712c5d5f625974877d9302d6b160729288f1feb2
s390/vdso: Generate unwind information for C modules

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>
arch/s390/kernel/vdso32/Makefile
arch/s390/kernel/vdso64/Makefile