public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Bernhard Walle <bernhard.walle@gmx.de>
Cc: "insight@sources.redhat.com" <insight@sources.redhat.com>
Subject: Re: Problem with Remote/Serial in Insight
Date: Wed, 15 Dec 2004 18:34:00 -0000	[thread overview]
Message-ID: <1103135630.2779.17.camel@lindt.uglyboxes.com> (raw)
In-Reply-To: <cppu9k$j4d$1@sea.gmane.org>

On Wed, 2004-12-15 at 10:03, Bernhard Walle wrote:
> > Okay, so now what's the next step to start the stub executing?
> 
> Simply for example "break 23" and then "cont". I think that's the 
> normale way stubs work.

Aha! That's what I've been waiting to hear. Yes, that is exactly right:
the "normal" process for a stub is to set baud (if using serial),
attach, load (optional), and continue -- NOT run.

This is why I was so baffled when you said that your target preferences
had "attach" and "run" and not "attach" and "continue". In fact, the
reason the Target Settings dialog keeps reappearing is because of the
"Run" option set in your target settings. From the log you sent me:

I global gdbtk_attach_remote Attaching....
I global set_target {CONNECTING TO TARGET: remote /dev/ttyS14 }
I global run_executable {Setting new BP at main}
I global run_executable {Runnning target...}
W global run_executable {msg=Don't know how to run.  Try "help target".
}
I ManagedWin _open {TargetSelection -exportcancel 1 -center -transient}

From this, I conclude that it attached to the target (remote
/dev/ttyS14), set a break at main, and attempted to RUN the target
(i.e., gdb's "run" command). This elicited an error ('Don't know how to
run. Try "help target".'), which caused the target selection dialog to
open again.

If you are having other problems while specifying "continue", then
that's a different problem that we need to address.

Keith

  reply	other threads:[~2004-12-15 18:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-10 23:30 Bernhard Walle
2004-12-14  0:01 ` Bernhard Walle
2004-12-14  0:08 ` Keith Seitz
2004-12-14 10:53   ` Bernhard Walle
2004-12-14 17:15     ` Keith Seitz
2004-12-14 18:23       ` Bernhard Walle
2004-12-14 18:33         ` Keith Seitz
2004-12-14 18:41           ` Bernhard Walle
2004-12-14 20:16             ` Keith Seitz
2004-12-14 20:43               ` Bernhard Walle
2004-12-14 20:52                 ` Keith Seitz
2004-12-14 20:56                   ` Bernhard Walle
2004-12-14 21:03                     ` Keith Seitz
2004-12-14 21:08                       ` Bernhard Walle
2004-12-14 21:13                         ` Keith Seitz
2004-12-14 21:29                           ` Bernhard Walle
2004-12-15 17:19                             ` Keith Seitz
2004-12-15 18:04                               ` Bernhard Walle
2004-12-15 18:34                                 ` Keith Seitz [this message]
2004-12-15 23:41                                   ` Bernhard Walle

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=1103135630.2779.17.camel@lindt.uglyboxes.com \
    --to=keiths@redhat.com \
    --cc=bernhard.walle@gmx.de \
    --cc=insight@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).