public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Metzger, Markus T" <markus.t.metzger@intel.com>
To: Simon Marchi <simon.marchi@ericsson.com>,
	Simon Marchi	<simon.marchi@polymtl.ca>,
	"gdb-patches@sourceware.org"	<gdb-patches@sourceware.org>
Subject: RE: [PATCH] Replace VEC(gdb_xml_value_s) with std::vector
Date: Fri, 08 Dec 2017 08:04:00 -0000	[thread overview]
Message-ID: <A78C989F6D9628469189715575E55B2369620F57@IRSMSX104.ger.corp.intel.com> (raw)
In-Reply-To: <9142baa8-d50b-1b14-3809-20adbb0b5488@ericsson.com>

> -----Original Message-----
> From: Simon Marchi [mailto:simon.marchi@ericsson.com]
> Sent: 07 December 2017 19:50
> To: Metzger, Markus T <markus.t.metzger@intel.com>; Simon Marchi
> <simon.marchi@polymtl.ca>; gdb-patches@sourceware.org
> Subject: Re: [PATCH] Replace VEC(gdb_xml_value_s) with std::vector

Hello Simon,

> In your quote, there appears to be two added lines (two +):
> 
> > -    = (const char *) xml_find_attribute (attributes, "version")->value;
> > +    = (const char *) xml_find_attribute (attributes,
> > + "version")->value.get ();
> 
> But in my patch it's all on the same line.  I am confused.

That's what I meant with odd.  Looks like some extra line breaks.

> 
> > @@ -2040,8 +2042,8 @@ parse_xml_btrace_block (struct gdb_xml_parser
> *parser,
> >        gdb_xml_error (parser, _("Btrace format error."));
> >      }
> >
> > -  begin = (ULONGEST *) xml_find_attribute (attributes,
> > "begin")->value;
> > -  end = (ULONGEST *) xml_find_attribute (attributes, "end")->value;
> > +  begin = (ULONGEST *) xml_find_attribute (attributes,
> > + "begin")->value.get ();  end = (ULONGEST *) xml_find_attribute
> > + (attributes, "end")->value.get ();

And here, the line break after ';' seems to have been removed.

Thanks,
Markus.

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

  reply	other threads:[~2017-12-08  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-02 16:50 Simon Marchi
2017-12-07 14:49 ` Metzger, Markus T
2017-12-07 18:50   ` Simon Marchi
2017-12-08  8:04     ` Metzger, Markus T [this message]
2017-12-08  8:19       ` Simon Marchi
2017-12-08  8:26         ` Metzger, Markus T
2018-01-07 15:46 ` Simon Marchi

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=A78C989F6D9628469189715575E55B2369620F57@IRSMSX104.ger.corp.intel.com \
    --to=markus.t.metzger@intel.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.marchi@ericsson.com \
    --cc=simon.marchi@polymtl.ca \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).