error using gdb 5.3 target powerpc-eabisimaltivec

Andrew Cagney ac131313@redhat.com
Mon Oct 6 19:46:00 GMT 2003


> 
> 
> 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)

Does GDB 5.3 include altivec support?  I suspect you want GDB 6.0 (or 
GDB's current mainline), I also think the tuple is "powerpc-eabialtivec".

Andrew




More information about the Gdb mailing list