From: Vladimir Prus <ghost@cs.msu.su>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [8/9] multiple locations
Date: Wed, 14 Nov 2007 19:38:00 -0000 [thread overview]
Message-ID: <200711142238.06000.ghost@cs.msu.su> (raw)
In-Reply-To: <18235.18919.959418.360780@kahikatea.snap.net.nz>
On Wednesday 14 November 2007 22:17:59 you wrote:
> >...
> > I think the right approach would be moving the check for loc->shlib_disabled
> > later, like this:
> >
> > if (b->loc == NULL)
> > ui_out_field_string (uiout, "addr", "<PENDING>");
> > else if (header_of_multiple)
> > ui_out_field_string (uiout, "addr", "<MULTIPLE>");
> > else if (loc->shlib_disabled)
> > ui_out_field_string (uiout, "addr", "<PENDING>");
> > else
> > ui_out_field_core_addr (uiout, "addr", loc->address);
> >
> > But there's also testsuite to be updated and getting somebody to
> > actually approve this patch.
>
> OK, but it looks much a smaller/simpler patch than the one you've already
> committed.
Yes, but I have better luck getting huge patches approved, than for
obvious patches, for whatever reasons.
Basically, it boils down to:
1. Using <PENDING> like above seems a good idea to try.
2. There's a bit of time involved
3. I'm short of time, and probably won't spend it until all the
patches I've sent already are reviewed ;-)
So, if you have the time now to adjust your current patch per my
comments, adjust testsuite and somebody's willing to approve
the patch -- go ahead.
> > > > But generally, trying to keeping CLI back compatible have to stop
> > > > at some time -- if we keep this "don't break CLI clients even if
> > > > CLI clients were deprecated from some time" attitude, it will result
> > > > in new features being available via MI only.
> > >
> > > Focussing on the issue at hand, we're just talking about making a minor
> > > adjustment to the format of "info breakpoints", for the case of pending
> > > breakpoints, to avoid breaking existing frontend(s).
> >
> > Not quite. We're trying to please frontend(s) using deprecated protocol.
> > However little time is spent on that, it's time not spent on other, better
> > things. Is there a reason Emacs website cannot say "Use MI support,
> > available at http://..."?
>
> The short answer is that, although I have a mode that works with MI, it is
> currently worse than the current one, which uses a mixture of MI and CLI
> commands. Even if it was as good, there would still be many people already
> using Emacs 22.1 who wouldn't be aware of the website, or willing/able to
> update Emacs from it.
Is there a way to package MI support separately, so that every existing Emacs
user can try it?
> Also MI is still evolving. It's interesting that you suggest all frontends
> should use it as the changes you have just made for breakpoints with
> multiple locations appear in the output of "info breakpoints" but not
> in that of "-break-list". So I don't see how any front end could handle
> this information through MI.
Heh, you probably know what's going on here yourself. Even though MI
was advertised as the right interface for frontend for some years, it does
not have a maintainer, or a particular development plan, and misses some bits.
And probably the only way to change the situation is to decide that MI is
the future, and actively discourage use of CLI for anything, to the degree
of immediately refusing any request mentioning CLI in relation to any frontend.
As for multiple breakpoints -- I would have being happy to provide MI
interface, and not provide CLI at all -- but I doubt that would have being
acceptable, and MI has fallen out. Again, a policy that new advanced
functionality is allowed to be available via MI only might have helped.
- Volodya
next prev parent reply other threads:[~2007-11-14 19:38 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 7:15 Nick Roberts
2007-11-13 8:05 ` Vladimir Prus
2007-11-13 8:31 ` Nick Roberts
2007-11-13 8:45 ` Vladimir Prus
2007-11-13 12:38 ` Daniel Jacobowitz
2007-11-13 19:58 ` Vladimir Prus
2007-11-14 19:21 ` Jim Blandy
2007-11-13 22:20 ` Eli Zaretskii
2007-11-13 22:47 ` Joel Brobecker
2007-11-14 6:29 ` Vladimir Prus
2007-11-14 7:06 ` Nick Roberts
2007-11-14 11:58 ` Vladimir Prus
2007-11-14 19:18 ` Nick Roberts
2007-11-14 19:37 ` Joel Brobecker
2007-11-14 19:38 ` Vladimir Prus [this message]
2007-11-14 20:42 ` Nick Roberts
2007-11-14 21:17 ` Joel Brobecker
2007-11-15 20:39 ` Vladimir Prus
2007-11-16 20:37 ` Nick Roberts
2007-11-19 2:42 ` Nick Roberts
2007-11-14 18:56 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2007-09-07 22:49 Vladimir Prus
2007-09-07 22:51 ` Vladimir Prus
2007-09-08 11:46 ` Eli Zaretskii
2007-09-08 11:55 ` Vladimir Prus
2007-09-08 12:28 ` Eli Zaretskii
2007-09-22 19:53 ` Vladimir Prus
2007-09-23 4:13 ` Eli Zaretskii
2007-09-08 13:17 ` Mark Kettenis
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=200711142238.06000.ghost@cs.msu.su \
--to=ghost@cs.msu.su \
--cc=gdb-patches@sources.redhat.com \
--cc=nickrob@snap.net.nz \
/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