diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-03-30 17:02:46 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-03-30 17:03:29 +0100 |
commit | fb3f3d25c3cbf561d33b258ff11fd8139f6ad75d (patch) | |
tree | 59975bca53c87d965bf98cd62c38f37aa59aec14 /gdb/python | |
parent | 779aa56f2c160ef508ca98fac1ffd23cad6fc63f (diff) | |
download | binutils-fb3f3d25c3cbf561d33b258ff11fd8139f6ad75d.zip binutils-fb3f3d25c3cbf561d33b258ff11fd8139f6ad75d.tar.gz binutils-fb3f3d25c3cbf561d33b258ff11fd8139f6ad75d.tar.bz2 |
Check func against 0 rather than NULL
Variable 'func''s type is CORE_ADDR, so it should be compared with 0
rather than NULL. This causes a build error.
This patch fixes this.
gdb:
2016-03-30 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against
0 rather than NULL.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions