linux/arch/s390/kernel
Ilya Leoshkevich e9c9cb90e7 s390: discard .interp section
When debugging vmlinux with QEMU + GDB, the following GDB error may
occur:

    (gdb) c
    Continuing.
    Warning:
    Cannot insert breakpoint -1.
    Cannot access memory at address 0xffffffffffff95c0

    Command aborted.
    (gdb)

The reason is that, when .interp section is present, GDB tries to
locate the file specified in it in memory and put a number of
breakpoints there (see enable_break() function in gdb/solib-svr4.c).
Sometimes GDB finds a bogus location that matches its heuristics,
fails to set a breakpoint and stops. This makes further debugging
impossible.

The .interp section contains misleading information anyway (vmlinux
does not need ld.so), so fix by discarding it.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2023-01-25 20:51:10 +01:00
..
syscalls
vdso32
vdso64
.gitignore
abs_lowcore.c s390/mm: allocate Absolute Lowcore Area in decompressor 2023-01-13 14:15:06 +01:00
alternative.c
asm-offsets.c s390/entry: sort out physical vs virtual pointers usage in sie64a 2022-10-26 14:27:41 +02:00
audit.c
audit.h
cache.c s390/cache: change type from unsigned long long to unsigned long 2023-01-25 20:51:09 +01:00
compat_audit.c
compat_linux.c
compat_linux.h
compat_ptrace.h
compat_signal.c
cpcmd.c
cpufeature.c s390/uvdevice: autoload module based on CPU facility 2022-07-19 16:18:49 +02:00
crash_dump.c iov_iter work; most of that is about getting rid of 2022-12-12 18:29:54 -08:00
debug.c s390/debug: remove function type cast 2022-11-23 16:24:07 +01:00
diag.c s390/tty3270: add support for diag 8c 2023-01-09 14:33:56 +01:00
dis.c
dumpstack.c
early.c s390/mm: start kernel with DAT enabled 2023-01-13 14:15:05 +01:00
early_printk.c
earlypgm.S
ebcdic.c
entry.h s390: move __amode31_base declaration to proper header file 2023-01-13 14:15:07 +01:00
entry.S ARM64: 2022-12-15 11:12:21 -08:00
fpu.c s390/vx: add vx-insn.h wrapper include file 2022-12-06 16:18:23 +01:00
ftrace.c
ftrace.h
guarded_storage.c
head64.S s390/early: fix sclp_early_sccb variable lifetime 2023-01-13 14:15:04 +01:00
idle.c s390/mm: start kernel with DAT enabled 2023-01-13 14:15:05 +01:00
ima_arch.c
ipl.c s390/ipl: use kstrtobool() instead of strtobool() 2023-01-22 18:42:34 +01:00
ipl_vmparm.c
irq.c
jump_label.c
kdebugfs.c
kexec_elf.c
kexec_image.c
kprobes.c s390/kprobes: replace kretprobe with rethook 2023-01-22 18:42:35 +01:00
kprobes.h s390/kprobes: define insn cache ops within private header file 2022-11-23 16:24:07 +01:00
kprobes_insn_page.S
lgr.c
machine_kexec.c s390/mm: allocate Absolute Lowcore Area in decompressor 2023-01-13 14:15:06 +01:00
machine_kexec_file.c s390/kexec: fix ipl report address for kdump 2023-01-10 14:37:02 +01:00
machine_kexec_reloc.c
Makefile s390/cpum_cf: merge source files for CPU Measurement counter facility 2023-01-25 20:51:10 +01:00
mcount.S s390/kprobes: replace kretprobe with rethook 2023-01-22 18:42:35 +01:00
module.c
nmi.c s390/nmi: get rid of private slab cache 2022-12-06 16:18:26 +01:00
nospec-branch.c
nospec-sysfs.c
numa.c
os_info.c s390/mm: allocate Absolute Lowcore Area in decompressor 2023-01-13 14:15:06 +01:00
perf_cpum_cf.c s390/cpum_cf: simplify PMC_INIT and PMC_RELEASE usage 2023-01-25 20:51:10 +01:00
perf_cpum_cf_events.c
perf_cpum_sf.c s390/cpum_sf: diagnostic sampling buffer setup to handle virtual addresses 2023-01-22 18:42:35 +01:00
perf_event.c
perf_pai_crypto.c Perf events updates for v6.2: 2022-12-12 15:19:38 -08:00
perf_pai_ext.c s390/cpum_cf: merge source files for CPU Measurement counter facility 2023-01-25 20:51:10 +01:00
perf_regs.c
process.c s390/mm: start kernel with DAT enabled 2023-01-13 14:15:05 +01:00
processor.c
ptrace.c
reipl.S
relocate_kernel.S
rethook.c s390/kprobes: replace kretprobe with rethook 2023-01-22 18:42:35 +01:00
runtime_instr.c
setup.c s390: workaround invalid gcc-11 out of bounds read warning 2023-01-17 19:00:59 +01:00
signal.c
smp.c s390/mm: allocate Absolute Lowcore Area in decompressor 2023-01-13 14:15:06 +01:00
stacktrace.c s390/kprobes: replace kretprobe with rethook 2023-01-22 18:42:35 +01:00
sthyi.c
syscall.c
sysinfo.c
text_amode31.S s390/tty3270: add support for diag 8c 2023-01-09 14:33:56 +01:00
time.c
topology.c
trace.c
traps.c
unwind_bc.c
uprobes.c
uv.c KVM: s390: pv: avoid export before import if possible 2022-11-23 09:06:50 +00:00
vdso.c Random number generator updates for Linux 6.2-rc1. 2022-12-12 16:22:22 -08:00
vmlinux.lds.S s390: discard .interp section 2023-01-25 20:51:10 +01:00
vtime.c