Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Alain Magloire" <alain@qnx.com>
To: dave@cleal.com
Cc: gdb@sources.redhat.com
Subject: Re: Re[2]: Can't talk to Angel debug monitor from arm-elf-gdb
Date: Fri, 12 Nov 2004 13:28:00 -0000	[thread overview]
Message-ID: <200411120401.XAA23780@smtp.ott.qnx.com> (raw)
In-Reply-To: <85244836.20041111225858@cleal.com> from "Dave Cleal" at Nov 11, 2004 10:58:58 PM

> 
> Last time I'm going to do this. Just in case anyone else ever needs
> to know, this now all works. The trick is to patch CDT (the Eclipse
> plugin for C/C++ development) to recognise when you're connected via a
> serial port, and to have it start the program with a "continue"
> command not a "run" command. Everything thereafter works.
> 

There was indeed a bug when using gdbserver, the state of the frontend
was incorrect, it should have consider the inferior "suspended" so to use
"continue" instead  "run"  since the inferior was already `loaded'.

Maybe MI commands like,
-target-select
-target-attach

should return an extra exec-async:

*stopped

Even if, like the case of -target-select there is no frame yet.
It would notify to the frontends that the inferior was loaded.


  reply	other threads:[~2004-11-12  4:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 15:01 Dave Cleal
2004-10-23 15:04 ` Dave Korn
2004-10-29 15:23 ` Dave Cleal
2004-11-12  2:16   ` Re[2]: " Dave Cleal
2004-11-12 13:28     ` Alain Magloire [this message]
2004-11-12 16:25       ` Re[4]: " Dave Cleal
2004-11-12 18:47         ` Alain Magloire

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=200411120401.XAA23780@smtp.ott.qnx.com \
    --to=alain@qnx.com \
    --cc=dave@cleal.com \
    --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