From: Keith Seitz <keiths@redhat.com>
To: Nik Shaylor <ns@c7.org>
Cc: insight@sourceware.org
Subject: Re: How to connect to running program via a serial port
Date: Mon, 14 Aug 2006 20:41:00 -0000 [thread overview]
Message-ID: <44E0DFD8.5010208@redhat.com> (raw)
In-Reply-To: <20934fa50608141335y47525743mf862679fe1861118@mail.gmail.com>
Nik Shaylor wrote:
> So with gdb I just type:
>
> target remote /dev/ttyS0
>
> and I can start debugging the, already running, program via the serial
> port.
>
> When I start Insight it thinks nothing is running and the only button
> that works us the "Run" command. How can I start Insight ina mode
> where it will thinks the program is already running?
You have two options:
1) Open a console window and type your gdb command in
2) Open File->Target Settings..., and select "Remote/Serial", enter buad
rate, com port. Use Run menu to attach to target. That should be all you
need.
[The Run button is a little more elaborate. In the target settings
dialog, you can specify what the run button does by clicking "More
options". Currently the run button will ALWAYS either "run" or
"continue" the target.]
Keith
next prev parent reply other threads:[~2006-08-14 20:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-14 20:35 Nik Shaylor
2006-08-14 20:41 ` Keith Seitz [this message]
2006-08-14 21:01 ` Nik Shaylor
2006-08-14 21:04 ` Keith Seitz
[not found] ` <20934fa50608141410g6ad3fbeep98905eaf34335c75@mail.gmail.com>
2006-08-14 22:19 ` Keith Seitz
[not found] ` <20934fa50608141533g36faf06aq8e724c256495eb69@mail.gmail.com>
2006-08-14 22:41 ` Keith Seitz
2006-08-15 1:39 ` Dave Korn
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=44E0DFD8.5010208@redhat.com \
--to=keiths@redhat.com \
--cc=insight@sourceware.org \
--cc=ns@c7.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 read-only IMAP folder(s) and NNTP newsgroup(s).