This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
error using gdb 5.3 target powerpc-eabisimaltivec
- From: Mauricio Alvarez Mesa <alvarez at ac dot upc dot es>
- To: gdb <gdb at sources dot redhat dot com>
- Date: Mon, 06 Oct 2003 21:15:07 +0200
- Subject: error using gdb 5.3 target powerpc-eabisimaltivec
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