From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA] Linespec tweak (was: Re: [RFA take 3] Allow setting breakpoints on inline functions (PR 10738))
Date: Mon, 30 Jan 2012 14:31:00 -0000 [thread overview]
Message-ID: <20120130141612.GA25851@host2.jankratochvil.net> (raw)
In-Reply-To: <20120130140339.GB5210@redhat.com>
On Mon, 30 Jan 2012 15:03:39 +0100, Gary Benson wrote:
> Attached. I also commented the return values of another callback used
> internally by iterate_over_all_matching_symtabs, at the very top of
> the patch.
>
> Ok to commit?
Sorry I wrongly replied on IRC, that symbol_found_callback_ftype should be
used also for struct language_defn->la_iterate_over_symbols and
ada_iterate_over_symbols, this was why I found it useful.
> +/* Callback for iterate_over_all_matching_symtabs. The callback
> + will be called once per matching symbol SYM, with DATA being
> + the argument of the same name that was passed to
> + iterate_over_all_matching_symtabs. The callback should return
No reference to iterate_over_all_matching_symtabs anymore here, it is used at
more places now.
> + nonzero to indicate that iterate_over_all_matching_symtabs should
> + continue iterating, or zero to indicate that the iteration should
> + end. */
[...]
> if (SYMBOL_CLASS (sym) != LOC_TYPEDEF)
> - return 1;
> + return 1; /* Continue iterating. */
Should be:
return 1; /* Continue iterating. */
On multiple places.
Otherwise fine with me.
Thanks,
Jan
next prev parent reply other threads:[~2012-01-30 14:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-27 15:16 [RFA take 3] Allow setting breakpoints on inline functions (PR 10738) Gary Benson
[not found] ` <20120128001638.GA4448@host2.jankratochvil.net>
2012-01-28 18:16 ` [RFA take 3] Allow setting breakpoints on inline functions (PR 10738) [repost] Jan Kratochvil
2012-01-30 14:16 ` [RFA] Linespec tweak (was: Re: [RFA take 3] Allow setting breakpoints on inline functions (PR 10738)) Gary Benson
2012-01-30 14:31 ` Jan Kratochvil [this message]
2012-01-30 14:57 ` Gary Benson
2012-01-30 14:58 ` Jan Kratochvil
2012-01-30 15:05 ` [RFA take 2] " Gary Benson
2012-01-30 16:22 ` Jan Kratochvil
2012-02-01 16:14 ` [commit] " Gary Benson
2012-02-02 16:51 ` [RFA take 3] Allow setting breakpoints on inline functions (PR 10738) [repost] Gary Benson
2012-01-30 14:04 ` [RFA take 3] Allow setting breakpoints on inline functions (PR 10738) Jan Kratochvil
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=20120130141612.GA25851@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@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