This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: patch to fix multi-breakpoint enable/disable handling of inline functions
- From: "Douglas Evans" <dje at google dot com>
- To: "Vladimir Prus" <ghost at cs dot msu dot su>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 14 Nov 2007 14:49:33 -0800
- Subject: Re: RFA: patch to fix multi-breakpoint enable/disable handling of inline functions
- References: <20071016001816.F059B1C7E69@localhost> <e394668d0710221422p72db9576j3f48b649215acb6d@mail.gmail.com> <fhd3rl$ufe$1@ger.gmane.org> <e394668d0711141425k6d5754abk4c27773cec419b05@mail.gmail.com>
On Nov 14, 2007 2:25 PM, Douglas Evans <dje@google.com> wrote:
> Like the original comment to the function says, it wasn't written to
> handle multiple different names. An alternative to two loops is to
> store all the names in a set and then see if the set has more than one
> member.
Blech. Bad-Wording-R-Us (TM). What I really meant of course was to
see if any member had more than one occurrence. E.g. While adding
names checking if it's already there.