From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5615 invoked by alias); 27 Dec 2005 15:41:09 -0000 Received: (qmail 5604 invoked by uid 22791); 27 Dec 2005 15:41:08 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.205) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 27 Dec 2005 15:41:08 +0000 Received: by zproxy.gmail.com with SMTP id l1so1382857nzf for ; Tue, 27 Dec 2005 07:41:06 -0800 (PST) Received: by 10.36.67.19 with SMTP id p19mr4411119nza; Tue, 27 Dec 2005 07:41:05 -0800 (PST) Received: from ?192.168.0.124? ( [218.1.150.9]) by mx.gmail.com with ESMTP id 24sm4383467nzn.2005.12.27.07.41.03; Tue, 27 Dec 2005 07:41:05 -0800 (PST) Message-ID: <43B1608C.2020209@gmail.com> Date: Fri, 30 Dec 2005 12:00:00 -0000 From: Jie Zhang User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051010) MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [PATCH] Add support for Analog Devices Blackfin processor (part 5/6: include) Content-Type: multipart/mixed; boundary="------------060502080107080405040506" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00309.txt.bz2 This is a multi-part message in MIME format. --------------060502080107080405040506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 216 This is the fifth part for Analog Devices Blackfin processor, which defines the interface between the Blackfin simulator and GDB. It contains only one new file: include/gdb/sim-bfin.h. Any comments? Thanks, Jie --------------060502080107080405040506 Content-Type: text/x-patch; name="bfin-include.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bfin-include.diff" Content-length: 2662 include/ * gdb/sim-bfin.h: New file. diff -r -N -u -x CVS src.orig/include/gdb/sim-bfin.h src/include/gdb/sim-bfin.h --- src.orig/include/gdb/sim-bfin.h 1970-01-01 08:00:00.000000000 +0800 +++ src/include/gdb/sim-bfin.h 2005-12-27 23:08:12.000000000 +0800 @@ -0,0 +1,84 @@ +/* This file defines the interface between the Blackfin simulator and GDB. + + Copyright (C) 2005 Free Software Foundation, Inc. + Contributed by Analog Devices. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +enum sim_bfin_regnum { + SIM_BFIN_R0_REGNUM = 0, + SIM_BFIN_R1_REGNUM, + SIM_BFIN_R2_REGNUM, + SIM_BFIN_R3_REGNUM, + SIM_BFIN_R4_REGNUM, + SIM_BFIN_R5_REGNUM, + SIM_BFIN_R6_REGNUM, + SIM_BFIN_R7_REGNUM, + SIM_BFIN_P0_REGNUM, + SIM_BFIN_P1_REGNUM, + SIM_BFIN_P2_REGNUM, + SIM_BFIN_P3_REGNUM, + SIM_BFIN_P4_REGNUM, + SIM_BFIN_P5_REGNUM, + SIM_BFIN_SP_REGNUM, + SIM_BFIN_FP_REGNUM, + SIM_BFIN_I0_REGNUM, + SIM_BFIN_I1_REGNUM, + SIM_BFIN_I2_REGNUM, + SIM_BFIN_I3_REGNUM, + SIM_BFIN_M0_REGNUM, + SIM_BFIN_M1_REGNUM, + SIM_BFIN_M2_REGNUM, + SIM_BFIN_M3_REGNUM, + SIM_BFIN_B0_REGNUM, + SIM_BFIN_B1_REGNUM, + SIM_BFIN_B2_REGNUM, + SIM_BFIN_B3_REGNUM, + SIM_BFIN_L0_REGNUM, + SIM_BFIN_L1_REGNUM, + SIM_BFIN_L2_REGNUM, + SIM_BFIN_L3_REGNUM, + SIM_BFIN_A0_DOT_X_REGNUM, + SIM_BFIN_AO_DOT_W_REGNUM, + SIM_BFIN_A1_DOT_X_REGNUM, + SIM_BFIN_A1_DOT_W_REGNUM, + SIM_BFIN_ASTAT_REGNUM, + SIM_BFIN_RETS_REGNUM, + SIM_BFIN_LC0_REGNUM, + SIM_BFIN_LT0_REGNUM, + SIM_BFIN_LB0_REGNUM, + SIM_BFIN_LC1_REGNUM, + SIM_BFIN_LT1_REGNUM, + SIM_BFIN_LB1_REGNUM, + SIM_BFIN_CYCLES_REGNUM, + SIM_BFIN_CYCLES2_REGNUM, + SIM_BFIN_USP_REGNUM, + SIM_BFIN_SEQSTAT_REGNUM, + SIM_BFIN_SYSCFG_REGNUM, + SIM_BFIN_RETI_REGNUM, + SIM_BFIN_RETX_REGNUM, + SIM_BFIN_RETN_REGNUM, + SIM_BFIN_RETE_REGNUM, + SIM_BFIN_PC_REGNUM, + SIM_BFIN_CC_REGNUM, + SIM_BFIN_EXTRA1, + SIM_BFIN_EXTRA2, + SIM_BFIN_EXTRA3, + SIM_BFIN_IPEND_REGNUM +}; + --------------060502080107080405040506--