From: Dave Cleal <dave@cleal.com>
To: "Alain Magloire" <alain@qnx.com>
Cc: gdb@sources.redhat.com
Subject: Re[4]: Can't talk to Angel debug monitor from arm-elf-gdb
Date: Fri, 12 Nov 2004 16:25:00 -0000 [thread overview]
Message-ID: <192758551.20041112153129@cleal.com> (raw)
In-Reply-To: <200411120401.XAA23780@smtp.ott.qnx.com>
Alain,
sounds correct: and my copy of Eclipse (v3.0.1) has code to do exactly
what you say in the GDBServer case. However, I'm working with GDB
talking to the Redboot debug monitor down a serial port, so actually,
GDBServer is not involved. I've written a patch which essentially
treats this case like the GDBServer case, which I'll submit to the CDT
project in due course.
-- Dave
>>
>> 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.
next prev parent reply other threads:[~2004-11-12 15:30 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
2004-11-12 16:25 ` Dave Cleal [this message]
2004-11-12 18:47 ` Re[4]: " 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=192758551.20041112153129@cleal.com \
--to=dave@cleal.com \
--cc=alain@qnx.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