Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: opcodes/disassemble.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « opcodes/d30v-opc.c ('k') | opcodes/frv-asm.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Select disassembly routine for specified architecture. 1 /* Select disassembly routine for specified architecture.
2 Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2 Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
3 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. 3 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
4 Free Software Foundation, Inc.
4 5
5 This file is part of the GNU opcodes library. 6 This file is part of the GNU opcodes library.
6 7
7 This library is free software; you can redistribute it and/or modify 8 This library is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or 10 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 11 (at your option) any later version.
11 12
12 This program is distributed in the hope that it will be useful, 13 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #define ARCH_tic54x 84 #define ARCH_tic54x
84 #define ARCH_tic6x 85 #define ARCH_tic6x
85 #define ARCH_tic80 86 #define ARCH_tic80
86 #define ARCH_tilegx 87 #define ARCH_tilegx
87 #define ARCH_tilepro 88 #define ARCH_tilepro
88 #define ARCH_v850 89 #define ARCH_v850
89 #define ARCH_vax 90 #define ARCH_vax
90 #define ARCH_w65 91 #define ARCH_w65
91 #define ARCH_xstormy16 92 #define ARCH_xstormy16
92 #define ARCH_xc16x 93 #define ARCH_xc16x
94 #define ARCH_xgate
93 #define ARCH_xtensa 95 #define ARCH_xtensa
94 #define ARCH_z80 96 #define ARCH_z80
95 #define ARCH_z8k 97 #define ARCH_z8k
96 #define INCLUDE_SHMEDIA 98 #define INCLUDE_SHMEDIA
97 #endif 99 #endif
98 100
99 #ifdef ARCH_m32c 101 #ifdef ARCH_m32c
100 #include "m32c-desc.h" 102 #include "m32c-desc.h"
101 #endif 103 #endif
102 104
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 #ifdef ARCH_lm32 241 #ifdef ARCH_lm32
240 case bfd_arch_lm32: 242 case bfd_arch_lm32:
241 disassemble = print_insn_lm32; 243 disassemble = print_insn_lm32;
242 break; 244 break;
243 #endif 245 #endif
244 #ifdef ARCH_m32r 246 #ifdef ARCH_m32r
245 case bfd_arch_m32r: 247 case bfd_arch_m32r:
246 disassemble = print_insn_m32r; 248 disassemble = print_insn_m32r;
247 break; 249 break;
248 #endif 250 #endif
249 #if defined(ARCH_m68hc11) || defined(ARCH_m68hc12) 251 #if defined(ARCH_m68hc11) || defined(ARCH_m68hc12) \
252 || defined(ARCH_9s12x) || defined(ARCH_m9s12xg)
250 case bfd_arch_m68hc11: 253 case bfd_arch_m68hc11:
251 disassemble = print_insn_m68hc11; 254 disassemble = print_insn_m68hc11;
252 break; 255 break;
253 case bfd_arch_m68hc12: 256 case bfd_arch_m68hc12:
254 disassemble = print_insn_m68hc12; 257 disassemble = print_insn_m68hc12;
255 break; 258 break;
259 case bfd_arch_m9s12x:
260 disassemble = print_insn_m9s12x;
261 break;
262 case bfd_arch_m9s12xg:
263 disassemble = print_insn_m9s12xg;
264 break;
256 #endif 265 #endif
257 #ifdef ARCH_m68k 266 #ifdef ARCH_m68k
258 case bfd_arch_m68k: 267 case bfd_arch_m68k:
259 disassemble = print_insn_m68k; 268 disassemble = print_insn_m68k;
260 break; 269 break;
261 #endif 270 #endif
262 #ifdef ARCH_m88k 271 #ifdef ARCH_m88k
263 case bfd_arch_m88k: 272 case bfd_arch_m88k:
264 disassemble = print_insn_m88k; 273 disassemble = print_insn_m88k;
265 break; 274 break;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 #ifdef ARCH_v850 431 #ifdef ARCH_v850
423 case bfd_arch_v850: 432 case bfd_arch_v850:
424 disassemble = print_insn_v850; 433 disassemble = print_insn_v850;
425 break; 434 break;
426 #endif 435 #endif
427 #ifdef ARCH_w65 436 #ifdef ARCH_w65
428 case bfd_arch_w65: 437 case bfd_arch_w65:
429 disassemble = print_insn_w65; 438 disassemble = print_insn_w65;
430 break; 439 break;
431 #endif 440 #endif
441 #ifdef ARCH_xgate
442 case bfd_arch_xgate:
443 disassemble = print_insn_xgate;
444 break;
445 #endif
432 #ifdef ARCH_xstormy16 446 #ifdef ARCH_xstormy16
433 case bfd_arch_xstormy16: 447 case bfd_arch_xstormy16:
434 disassemble = print_insn_xstormy16; 448 disassemble = print_insn_xstormy16;
435 break; 449 break;
436 #endif 450 #endif
437 #ifdef ARCH_xc16x 451 #ifdef ARCH_xc16x
438 case bfd_arch_xc16x: 452 case bfd_arch_xc16x:
439 disassemble = print_insn_xc16x; 453 disassemble = print_insn_xc16x;
440 break; 454 break;
441 #endif 455 #endif
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 if (! info->insn_sets) 573 if (! info->insn_sets)
560 { 574 {
561 info->insn_sets = cgen_bitset_create (ISA_MAX); 575 info->insn_sets = cgen_bitset_create (ISA_MAX);
562 if (info->mach == bfd_mach_m16c) 576 if (info->mach == bfd_mach_m16c)
563 cgen_bitset_set (info->insn_sets, ISA_M16C); 577 cgen_bitset_set (info->insn_sets, ISA_M16C);
564 else 578 else
565 cgen_bitset_set (info->insn_sets, ISA_M32C); 579 cgen_bitset_set (info->insn_sets, ISA_M32C);
566 } 580 }
567 break; 581 break;
568 #endif 582 #endif
583 #ifdef ARCH_powerpc
584 case bfd_arch_powerpc:
585 #endif
586 #ifdef ARCH_rs6000
587 case bfd_arch_rs6000:
588 #endif
589 #if defined (ARCH_powerpc) || defined (ARCH_rs6000)
590 disassemble_init_powerpc (info);
591 break;
592 #endif
569 default: 593 default:
570 break; 594 break;
571 } 595 }
572 } 596 }
OLDNEW
« no previous file with comments | « opcodes/d30v-opc.c ('k') | opcodes/frv-asm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698