diff options
author | Alan Modra <amodra@gmail.com> | 2024-06-26 17:46:48 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-06-30 14:41:42 +0930 |
commit | 01a8854406356b6ecfed3a81028d9d552bf18905 (patch) | |
tree | ee656be09d979b2c918ef6c4643a1fef63b53d5b | |
parent | 4b8c2aaf2d37c6f2a2d21e208d5473d2e4f13df9 (diff) | |
download | gdb-01a8854406356b6ecfed3a81028d9d552bf18905.zip gdb-01a8854406356b6ecfed3a81028d9d552bf18905.tar.gz gdb-01a8854406356b6ecfed3a81028d9d552bf18905.tar.bz2 |
tweak latest vms-alpha.c change
It's that tiny bit nicer to have the "len" expression in order of
the components in the buffer.
-rw-r--r-- | bfd/vms-alpha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index a53ccdf..6eea61d 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -7733,7 +7733,7 @@ evax_bfd_print_dst (struct bfd *abfd, unsigned int dst_size, FILE *file) evax_bfd_print_valspec (buf, len, 4, file); - len -= 1 + nlen + sizeof (*recbeg); + len -= sizeof (*recbeg) + 1 + nlen; if (len >= 4) fprintf (file, _(" len: %u bits\n"), (unsigned) bfd_getl32 (name + 1 + nlen)); |