From: Mauricio Alvarez Mesa <alvarez@ac.upc.es>
To: gdb <gdb@sources.redhat.com>
Subject: error using gdb 5.3 target powerpc-eabisimaltivec
Date: Mon, 06 Oct 2003 19:15:00 -0000 [thread overview]
Message-ID: <3F81BF3B.5080205@ac.upc.es> (raw)
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
next reply other threads:[~2003-10-06 19:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-06 19:15 Mauricio Alvarez Mesa [this message]
2003-10-06 19:46 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F81BF3B.5080205@ac.upc.es \
--to=alvarez@ac.upc.es \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox