From: Keith Seitz <keiths@redhat.com>
To: Geert Vancompernolle <geert.vancompernolle@gmail.com>
Cc: Insight Foum <insight@sourceware.org>
Subject: Re: Run an external command prior to running the debugger
Date: Sun, 17 Feb 2008 19:47:00 -0000 [thread overview]
Message-ID: <47B88F10.6060804@redhat.com> (raw)
In-Reply-To: <47B8789E.1010900@gmail.com>
Geert Vancompernolle wrote:
> 1. start Insight
> 2. start gdbserver on the target
> 3. type "R" to run the software on the debugger.
>
> Is step 2 possible from within Insight? In other words: can I extend
> the Insight command "R" such that it first launches the gdbserver on the
> target and only then launches the debug session?
Sort of, yes. It's kind of hacky, and I'm not entirely sure how well it
will work, but there is an "After Attaching" preference in the Target
Settings dialog (click the "More Options" widget-thingy). This will run
any gdb command after attaching to the target. You could add something
to use gdb's "shell" command to spawn your gdbserver.
But like I said, I'm not sure how well that will work (or if it will
work). My guess it has bitrotted...
Keith
prev parent reply other threads:[~2008-02-17 19:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-17 18:10 Geert Vancompernolle
2008-02-17 19:47 ` Keith Seitz [this message]
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=47B88F10.6060804@redhat.com \
--to=keiths@redhat.com \
--cc=geert.vancompernolle@gmail.com \
--cc=insight@sourceware.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).