public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* error using gdb 5.3 target powerpc-eabisimaltivec
@ 2003-10-06 19:15 Mauricio Alvarez Mesa
  2003-10-06 19:46 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Mauricio Alvarez Mesa @ 2003-10-06 19:15 UTC (permalink / raw)
  To: gdb

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-06 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-06 19:15 error using gdb 5.3 target powerpc-eabisimaltivec Mauricio Alvarez Mesa
2003-10-06 19:46 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).