From: Eli Zaretskii <eliz@gnu.org>
To: "Sérgio Durigan Júnior" <sergiodj@linux.vnet.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC 1/3] catch syscall -- try 6 -- Source-code modifications
Date: Sat, 05 Sep 2009 07:24:00 -0000 [thread overview]
Message-ID: <83ocpp501z.fsf@gnu.org> (raw)
In-Reply-To: <200909041600.47670.sergiodj@linux.vnet.ibm.com>
> +/* Syscall catch. NEEDED is nonzero if any syscall catch (of any
> + kind) is requested. ANY_COUNT is nonzero if a generic
> + (filter-less) syscall catch is being requested. TABLE is an array
> + of ints, indexed by syscall number. An element in this array is
> + nonzero if that syscall should be caught. TABLE_SIZE is the number
> + of elements in TABLE. */
> +
> +#define target_set_syscall_catchpoint(pid, needed, any_count, table_size, table) \
> + (*current_target.to_set_syscall_catchpoint) (pid, needed, any_count, \
> + table_size, table)
> +
Could you perhaps expand the comment a bit more? For example, what
should the target do if NEEDED is zero? Also, I understand that
ANY_COUNT nonzero means TABLE should be ignored, is that right?
IOW, imagine that someone is to implement this method, and try to give
any information necessary to write the code.
Thanks.
next prev parent reply other threads:[~2009-09-05 7:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-04 19:01 Sérgio Durigan Júnior
2009-09-05 7:20 ` Eli Zaretskii
2009-09-05 7:24 ` Eli Zaretskii [this message]
2009-09-10 22:42 ` Sérgio Durigan Júnior
2009-09-11 8:09 ` Eli Zaretskii
2009-09-12 0:28 ` Sérgio Durigan Júnior
2009-09-12 8:20 ` Eli Zaretskii
2009-09-12 17:15 ` Sérgio Durigan Júnior
2009-09-13 17:18 ` Sérgio Durigan Júnior
2009-09-15 3:55 ` Sérgio Durigan Júnior
2009-09-15 4:13 ` Joel Brobecker
2009-09-15 4:30 ` Sérgio Durigan Júnior
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=83ocpp501z.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=sergiodj@linux.vnet.ibm.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