From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: RFC: Allow a wrapper when starting programs
Date: Tue, 12 Feb 2008 19:46:00 -0000 [thread overview]
Message-ID: <20080212194637.GA4439@adacore.com> (raw)
In-Reply-To: <20080208185727.GA30185@caradoc.them.org>
> 2008-02-08 Daniel Jacobowitz <dan@codesourcery.com>
>
> * Makefile.in (fork-child.o): Update.
> * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper
> argument. Gather all gdbserver features together.
> * fork-child.c (exec_wrapper): New variable.
> (fork_inferior): Use it.
> (startup_inferior): Skip an extra trap if using "set exec-wrapper".
> (unset_exec_wrapper_command, _initialize_fork_child): New.
>
> * gdb.texinfo (Starting): Document "set exec-wrapper".
> (Server): Document gdbserver --wrapper.
>
> * server.c (wrapper_argv): New.
> (start_inferior): Handle wrapper_argv. If set, expect an extra
> trap.
> (gdbserver_usage): Document --wrapper.
> (main): Parse --wrapper.
FWIW, I took a look a the GDB code side of it, and it looks good
(my knowledge of gdbserver is very very partial, though).
I think this is a very nice feature!
--
Joel
prev parent reply other threads:[~2008-02-12 19:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 18:57 Daniel Jacobowitz
2008-02-09 8:48 ` Eli Zaretskii
2008-02-09 15:48 ` Daniel Jacobowitz
2008-02-09 16:41 ` Eli Zaretskii
2008-02-09 16:53 ` Daniel Jacobowitz
2008-02-09 19:20 ` Doug Evans
2008-02-10 1:15 ` Daniel Jacobowitz
2008-02-11 16:14 ` Daniel Jacobowitz
2008-02-11 19:45 ` Daniel Jacobowitz
2008-02-11 20:30 ` Eli Zaretskii
2008-03-10 23:14 ` Daniel Jacobowitz
2008-02-12 19:46 ` Joel Brobecker [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=20080212194637.GA4439@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@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