Fix gcc-5 compilation
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 16 Jan 2015 05:39:47 +0000 (06:39 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 16 Jan 2015 05:39:47 +0000 (06:39 +0100)
commit95761b2d9c3c77933cac233b93eff371b3e52859
tree7e0439262174126a5e3ceed48e3188837c80157e
parentf5818f7d80adb707a35f04049c841b230b36b824
Fix gcc-5 compilation

With gcc-5.0 pre-release one gets:

hppa-tdep.c: In function ‘inst_saves_gr’:
hppa-tdep.c:1406:30: error: comparison of constant ‘9’ with boolean expression is always false [-Werror=bool-compare]

I find the misplaced parentheses obvious.

gdb/ChangeLog
2015-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>

Fix gcc-5 compilation.
* hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
gdb/ChangeLog
gdb/hppa-tdep.c