From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10166 invoked by alias); 20 Jul 2004 07:03:15 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10133 invoked from network); 20 Jul 2004 07:03:13 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 20 Jul 2004 07:03:13 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6K73De1020473 for ; Tue, 20 Jul 2004 03:03:13 -0400 Received: from zenia.home.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6K73Ba07218; Tue, 20 Jul 2004 03:03:12 -0400 To: gdb-patches@sources.redhat.com Subject: RFA: PowerPC: registers_powerpc has no segment registers From: Jim Blandy Date: Tue, 20 Jul 2004 07:03:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-07/txt/msg00250.txt.bz2 2004-07-20 Jim Blandy * rs6000-tdep.c (rs6000_gdbarch_init): The register set used for bfd_mach_ppc has no segment registers. Index: gdb/rs6000-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v retrieving revision 1.220 diff -c -p -r1.220 rs6000-tdep.c *** gdb/rs6000-tdep.c 16 Jul 2004 20:53:06 -0000 1.220 --- gdb/rs6000-tdep.c 20 Jul 2004 06:55:12 -0000 *************** rs6000_gdbarch_init (struct gdbarch_info *** 2903,2908 **** --- 2903,2909 ---- switch (v->mach) { case bfd_mach_ppc: + tdep->ppc_sr0_regnum = -1; tdep->ppc_vr0_regnum = 71; tdep->ppc_vrsave_regnum = 104; break;