diff options
author | Tom de Vries <tdevries@suse.de> | 2023-05-16 17:00:51 +0100 |
---|---|---|
committer | Luis Machado <luis.machado@arm.com> | 2023-06-07 12:01:12 +0100 |
commit | 22f2cf64f178fa3c85508d08fe10dd4e98af4751 (patch) | |
tree | fcc76f49c4e1176fc3695aa2e079e257c129d797 /gdb/or1k-tdep.c | |
parent | d033023bc4ce9e61fe47172ee451cce2b96cdc98 (diff) | |
download | fsf-binutils-gdb-22f2cf64f178fa3c85508d08fe10dd4e98af4751.zip fsf-binutils-gdb-22f2cf64f178fa3c85508d08fe10dd4e98af4751.tar.gz fsf-binutils-gdb-22f2cf64f178fa3c85508d08fe10dd4e98af4751.tar.bz2 |
Fix PR30369 regression on aarch64/arm (PR30506)
The gdb.dwarf2/dw2-prologue-end-2.exp test was failing for both AArch64 and
Arm.
As Tom pointed out here (https://inbox.sourceware.org/gdb-patches/6663707c-4297-c2f2-a0bd-f3e84fc62aad@suse.de/),
there are issues with both the prologue skipper for AArch64 and Arm and an
incorrect assumption by the testcase.
This patch fixes both of AArch64's and Arm's prologue skippers to not skip past
the end of a function. It also incorporates a fix to the testcase so it
doesn't assume the prologue skipper will stop at the first instruction of the
functions/labels.
Regression-tested on aarch64-linux/arm-linux Ubuntu 20.04/22.04 and
x86_64-linux Ubuntu 20.04.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30506
Co-Authored-By: Tom de Vries <tdevries@suse.de>
Co-Authored-By: Luis Machado <luis.machado@arm.com>
Diffstat (limited to 'gdb/or1k-tdep.c')
0 files changed, 0 insertions, 0 deletions