From: Nick Roberts <nickrob@snap.net.nz>
To: Vladimir Prus <ghost@cs.msu.su>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Avoid breakpoint query in MI
Date: Thu, 17 Apr 2008 21:25:00 -0000 [thread overview]
Message-ID: <18439.49189.568452.141569@kahikatea.snap.net.nz> (raw)
In-Reply-To: <E1JmX4M-0003z4-Qn@zigzag.lvk.cs.msu.su>
> > extern void current_interp_command_loop (void);
> > /* Returns opaque data associated with the top-level interpreter. */
> > extern void *top_level_interpreter_data (void);
> > + extern void *interp_top_level (void);
>
> Please name this top_level_interpreter. Also, the return type
> should be "struct interp*". In fact, I have a not-yet-submitted
> patches which does just that :-)
OK.
> > *************** See set/show multiple-symbol."));
> > *** 524,530 ****
> >
> > /* If select_mode is "all", then do not print the multiple-choice
> > menu and act as if the user had chosen choice "1" (all). */
> > ! if (select_mode == multiple_symbols_all)
> > args = "1";
> > else
> > {
> > --- 526,533 ----
> >
> > /* If select_mode is "all", then do not print the multiple-choice
> > menu and act as if the user had chosen choice "1" (all). */
> > ! if (select_mode == multiple_symbols_all
> > ! || ui_out_is_mi_like_p (interp_ui_out (interp_top_level ())))
> > args = "1";
> > else
> > {
>
> I think that adding breakpoints on all symbols is better than silently
> grabbing random symbol, so the above seems fine to me. Can somebody approve
> the linespec.c bit?
I'm not sure I understand. When multiple-symbols is 'all' (the default) there
is no problem. When it's 'ask', it currently queries which we don't want to
happen in MI.
This appears to me to be an MI only change and within your domain. I don't
think authority is devolved on a file by file basis, although clearly I'm
not qualified to make such remarks.
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2008-04-17 21:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 15:12 Nick Roberts
2008-04-17 16:42 ` Vladimir Prus
2008-04-17 21:25 ` Nick Roberts [this message]
[not found] ` <200804180153.32013.ghost@cs.msu.su>
2008-04-19 14:12 ` Nick Roberts
2008-04-19 17:07 ` Daniel Jacobowitz
2008-04-20 7:20 ` Nick Roberts
2008-04-21 7:10 ` Eli Zaretskii
2008-04-17 23:02 ` Nick Roberts
2008-04-19 0:10 ` Vladimir Prus
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=18439.49189.568452.141569@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=gdb-patches@sources.redhat.com \
--cc=ghost@cs.msu.su \
/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