error using gdb 5.3 target powerpc-eabisimaltivec

Mauricio Alvarez Mesa alvarez@ac.upc.es
Mon Oct 6 19:15:00 GMT 2003


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






More information about the Gdb mailing list