linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kenneth Johansson <kenneth.johansson@etx.ericsson.se>
To: Aman <aman@mistralsoftware.com>
Cc: Linuxppc embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Debuging Problem in PPC440GP
Date: 25 Nov 2002 09:48:54 +0100	[thread overview]
Message-ID: <1038214134.929.19.camel@spawn> (raw)
In-Reply-To: <001001c2926f$c29d2960$370da8c0@aman>


On Fri, 2002-11-22 at 22:40, Aman wrote:
>
> Hi All
>
> I wanted to debug the application in ppc440gp. To debug I am using gdbserver
> and ddd. The application which I have written is hello world program. In the
> target the command is
>
> root@192.168.13.246:~# gdbserver 192.168.13.242:4000 hello
> Process hello created; pid = 107
>
> In the host the command is
> ddd --debugger ppc_405-gdb --gdb hello and then in the GUI the following
> command is given
>
> target remote 192.168.13.246:4000 which in turn creates the following line
> in the target
> Remote debugging using 192.168.13.242:4000
>
> In the above situation , if I say "cont" , the program executes normally.
> However if I say "run" , it gives the following error
>
> (gdb) run
> Don't know how to run.  Try "help target".
>
> and in the target it says
>
> "Killing inferior".
>
> Can anybody help me in solving this issue.

Solve what? from the output it's clear that gdbserver already created
the process and since it's already running you can just use continue.

Also the remote protocol is very low level it dose not know how to start
a program.

--
Kenneth Johansson
Ericsson AB                       Tel: +46 8 404 71 83
Borgafjordsgatan 9                Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson@etx.ericsson.se


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2002-11-25  8:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-22 21:40 Debuging Problem in PPC440GP Aman
2002-11-25  8:48 ` Kenneth Johansson [this message]

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=1038214134.929.19.camel@spawn \
    --to=kenneth.johansson@etx.ericsson.se \
    --cc=aman@mistralsoftware.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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 NNTP newsgroup(s).