linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jesper Skov <jskov@redhat.com>
To: dony <dony.he@huawei.com.cn>
Cc: Jesper Skov <jskov@cygnus.co.uk>,
	Brendan John Simon <brendan@dgs.monash.edu.au>,
	linuxppc-embed <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: How to gdbserver...
Date: Thu, 27 Jan 2000 11:46:23 +0100 (CET)	[thread overview]
Message-ID: <14480.8703.852087.45813@thinktwice.zoftcorp.dk> (raw)
In-Reply-To: <388FB1FD.A75F048A@huawei.com.cn>


>>>>> "dony" == dony  <dony.he@huawei.com.cn> writes:

dony> Has the host and the target been connected via network yet?  If

They have,

dony> so, I type "run" after (gdb) at host side, then (gdb)run The
dony> program being debugged has been started already Start it from
dony> the begging?(y or n) y Starting program: /mytest/mytest Don't
dony> know how to run. Try "help target".

You need to use 'continue'.

dony> I don't know why the program is running at this time.  type
dony> "list" can show my source code.  type "b main" can set
dony> breakpoint .  (gdb) b main Breakpoint 1 at 0x10000328:file
dony> mytest.c, line 4.  (gdb) s Cannot find bounds of current
dony> function

dony> I don't know why I cannot run the program at host side. Am I
dony> missing something?  I am pretty new with "GDB" debug.  Can some
dony> gurus give me some advices?  Thanks very much.


info gdb
man gdb

Jesper

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

  reply	other threads:[~2000-01-27 10:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-22  3:20 gdbserver dony
2000-01-22 10:27 ` gdbserver Jesper Skov
2000-01-24  1:51   ` gdbserver dony
2000-01-24  8:20     ` gdbserver Jesper Skov
2000-01-27  2:48   ` How to gdbserver dony
2000-01-27 10:46     ` Jesper Skov [this message]
2000-01-27 11:27       ` Looking for a better debug tool for embed-environment dony
2000-01-27 11:35         ` Jesper Skov

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=14480.8703.852087.45813@thinktwice.zoftcorp.dk \
    --to=jskov@redhat.com \
    --cc=brendan@dgs.monash.edu.au \
    --cc=dony.he@huawei.com.cn \
    --cc=jskov@cygnus.co.uk \
    --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).