Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: Gabriel Krisman Bertazi <gabriel@krisman.be>
Cc: gdb-patches <gdb-patches@sourceware.org>,
	Pedro Alves <palves@redhat.com>,
		Sergio Durigan Junior <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 16:10:00 -0000	[thread overview]
Message-ID: <CADPb22R6VFzhw3h7oNKSoiRx9fOvpJxYWN+se=V-bR9X9BX9ZQ@mail.gmail.com> (raw)
In-Reply-To: <87lh38qel4.fsf@oberon.home>

On Tue, May 17, 2016 at 7:34 PM, Gabriel Krisman Bertazi
<gabriel@krisman.be> wrote:
> 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.

Fine by me.
Thanks.


  reply	other threads:[~2016-05-18 16:10 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
2016-05-18 16:10   ` Doug Evans [this message]
  -- 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='CADPb22R6VFzhw3h7oNKSoiRx9fOvpJxYWN+se=V-bR9X9BX9ZQ@mail.gmail.com' \
    --to=dje@google.com \
    --cc=gabriel@krisman.be \
    --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