Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb@sourceware.org
Subject: Re: MI: changing breakpoint location
Date: Thu, 16 Mar 2006 17:11:00 -0000	[thread overview]
Message-ID: <20060316164449.GA14811@nevyn.them.org> (raw)
In-Reply-To: <dvc4ce$vqi$1@sea.gmane.org>

On Thu, Mar 16, 2006 at 07:39:42PM +0300, Vladimir Prus wrote:
> >> > Almost all of the work of the "break" command is figuring out where the
> >> > breakpoint should go.  I don't see an advantage in having more commands
> >> > that need to be able to work that out.
> >> 
> >> Can't that logic be factored out into a function?
> > 
> > Of course, it already is.  But that's not the point; I don't want a
> > proliferation of commands with similar functionality, when they aren't
> > needed.  The larger the MI interface grows, the harder it is to test
> > and maintain.
> 
> I think there's a tradeoff here -- in this specific case, all frontend
> authors will have to implement the same functionality, likely with bugs. If
> this is done right once in gdb, all frontends will work correctly.
> 
> Of course, frontend maintainers and gdb maintainers are different groups, so
> if you mean adding this to gdb will move work from frontend maintainers to
> gdb maintainers and you don't like that idea, I understand. Or you object
> to the idea even if it will backed up by a patch eventually?

It's not implementing it in GDB that's a problem.  As I said above,
it's maintaining it and testing it forevermore.  That's why I want to
keep the MI interface well defined and as small as possible (but no
smaller).

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-03-16 16:46 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-16 15:43 Vladimir Prus
2006-03-16 15:48 ` Bob Rossi
2006-03-16 16:05   ` Vladimir Prus
2006-03-16 16:12 ` Daniel Jacobowitz
2006-03-16 16:16   ` Vladimir Prus
2006-03-16 16:40     ` Daniel Jacobowitz
2006-03-16 16:46       ` Vladimir Prus
2006-03-16 17:11         ` Daniel Jacobowitz [this message]
2006-03-17 10:46           ` Vladimir Prus
2006-03-17 18:28             ` Daniel Jacobowitz
2006-03-17 17:43               ` Daniel Jacobowitz
2006-03-17 11:03       ` Eli Zaretskii
2006-03-17 10:57   ` Eli Zaretskii
2006-03-16 23:12 ` Nick Roberts
2006-03-16 23:23   ` Daniel Jacobowitz
2006-03-16 23:25     ` David Daney
2006-03-16 23:54       ` Daniel Jacobowitz
2006-03-17 13:20         ` Eli Zaretskii
2006-03-17 17:34           ` Daniel Jacobowitz
2006-03-18 18:46             ` Eli Zaretskii
2006-03-16 23:56       ` Nick Roberts
2006-03-17 10:55     ` Vladimir Prus
2006-03-17 11:42     ` Eli Zaretskii
2006-03-17  0:04   ` Daniel Jacobowitz
2006-03-17  0:23     ` Joel Brobecker
2006-03-17  3:57       ` Jim Ingham
2006-03-17 11:40   ` Eli Zaretskii

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=20060316164449.GA14811@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    /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