diff options
author | Alan Modra <amodra@gmail.com> | 2020-04-28 08:32:13 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-04-28 08:35:34 +0930 |
commit | 48e5bada0aa8dacfbdee9700638fb20f5c17e55f (patch) | |
tree | 0923638e34ff1fd87f4fdce47976d0c8dae4b8ad /gdb/c-valprint.c | |
parent | 251dae91074170036c1a76c5e5df1f45197d7feb (diff) | |
download | binutils-48e5bada0aa8dacfbdee9700638fb20f5c17e55f.zip binutils-48e5bada0aa8dacfbdee9700638fb20f5c17e55f.tar.gz binutils-48e5bada0aa8dacfbdee9700638fb20f5c17e55f.tar.bz2 |
alpha-vms: divide by zero
The zero check was on the wrong operand. And, yes, the second operand
popped is supposed to be divided by the first operand popped.
* vms-alpha.c (_bfd_vms_slurp_etir): Correct divide by zero check.
Emit warning message.
Diffstat (limited to 'gdb/c-valprint.c')
0 files changed, 0 insertions, 0 deletions