Revision 5fafdf24 disas.c

b/disas.c
137 137
/* Disassemble this for me please... (debugging). 'flags' has the following
138 138
   values:
139 139
    i386 - nonzero means 16 bit code
140
    arm  - nonzero means thumb code 
140
    arm  - nonzero means thumb code
141 141
    ppc  - nonzero means little endian
142 142
    other targets - unused
143 143
 */
......
162 162
#if defined(TARGET_I386)
163 163
    if (flags == 2)
164 164
        disasm_info.mach = bfd_mach_x86_64;
165
    else if (flags == 1) 
165
    else if (flags == 1)
166 166
        disasm_info.mach = bfd_mach_i386_i8086;
167 167
    else
168 168
        disasm_info.mach = bfd_mach_i386_i386;
......
176 176
    print_insn = print_insn_sparc;
177 177
#ifdef TARGET_SPARC64
178 178
    disasm_info.mach = bfd_mach_sparc_v9b;
179
#endif    
179
#endif   
180 180
#elif defined(TARGET_PPC)
181 181
    if (flags)
182 182
        disasm_info.endian = BFD_ENDIAN_LITTLE;
......
261 261
#if defined(__sparc_v8plus__) || defined(__sparc_v8plusa__) || defined(__sparc_v9__)
262 262
    disasm_info.mach = bfd_mach_sparc_v9b;
263 263
#endif
264
#elif defined(__arm__) 
264
#elif defined(__arm__)
265 265
    print_insn = print_insn_arm;
266 266
#elif defined(__MIPSEB__)
267 267
    print_insn = print_insn_big_mips;
......
298 298
    Elf32_Sym *sym;
299 299
    struct syminfo *s;
300 300
    target_ulong addr;
301
    
301
   
302 302
    for (s = syminfos; s; s = s->next) {
303 303
	sym = s->disas_symtab;
304 304
	for (i = 0; i < s->disas_num_syms; i++) {
......
377 377
#if defined(TARGET_I386)
378 378
    if (flags == 2)
379 379
        disasm_info.mach = bfd_mach_x86_64;
380
    else if (flags == 1) 
380
    else if (flags == 1)
381 381
        disasm_info.mach = bfd_mach_i386_i8086;
382 382
    else
383 383
        disasm_info.mach = bfd_mach_i386_i386;

Also available in: Unified diff