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

Side by Side Diff: opcodes/tilegx-dis.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/tic80-opc.c ('k') | opcodes/tilegx-opc.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 /* tilegx-dis.c. Disassembly routines for the TILE-Gx architecture. 1 /* tilegx-dis.c. Disassembly routines for the TILE-Gx architecture.
2 Copyright 2011 Free Software Foundation, Inc. 2 Copyright 2011, 2012 Free Software Foundation, Inc.
3 3
4 This file is part of the GNU opcodes library. 4 This file is part of the GNU opcodes library.
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or 8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
11 This program is distributed in the hope that it will be useful, 11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details. 14 GNU General Public License for more details.
15 15
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software 17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */ 19 MA 02110-1301, USA. */
20 20
21 #include "sysdep.h"
21 #include <stddef.h> 22 #include <stddef.h>
22 #include <assert.h> 23 #include <assert.h>
23 #include "bfd.h" 24 #include "bfd.h"
24 #include "elf/tilegx.h" 25 #include "elf/tilegx.h"
25 #include "elf-bfd.h" 26 #include "elf-bfd.h"
26 #include "sysdep.h"
27 #include "dis-asm.h" 27 #include "dis-asm.h"
28 #include "opcode/tilegx.h" 28 #include "opcode/tilegx.h"
29 29
30 30
31 int 31 int
32 print_insn_tilegx (bfd_vma memaddr, disassemble_info *info) 32 print_insn_tilegx (bfd_vma memaddr, disassemble_info *info)
33 { 33 {
34 struct tilegx_decoded_instruction 34 struct tilegx_decoded_instruction
35 decoded[TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE]; 35 decoded[TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE];
36 bfd_byte opbuf[TILEGX_BUNDLE_SIZE_IN_BYTES]; 36 bfd_byte opbuf[TILEGX_BUNDLE_SIZE_IN_BYTES];
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 break; 126 break;
127 default: 127 default:
128 abort (); 128 abort ();
129 } 129 }
130 } 130 }
131 } 131 }
132 info->fprintf_func (info->stream, " }"); 132 info->fprintf_func (info->stream, " }");
133 133
134 return TILEGX_BUNDLE_SIZE_IN_BYTES; 134 return TILEGX_BUNDLE_SIZE_IN_BYTES;
135 } 135 }
OLDNEW
« no previous file with comments | « opcodes/tic80-opc.c ('k') | opcodes/tilegx-opc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698