From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFC] Support exec tracing on GNU/Linux and HP-UX
Date: Mon, 22 Oct 2007 19:30:00 -0000 [thread overview]
Message-ID: <20071022185627.GH764@adacore.com> (raw)
In-Reply-To: <20071022184702.GG764@adacore.com>
> It makes sense to do the same on HP/UX as well. It shouldn't be
> very difficult, and I have a 30min window right now, so I'll give
> it a shot.
Actually, not so simple, because the EXEC event counts as
one of the 2 events we expect during the startup phase. So the EXEC
events must be activated at startup-time. The only option I can see
at this point is to add a static global that is set during the startup
phase, and would then cause the EXEC event to be translated into a
SIGTRAP vulgaris when set. Another approach would be to have infrun
treat EXEC events as SIGTRAPs during the startup phase. I don't think
the second option is easier to implement (infrun needs to find out
whether we're in the middle of startup or not, and then we need to
redirect EXEC events into SIGTRAP events). What do you think of
option 1?
--
Joel
next prev parent reply other threads:[~2007-10-22 18:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-19 19:49 Daniel Jacobowitz
2007-10-22 6:01 ` Joel Brobecker
2007-10-22 12:09 ` Daniel Jacobowitz
2007-10-22 18:56 ` Joel Brobecker
2007-10-22 19:30 ` Joel Brobecker [this message]
2007-10-22 20:01 ` Daniel Jacobowitz
2007-12-21 16:04 ` Joel Brobecker
2007-12-21 16:13 ` Joel Brobecker
2008-01-29 17:09 ` Daniel Jacobowitz
2008-01-29 21:26 ` Joel Brobecker
2008-01-29 21:48 ` Daniel Jacobowitz
2008-01-29 21:48 ` Joel Brobecker
2008-01-29 22:17 ` Daniel Jacobowitz
2008-01-29 22:54 ` Daniel Jacobowitz
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=20071022185627.GH764@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