]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Handle unavailable LR/PC
authorLuis Machado <luis.machado@linaro.org>
Thu, 7 Jan 2021 15:21:29 +0000 (12:21 -0300)
committerLuis Machado <luis.machado@linaro.org>
Fri, 15 Jan 2021 21:55:43 +0000 (18:55 -0300)
commitd2746b652ccb1e53afbf91d2ed42e676ee20b5fe
tree71bff985c7bd50692153f7bd7e50e60d38834273
parenta3eae5bec743f2e7159e5d91b0325d80f0626762
Handle unavailable LR/PC

This fixes a situation where LR/PC is not available, so we need to throw
an error rather than continuing.

gdb/ChangeLog:

2021-01-15  Luis Machado  <luis.machado@arm.com>

* aarch64-tdep.c (aarch64_prologue_prev_register)
(aarch64_dwarf2_prev_register): Throw error if LR is optimized out.
gdb/ChangeLog
gdb/aarch64-tdep.c