Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Gabriel Krisman Bertazi <gabriel@krisman.be>
To: Doug Evans <dje@google.com>
Cc: gdb-patches@sourceware.org,  palves@redhat.com,  sergiodj@redhat.com
Subject: Re: [PATCH v5 1/5] Implemement support for groups of syscalls in the xml-syscall interface.
Date: Wed, 18 May 2016 02:34:00 -0000	[thread overview]
Message-ID: <87lh38qel4.fsf@oberon.home> (raw)
In-Reply-To: <94eb2c124024cac63305330c515e@google.com> (Doug Evans's message	of "Tue, 17 May 2016 16:34:48 +0000")

[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

Doug Evans <dje@google.com> writes:

Hi Doug, thanks for your review.  I'm fixing the things you pointed out
and should submit a new version tomorrow.

>  > diff --git a/gdb/syscalls/gdb-syscalls.dtd
> b/gdb/syscalls/gdb-syscalls.dtd
>  > index 3deda12..de47d4d 100644
>  > --- a/gdb/syscalls/gdb-syscalls.dtd
>  > +++ b/gdb/syscalls/gdb-syscalls.dtd
>  > @@ -11,4 +11,5 @@
>  >  <!ELEMENT syscall		EMPTY>
>  >  <!ATTLIST syscall
>  >  	name			CDATA	#REQUIRED
>  > -	number			CDATA	#REQUIRED>
>  > +	number			CDATA	#REQUIRED
>  > +	groups			CDATA	#IMPLIED>
>
> I'm assuming "IMPLIED" is ok here, I don't actually know.

According to the xml spec, there are two possible 'ID Attribute Default'
values for an element: #REQUIRED and #IMPLIED. The spec says:

"In an attribute declaration, #REQUIRED means that the attribute MUST
always be provided, #IMPLIED that no default value is provided."

Which makes me think that #IMPLIED is the correct value for this field.

-- 
Gabriel Krisman Bertazi

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2016-05-18  2:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-17 16:34 Doug Evans
2016-05-18  2:34 ` Gabriel Krisman Bertazi [this message]
2016-05-18 16:10   ` Doug Evans
  -- strict thread matches above, loose matches on Subject: below --
2016-05-15 20:32 [PATCH v5 0/5] Catch syscall groups Gabriel Krisman Bertazi
2016-05-15 20:32 ` [PATCH v5 1/5] Implemement support for groups of syscalls in the xml-syscall interface Gabriel Krisman Bertazi

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=87lh38qel4.fsf@oberon.home \
    --to=gabriel@krisman.be \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    --cc=sergiodj@redhat.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