public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "???" <jclin@itri.org.tw>
To: <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] GDB remote debug problem ??
Date: Mon, 02 Apr 2001 08:50:00 -0000	[thread overview]
Message-ID: <001a01c0bb8c$8cfe8580$8267608c@e> (raw)
In-Reply-To: <3AC4B60E.C3D97CCD@redhat.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2010 bytes --]

----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: "ªL§Ó³Ó" <jclin@itri.org.tw>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Saturday, March 31, 2001 12:36 AM
Subject: Re: [ECOS] GDB remote debug problem ??


ªL§Ó³Ó wrote:
>
> Hi everyone:
>
>     I am porting eCos on my custom MPC823 board.
> Redboot can boot from flash and work fine on my board.
> I want use GDB to debug hello example step by step.
> If I uncheck the set any breakpoint at target settings.. ;
> The console can see"Hello eCos world " output.
> But if I check set breakpoint at main, the console will show
> $T05thread:00000002;40:000204ac;01:00031af8;#b4
> and GDB on my NT can't control my borad any more.
> What problem may I meet?? Is redboot problem, hello,
> or GDB problem??

That $T packet indicates that you have hit the breakpoint in main. But
unless you have enabled remote protocol debugging within GDB, you shouldn't
have seen that - it's part of the underlying protocol. And then of course
you could be able to continue the program from the breakpoint by typing
"continue" - I assume this isn't happening?

Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

Hi :
    Thank you for your reply!! I describe my steps
1. Reset my borad by pressing the reset buttom.
2. Run powerpc-eabi-gdb
3. press the 'RUN' buttom
4. select the hello.exe I want to debug
5. select target Remote TCP & set breakpoint at main
6. download OK & I see my serial console print $T ...
7. I can't do anything but press the stop buttom on powerpc-eabi-gdb
8. powerpc-eabi-gdb get no response from from by board & dettach from it.

But if step 5. I select Remote serial , then everything will be OK. I can
stop
the hello program at main and run step by step.
What problem may it happen?? Is my ethernet driver's problem?? or something
??
What point may I check??

Thanks very much!!

Ken

  reply	other threads:[~2001-04-02  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-30  3:29 林志勝
2001-03-30  8:36 ` Jonathan Larmour
2001-04-02  8:50   ` ??? [this message]
2001-04-02  9:50     ` Jonathan Larmour
2001-04-03  9:13       ` ???
2001-04-03  9:14         ` Jonathan Larmour
2001-04-04  6:36           ` ???

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='001a01c0bb8c$8cfe8580$8267608c@e' \
    --to=jclin@itri.org.tw \
    --cc=ecos-discuss@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).