From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30414 invoked by alias); 6 Oct 2003 19:15:10 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30310 invoked from network); 6 Oct 2003 19:15:08 -0000 Received: from unknown (HELO roura.ac.upc.es) (147.83.33.10) by sources.redhat.com with SMTP; 6 Oct 2003 19:15:08 -0000 Received: from ac.upc.es (mora.ac.upc.es [147.83.33.67]) by roura.ac.upc.es (8.12.8/8.12.8) with ESMTP id h96JF7R7022666 for ; Mon, 6 Oct 2003 21:15:07 +0200 (MET DST) Message-ID: <3F81BF3B.5080205@ac.upc.es> Date: Mon, 06 Oct 2003 19:15:00 -0000 From: Mauricio Alvarez Mesa User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en, es-co MIME-Version: 1.0 To: gdb Subject: error using gdb 5.3 target powerpc-eabisimaltivec Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00103.txt.bz2 Hi. I am using gdb 5.3 for debugging applications developed for a powerpc-aebisimaltivec target on a linux-x86 host I am using gcc-3.3.1, binutils-2.14.90.0.6 and newlib-1.11.0 But I obtain an error when try to run my program under gdb -------------------- $ powerpc-eabisimaltivec-gcc -o hello -g hello.c hello.c is a simple hello world program using printf and without any altivec vector instructions $ powerpc-eabisimaltivec-gdb hello GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. ... This GDB was configured as "--host=i686-pc-linux-gnu --target=powerpc-eabisimaltivec"... (gdb) target sim Connected to the simulator. (gdb) load (gdb) run Starting program: /users/scratch/alvarez/altivec/tutorial/hello cpu 1, cia 0x100010cc: program interrupt - illegal instruction Program terminated with signal ?, Unknown signal. The program no longer exists. [Switching to process 0] (gdb) ------------------------ Is there any error in my procedure? Thanks in advance Mauricio Alvarez