public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: James Ingham <jingham@cygnus.com>
To: Rune Elvemo <relvemo@grm.hia.no>
Cc: James Ingham <jingham@cygnus.com>, insight@sourceware.cygnus.com
Subject: Re: problems with the "target" part..
Date: Tue, 25 Jan 2000 16:54:00 -0000	[thread overview]
Message-ID: <14478.17985.618842.456802@leda.cygnus.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10001251757300.519-100000@hybel91.grm.hia.no>

Rune,

Well...  As it turns out, the version of gdb is sourceware doesn't
contain the patches to support LinuxPPC yet.

This situation should be fixed before too long.  We have patches that
work now, but they are not done right (they duplicate functionality
that should be shared between the PPC & RS6000 ports).  The fellow who
did the original port has been trying to steal a little time to merge
the two, but so far he has been kept too busy with other tasks...  Sigh...

Sorry.

Jim.

 > On Mon, 24 Jan 2000, James Ingham wrote:
 > 
 > > Rune,
 > > 
 > > Could you send what host & target you are trying to run on, and
 > > also an example session that fails for you.
 > The host is powerpc-unkown-linu-gnu, that is a machine with a PowerPC cpu
 > (603e) running LinuxPPC.
 > 
 > ok... I'll do a little textmode session.. :
 > 
 > --------------------------- snip --------------------
 > [root@hybel91 src]# gdb dbtest
 > GNU gdb 20000117
 > Copyright 1998 Free Software Foundation, Inc.
 > GDB is free software, covered by the GNU General Public License, and you
 > are
 > welcome to change it and/or distribute copies of it under certain
 > conditions.
 > Type "show copying" to see the conditions.
 > There is absolutely no warranty for GDB.  Type "show warranty" for
 > details.
 > This GDB was configured as "powerpc-unknown-linux-gnu"...
 > (gdb) target exec dbtest
 > (gdb) run
 > Starting program: /root/src/dbtest
 > Don't know how to run.  Try "help target".
 > (gdb) target sim
 > Connected to the simulator.
 > (gdb) run
 > Starting program: /root/src/dbtest
 > warning: No program loaded.
 > No program loaded
 > (gdb)
 > ------------------------------ snip ----------------------------
 > 
 > maybe you think I'm stupid and stuff... well.. I hope not..
 > 
 > anyway... I've used the regular gdb earlier, and to tell you the truth it
 > was straight forward.. that's not the case now...
 > (because then the program expected that you would run the program on the
 > machine you were using)
 > 
 > I guess the simulator is meant for something else... well.. I tried it
 > since this was one of the options without serial line/tcp-ip connection...
 > (I didn't find a load command)
 > 
 > anyway.. I guess it's the 'exec' target I should go for...
 > 
 > I *did* provide target exec with an existing exe file.. (if not it
 > would have complained)...
 > 
 > and... I *did* get a lot of non-critical errors when compiling... lots of
 > variables that wasn't used and stuff like that..
 > 
 > even when I just do "gdb dbtest" (from bash that is)... and after that
 > "run".. it shows me the same error... (the normal gdb would have started
 > to run the program)
 > 
 > I think it would have been WISE to set as default, that the program should
 > be run/debugged on the machine that gdb is running on..
 > 
 > I have a certain feeling that the average programmer normally debugs his
 > code on the machine dgb is actually running on...
 > 
 > (I'm *not* trying to be rude)
 > 
 > thanks for actually reading my mail!
 > 
 > ---
 > Rune Elvemo	---	Octagon / Digital Minds
 > relvemo@grm.hia.no
 > http://home.c2i.net/elvemo
 > 
 > 

  reply	other threads:[~2000-01-25 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-24 14:55 Rune Elvemo
2000-01-24 15:33 ` James Ingham
2000-01-25  9:13   ` Rune Elvemo
2000-01-25 16:54     ` James Ingham [this message]
2000-01-26  3:57       ` Rune Elvemo

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=14478.17985.618842.456802@leda.cygnus.com \
    --to=jingham@cygnus.com \
    --cc=insight@sourceware.cygnus.com \
    --cc=relvemo@grm.hia.no \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).