aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-03-27 08:39:14 +0000
committerAlan Modra <amodra@gmail.com>2000-03-27 08:39:14 +0000
commitadde6300e0ceb74fbe8df6721fd948063c2080cd (patch)
tree50340425b80fd12f0a7efd11ec9b6a1e90992946 /opcodes/disassemble.c
parente7d0728ac1f3df93167fcad12c53be92ea98dda5 (diff)
downloadgdb-adde6300e0ceb74fbe8df6721fd948063c2080cd.zip
gdb-adde6300e0ceb74fbe8df6721fd948063c2080cd.tar.gz
gdb-adde6300e0ceb74fbe8df6721fd948063c2080cd.tar.bz2
ATMEL AVR microcontroller support.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r--opcodes/disassemble.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index 5aaf755..4d72e16 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_alpha
#define ARCH_arc
#define ARCH_arm
+#define ARCH_avr
#define ARCH_d10v
#define ARCH_d30v
#define ARCH_h8300
@@ -93,6 +94,11 @@ disassembler (abfd)
disassemble = print_insn_little_arm;
break;
#endif
+#ifdef ARCH_avr
+ case bfd_arch_avr:
+ disassemble = print_insn_avr;
+ break;
+#endif
#ifdef ARCH_d10v
case bfd_arch_d10v:
disassemble = print_insn_d10v;