binutils-gdb/gdb/testsuite/lib
Alexandra Hájková 21dc8b8d28 Add dw2-aranges.exp
This test checks that GDB is able to load DWARF information when
.debug_aranges has a section address size that is set to 0.

This test was originally written by Jan Kratochvil to test commit
927aa2e778 from 2017, titled "DWARF-5: .debug_names index consumer".

This test was originally written using a static .S file and has
been present in the Fedora tree for a long time.

If dwarf2/aranges.c is modified to turn off the address_size check,
GDB will crash with SIGFPE when loading the executable with address
size set to zero.

I modified the DWARF assembler to make it possible to set the address
size to zero in a .debug_aranges section and used the DWARF assembler
to produce the assembly file.

Co-Authored-By: Jan Kratochvil <jan.kratochvil@redhat.com>
Approved-by: Kevin Buettner <kevinb@redhat.com>
2024-11-08 22:15:50 +01:00
..
aarch64-scalable.exp
aarch64-test-sme.c
aarch64-test-sve.c
aarch64.exp
ada.exp Introduce and use gnat_version_compare 2024-10-15 13:36:29 -06:00
append_gdb_boards_dir.exp
attributes.h
build-piece.exp
cache.exp gdb/testsuite: track nested caching proc calls 2024-08-20 15:44:51 +01:00
check-test-names.exp [gdb/testsuite] Detect trailing-text-in-parentheses duplicates 2024-07-31 15:04:25 +02:00
cl_util.c
cl_util.h
compile-support.exp
compiler.c
compiler.cc
compiler.F90
completion-support.exp
cp-support.exp
d-support.exp
dap-support.exp
data-structures.exp
debuginfod-support.exp
dg-add-core-file-count.sh
dtrace.exp
dwarf.exp Add dw2-aranges.exp 2024-11-08 22:15:50 +01:00
fortran.exp
future.exp
gdb-guile.exp
gdb-python.exp
gdb-utils.exp Introduce and use gnat_version_compare 2024-10-15 13:36:29 -06:00
gdb.exp [gdb/testsuite] Fix gdb.cp/exceptprint.exp with check-read1 2024-10-25 06:14:03 +02:00
gdbserver-support.exp
gen-perf-test.exp
gnat_debug_info_test.adb
go.exp
jit-elf-helpers.exp
memory.exp
mi-support.exp [gdb/testsuite] Make parse_args error out on remaining args 2024-09-23 09:34:48 +02:00
my-syscalls.h
my-syscalls.S
notty-wrap
objc.exp
opencl_hostapp.c
opencl_kernel.cl
opencl.exp
pascal.exp
pdtrace.in
perftest.exp
precise-aligned-alloc.c
prelink-support.exp [gdb] Fix common misspellings 2024-10-06 07:59:48 +02:00
prompt.exp
range-stepping-support.exp
read1.c
rocm.exp
rust-support.exp
selftest-support.exp [gdb] Fix common misspellings 2024-10-06 07:59:48 +02:00
set_unbuffered_mode.c
sym-info-cmds.exp
ton.tcl
trace-support.exp testsuite, trace: add guards if In-Process Agent library is not found 2024-09-13 04:05:13 -07:00
tuiterm.exp
unbuffer_output.c
valgrind.exp