OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [opcodes/] [disassemble.c] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 1... Line 1...
/* Select disassembly routine for specified architecture.
/* Select disassembly routine for specified architecture.
   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
   Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
   2004, 2005, 2006, 2007 Free Software Foundation, Inc.
   2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 
   This file is part of the GNU opcodes library.
   This file is part of the GNU opcodes library.
 
 
   This library is free software; you can redistribute it and/or modify
   This library is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   it under the terms of the GNU General Public License as published by
Line 44... Line 44...
#define ARCH_i860
#define ARCH_i860
#define ARCH_i960
#define ARCH_i960
#define ARCH_ia64
#define ARCH_ia64
#define ARCH_ip2k
#define ARCH_ip2k
#define ARCH_iq2000
#define ARCH_iq2000
 
#define ARCH_lm32
#define ARCH_m32c
#define ARCH_m32c
#define ARCH_m32r
#define ARCH_m32r
#define ARCH_m68hc11
#define ARCH_m68hc11
#define ARCH_m68hc12
#define ARCH_m68hc12
#define ARCH_m68k
#define ARCH_m68k
#define ARCH_m88k
#define ARCH_m88k
#define ARCH_maxq
#define ARCH_maxq
#define ARCH_mcore
#define ARCH_mcore
#define ARCH_mep
#define ARCH_mep
 
#define ARCH_microblaze
#define ARCH_mips
#define ARCH_mips
#define ARCH_mmix
#define ARCH_mmix
#define ARCH_mn10200
#define ARCH_mn10200
#define ARCH_mn10300
#define ARCH_mn10300
 
#define ARCH_moxie
#define ARCH_mt
#define ARCH_mt
#define ARCH_msp430
#define ARCH_msp430
#define ARCH_ns32k
#define ARCH_ns32k
#define ARCH_openrisc
 
#define ARCH_or32
#define ARCH_or32
#define ARCH_pdp11
#define ARCH_pdp11
#define ARCH_pj
#define ARCH_pj
#define ARCH_powerpc
#define ARCH_powerpc
#define ARCH_rs6000
#define ARCH_rs6000
Line 193... Line 195...
      disassemble = print_insn_i370;
      disassemble = print_insn_i370;
      break;
      break;
#endif
#endif
#ifdef ARCH_i386
#ifdef ARCH_i386
    case bfd_arch_i386:
    case bfd_arch_i386:
 
    case bfd_arch_l1om:
      disassemble = print_insn_i386;
      disassemble = print_insn_i386;
      break;
      break;
#endif
#endif
#ifdef ARCH_i860
#ifdef ARCH_i860
    case bfd_arch_i860:
    case bfd_arch_i860:
Line 221... Line 224...
#ifdef ARCH_fr30
#ifdef ARCH_fr30
    case bfd_arch_fr30:
    case bfd_arch_fr30:
      disassemble = print_insn_fr30;
      disassemble = print_insn_fr30;
      break;
      break;
#endif
#endif
 
#ifdef ARCH_lm32
 
    case bfd_arch_lm32:
 
      disassemble = print_insn_lm32;
 
      break;
 
#endif
#ifdef ARCH_m32r
#ifdef ARCH_m32r
    case bfd_arch_m32r:
    case bfd_arch_m32r:
      disassemble = print_insn_m32r;
      disassemble = print_insn_m32r;
      break;
      break;
#endif
#endif
Line 254... Line 262...
#ifdef ARCH_mt
#ifdef ARCH_mt
    case bfd_arch_mt:
    case bfd_arch_mt:
      disassemble = print_insn_mt;
      disassemble = print_insn_mt;
      break;
      break;
#endif
#endif
 
#ifdef ARCH_microblaze
 
    case bfd_arch_microblaze:
 
      disassemble = print_insn_microblaze;
 
      break;
 
#endif
#ifdef ARCH_msp430
#ifdef ARCH_msp430
    case bfd_arch_msp430:
    case bfd_arch_msp430:
      disassemble = print_insn_msp430;
      disassemble = print_insn_msp430;
      break;
      break;
#endif
#endif
Line 297... Line 310...
#ifdef ARCH_mn10300
#ifdef ARCH_mn10300
    case bfd_arch_mn10300:
    case bfd_arch_mn10300:
      disassemble = print_insn_mn10300;
      disassemble = print_insn_mn10300;
      break;
      break;
#endif
#endif
#ifdef ARCH_openrisc
 
    case bfd_arch_openrisc:
 
      disassemble = print_insn_openrisc;
 
      break;
 
#endif
 
#ifdef ARCH_or32
#ifdef ARCH_or32
    case bfd_arch_or32:
    case bfd_arch_or32:
      if (bfd_big_endian (abfd))
      if (bfd_big_endian (abfd))
        disassemble = print_insn_big_or32;
        disassemble = print_insn_big_or32;
      else
      else
Line 432... Line 440...
#ifdef ARCH_frv
#ifdef ARCH_frv
    case bfd_arch_frv:
    case bfd_arch_frv:
      disassemble = print_insn_frv;
      disassemble = print_insn_frv;
      break;
      break;
#endif
#endif
 
#ifdef ARCH_moxie
 
    case bfd_arch_moxie:
 
      disassemble = print_insn_moxie;
 
      break;
 
#endif
#ifdef ARCH_iq2000
#ifdef ARCH_iq2000
    case bfd_arch_iq2000:
    case bfd_arch_iq2000:
      disassemble = print_insn_iq2000;
      disassemble = print_insn_iq2000;
      break;
      break;
#endif
#endif
Line 464... Line 477...
  print_ppc_disassembler_options (stream);
  print_ppc_disassembler_options (stream);
#endif
#endif
#ifdef ARCH_i386
#ifdef ARCH_i386
  print_i386_disassembler_options (stream);
  print_i386_disassembler_options (stream);
#endif
#endif
 
#ifdef ARCH_s390
 
  print_s390_disassembler_options (stream);
 
#endif
 
 
  return;
  return;
}
}
 
 
void
void

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.