Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Marc Khouzam <marc.khouzam@ericsson.com>
To: "'André Pönitz'" <andre.poenitz@mathematik.tu-chemnitz.de>
Cc: 'Mircea Gherzan' <mircea.gherzan@intel.com>,
	"'tromey@redhat.com'"	<tromey@redhat.com>,
	"'vladimir@codesourcery.com'"	<vladimir@codesourcery.com>,
	"'gdb-patches@sourceware.org'"	<gdb-patches@sourceware.org>
Subject: RE: [RFC] Fix the MI result of -break-insert with multiple locations
Date: Wed, 30 Jan 2013 16:27:00 -0000	[thread overview]
Message-ID: <E59706EF8DB1D147B15BECA3322E4BDC097C66@eusaamb103.ericsson.se> (raw)
In-Reply-To: <20130129221333.GA5941@klara.mpi.htwm.de>


> -----Original Message-----
> From: apoe@hrz.tu-chemnitz.de 
> [mailto:apoe@hrz.tu-chemnitz.de] On Behalf Of André Pönitz
> Sent: Tuesday, January 29, 2013 5:14 PM
> To: Marc Khouzam
> Cc: 'Mircea Gherzan'; 'tromey@redhat.com'; 
> 'vladimir@codesourcery.com'; 'gdb-patches@sourceware.org'
> Subject: Re: [RFC] Fix the MI result of -break-insert with 
> multiple locations
> 
> On Tue, Jan 29, 2013 at 08:42:39PM +0000, Marc Khouzam wrote:
> > > This seems more like an additional burden for frontends 
> which cannot
> > > rely on a specific gdb version being installed as they 
> have to keep
> > > code to parse both results, for years.
> > 
> > Although that is a good point, keeping it forces frontends to deal
> > with that case.
> 
> I don't think it needs special "dealing" as I assume that existing 
> frontend parsers are just robust enough to accept such cases.

I don't believe eclipse can handle the current output as it stands,
not in the reply to -break-insert at least.  The code expects
a single breakpoint tuple, so we'll need to change things either way.

I'm not saying that is a good enough reason to change the output :)
I'm just mentioning that some frontends can't handle this already.


> Changing the nesting of structures on the other hand usually
> needs adjustment to the interpretation of the parsed structure.
> 
> I am not scared of adding yet another ten lines to find out which
> kind of output the user's choice of GDB produces and to handle
> both versions, I just find it not particular convenient. 
> 
> Andre'
> 
> PS: This point remains:
> 
> > > An alternative approach would be to just make the
> > > documentation match the actual output. This is not
> > > unprecedented.
> 
> PPS: In theory "-list-features" could be used to announce output
> changes to avoid the "guessing" phase.
> 
> 


      reply	other threads:[~2013-01-30 16:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 14:36 Mircea Gherzan
2013-01-29 15:39 ` Marc Khouzam
2013-01-29 15:52   ` Mircea Gherzan
2013-01-29 16:04     ` Marc Khouzam
2013-01-29 16:26       ` Vladimir Prus
2013-01-29 19:28         ` Mircea Gherzan
2013-01-29 20:36           ` Vladimir Prus
2013-01-29 20:55             ` Mircea Gherzan
2013-01-29 19:45 ` André Pönitz
2013-01-29 20:42   ` Marc Khouzam
2013-01-29 22:14     ` André Pönitz
2013-01-30 16:27       ` Marc Khouzam [this message]

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=E59706EF8DB1D147B15BECA3322E4BDC097C66@eusaamb103.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=andre.poenitz@mathematik.tu-chemnitz.de \
    --cc=gdb-patches@sourceware.org \
    --cc=mircea.gherzan@intel.com \
    --cc=tromey@redhat.com \
    --cc=vladimir@codesourcery.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