~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to include/opcode/ppc.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* ppc.h -- Header file for PowerPC opcode table
2
2
   Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
3
 
   2007, 2008, 2009 Free Software Foundation, Inc.
 
3
   2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4
4
   Written by Ian Lance Taylor, Cygnus Support
5
5
 
6
6
This file is part of GDB, GAS, and the GNU binutils.
22
22
#ifndef PPC_H
23
23
#define PPC_H
24
24
 
25
 
typedef unsigned long ppc_cpu_t;
 
25
#include "bfd_stdint.h"
 
26
 
 
27
typedef uint64_t ppc_cpu_t;
26
28
 
27
29
/* The opcode table is an array of struct powerpc_opcode.  */
28
30
 
165
167
/* Opcode is supported by Vector-Scalar (VSX) Unit */
166
168
#define PPC_OPCODE_VSX           0x80000000
167
169
 
 
170
/* Opcode is supported by A2.  */
 
171
#define PPC_OPCODE_A2            0x100000000ULL
 
172
 
 
173
/* Opcode is supported by PowerPC 476 processor.  */
 
174
#define PPC_OPCODE_476           0x200000000ULL
 
175
 
 
176
/* Opcode is supported by AppliedMicro Titan core */
 
177
#define PPC_OPCODE_TITAN         0x400000000ULL
 
178
 
168
179
/* A macro to extract the major opcode from an instruction.  */
169
180
#define PPC_OP(i) (((i) >> 26) & 0x3f)
170
181