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

Side by Side Diff: opcodes/alpha-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/Makefile.in ('k') | opcodes/alpha-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 /* alpha-dis.c -- Disassemble Alpha AXP instructions 1 /* alpha-dis.c -- Disassemble Alpha AXP instructions
2 Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2005, 2007 2 Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2005, 2007, 2012
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 Contributed by Richard Henderson <rth@tamu.edu>, 4 Contributed by Richard Henderson <rth@tamu.edu>,
5 patterned after the PPC opcode handling written by Ian Lance Taylor. 5 patterned after the PPC opcode handling written by Ian Lance Taylor.
6 6
7 This file is part of libopcodes. 7 This file is part of libopcodes.
8 8
9 This library is free software; you can redistribute it and/or modify 9 This library is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by 10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3, or (at your option) 11 the Free Software Foundation; either version 3, or (at your option)
12 any later version. 12 any later version.
13 13
14 It is distributed in the hope that it will be useful, but WITHOUT 14 It is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
17 License for more details. 17 License for more details.
18 18
19 You should have received a copy of the GNU General Public License 19 You should have received a copy of the GNU General Public License
20 along with this file; see the file COPYING. If not, write to the Free 20 along with this file; see the file COPYING. If not, write to the Free
21 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 21 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
22 02110-1301, USA. */ 22 02110-1301, USA. */
23 23
24 #include "sysdep.h"
24 #include <stdio.h> 25 #include <stdio.h>
25 #include "sysdep.h"
26 #include "dis-asm.h" 26 #include "dis-asm.h"
27 #include "opcode/alpha.h" 27 #include "opcode/alpha.h"
28 28
29 /* OSF register names. */ 29 /* OSF register names. */
30 30
31 static const char * const osf_regnames[64] = { 31 static const char * const osf_regnames[64] = {
32 "v0", "t0", "t1", "t2", "t3", "t4", "t5", "t6", 32 "v0", "t0", "t1", "t2", "t3", "t4", "t5", "t6",
33 "t7", "s0", "s1", "s2", "s3", "s4", "s5", "fp", 33 "t7", "s0", "s1", "s2", "s3", "s4", "s5", "fp",
34 "a0", "a1", "a2", "a3", "a4", "a5", "t8", "t9", 34 "a0", "a1", "a2", "a3", "a4", "a5", "t8", "t9",
35 "t10", "t11", "ra", "t12", "at", "gp", "sp", "zero", 35 "t10", "t11", "ra", "t12", "at", "gp", "sp", "zero",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 else 201 else
202 (*info->fprintf_func) (info->stream, "%#x", value); 202 (*info->fprintf_func) (info->stream, "%#x", value);
203 203
204 if (operand->flags & AXP_OPERAND_PARENS) 204 if (operand->flags & AXP_OPERAND_PARENS)
205 (*info->fprintf_func) (info->stream, ")"); 205 (*info->fprintf_func) (info->stream, ")");
206 need_comma = 1; 206 need_comma = 1;
207 } 207 }
208 208
209 return 4; 209 return 4;
210 } 210 }
OLDNEW
« no previous file with comments | « opcodes/Makefile.in ('k') | opcodes/alpha-opc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698