binutils-gdb/gdb/testsuite/gdb.reverse
Tom de Vries f0d556d14b [gdb/testsuite] Fix end_sequence addresses
I noticed in test-case gdb.reverse/map-to-same-line.exp, that the end of main:
...
00000000004102c4 <end_of_sequence>:
  4102c4:       52800000        mov     w0, #0x0                        // #0
  4102c8:       9100c3ff        add     sp, sp, #0x30
  4102cc:       d65f03c0        ret
...
is not described by the line table:
...
File name                    Line number    Starting address    View    Stmt
  ...
map-to-same-line.c                    54            0x4102ac               x
map-to-same-line.c                     -            0x4102c4
...

Fix this by ending the line table at $main_end.

Likewise in a few other test-cases, found using:
...
$ find gdb/testsuite/ -type f \
  | xargs grep -B1 DW_LNE_end_sequence \
  | grep set_address \
  | egrep -v "_end|_len"
...

Tested on aarch64-linux.
2024-04-17 12:55:00 +02:00
..
amd64-tailcall-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
amd64-tailcall-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
amd64-tailcall-reverse.S Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
break-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
break-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
break-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
consecutive-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
consecutive-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
consecutive-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
finish-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
finish-reverse-bkpt.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
finish-reverse-bkpt.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
finish-reverse-next.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
finish-reverse-next.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
finish-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
finish-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
fstatat-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
fstatat-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
func-map-to-same-line.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
func-map-to-same-line.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
getrandom.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
getrandom.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
getresuid-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
getresuid-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
i386-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
i386-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
i386-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
i386-sse-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
i386-sse-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
i387-env-reverse.c
i387-env-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
i387-stack-reverse.c
i387-stack-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
insn-reverse-aarch64.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
insn-reverse-arm.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
insn-reverse-x86.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
insn-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
insn-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
machinestate-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
machinestate.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
machinestate.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
maint-print-instruction.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
maint-print-instruction.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
map-to-same-line.c [gdb/testsuite] Fix end_sequence addresses 2024-04-17 12:55:00 +02:00
map-to-same-line.exp [gdb/testsuite] Fix end_sequence addresses 2024-04-17 12:55:00 +02:00
ms1.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
next-reverse-bkpt-over-sr.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
next-reverse-bkpt-over-sr.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
pipe-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
pipe-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
ppc_record_test_isa_2_06.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
ppc_record_test_isa_2_06.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
ppc_record_test_isa_3_1.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
ppc_record_test_isa_3_1.exp gdb: Modify the output of "info breakpoints" and "delete breakpoints" 2024-02-26 19:19:58 +08:00
readv-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
readv-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
recursion.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
recursion.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
recvmsg-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
recvmsg-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
rerun-prec.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
rerun-prec.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
s390-mvcle.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
s390-mvcle.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
shr1.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
shr2.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
shr.h Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
sigall-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
sigall-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
sigall-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
singlejmp-reverse-nodebug.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
singlejmp-reverse-nodebug.S Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
singlejmp-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
singlejmp-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
singlejmp-reverse.S Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
solib-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
solib-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
solib-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
step-indirect-call-thunk.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
step-indirect-call-thunk.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
step-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
step-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
step-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
test_ioctl_TCSETSW.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
test_ioctl_TCSETSW.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
time-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
time-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
until-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
until-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
until-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
ur1.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
waitpid-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
waitpid-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
watch-precsave.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
watch-reverse.c Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00
watch-reverse.exp Update copyright year range in header of all files managed by GDB 2024-01-12 15:49:57 +00:00