aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-dis.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-12-23 11:53:10 +0100
committerJan Beulich <jbeulich@suse.com>2019-12-23 11:53:10 +0100
commit0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec (patch)
tree9cbbed0dfe0c1d03b01a08115d4b9de86795e323 /opcodes/ppc-dis.c
parent2c0e48e5b797de474ef2e19f4146349065833138 (diff)
downloadgdb-0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec.zip
gdb-0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec.tar.gz
gdb-0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec.tar.bz2
ppc: misc minor build corrections
Avoid shadowing a libiberty symbol (which oldish gcc warns about by default), and allow building cleanly on 32-bit distros.
Diffstat (limited to 'opcodes/ppc-dis.c')
-rw-r--r--opcodes/ppc-dis.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c
index 9add602..7add08d 100644
--- a/opcodes/ppc-dis.c
+++ b/opcodes/ppc-dis.c
@@ -824,16 +824,16 @@ print_insn_powerpc (bfd_vma memaddr,
need_paren
} op_separator;
bfd_boolean skip_optional;
- int spaces;
+ int blanks;
(*info->fprintf_func) (info->stream, "%s", opcode->name);
/* gdb fprintf_func doesn't return count printed. */
- spaces = 8 - strlen (opcode->name);
- if (spaces <= 0)
- spaces = 1;
+ blanks = 8 - strlen (opcode->name);
+ if (blanks <= 0)
+ blanks = 1;
/* Now extract and print the operands. */
- op_separator = spaces;
+ op_separator = blanks;
skip_optional = FALSE;
for (opindex = opcode->operands; *opindex != 0; opindex++)
{