From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11576 invoked by alias); 19 Apr 2004 23:34: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 11567 invoked from network); 19 Apr 2004 23:34:14 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 19 Apr 2004 23:34:14 -0000 Received: from drow by nevyn.them.org with local (Exim 4.32 #1 (Debian)) id 1BFiHA-0007ID-HS; Mon, 19 Apr 2004 19:34:08 -0400 Date: Mon, 19 Apr 2004 23:34:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite/powerpc] New gdb.arch test for prologue analysis Message-ID: <20040419233408.GB27896@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20040419232439.GC22414@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040419232439.GC22414@gnat.com> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00455.txt.bz2 On Mon, Apr 19, 2004 at 04:24:39PM -0700, Joel Brobecker wrote: > Tested on powerpc-aix-5.1. Ok to apply? Tested only on powerpc-aix, I can see :) > asm (" .csect .text[PR]\n" > " .align 2\n" > " .lglobl .li_stw\n" > " .csect li_stw[DS]\n" > "li_stw:\n" > " .long .li_stw, TOC[tc0], 0\n" > " .csect .text[PR]\n" > ".li_stw:\n" > " stw 31,-4(1)\n" > " stwu 1,-48(1)\n" > " mr 31,1\n" > " stw 11,24(31)\n" > " li 0,8765\n" > " stw 0,28(31)\n" > " lwz 1,0(1)\n" > " lwz 31,-4(1)\n" > " blr\n"); AIX functions look distinctly unlike other (32-bit) PowerPC functions, because AIX uses function descriptors and powerpc-eabi/powerpc-linux/etc do not. This is only valid for AIX. You should either find a way to make it work on both - unlikely to be worth the trouble - or call this file something AIX specific. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer