]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Fix PR 26000, logical bitwise error / prologue analyzer
authorLuis Machado <luis.machado@linaro.org>
Sat, 16 May 2020 02:06:52 +0000 (23:06 -0300)
committerLuis Machado <luis.machado@linaro.org>
Wed, 27 May 2020 12:41:53 +0000 (09:41 -0300)
commitf8c6d1528c19b11fdaa3ec949147280e500446e2
tree9f4f5c85741aca8fe82f881e49e351d434c7344a
parentc2b750436a9db8cf491ddeb316bc71e4b65110b6
Fix PR 26000, logical bitwise error / prologue analyzer

This fixes an instruction mask typo. We should be matching only
ldrd (immediate) and not any other of its variants. As is, it never matches
anything.

With the patch, the instruction mask also allows matching of ldrd (literal),
but the check for SP discards this particular instruction pattern, as it has
a hardcoded PC register.

gdb/ChangeLog:

2020-05-27  Luis Machado  <luis.machado@linaro.org>

PR tdep/26000
* arm-tdep.c (thumb_analyze_prologue): Fix instruction matching
for ldrd (immediate).
gdb/ChangeLog
gdb/arm-tdep.c