This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] physname regression: Non-matching type false breakpoint
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: jan dot kratochvil at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 5 Jun 2011 17:57:31 +0200 (CEST)
- Subject: Re: [patch] physname regression: Non-matching type false breakpoint
- References: <20110605153419.GA14873@host1.jankratochvil.net>
> Date: Sun, 5 Jun 2011 17:34:19 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> +++ b/gdb/linespec.c
> @@ -1732,7 +1732,10 @@ find_method (int funfirstline, struct linespec_result *canonical,
> i1 = find_methods (t, copy, SYMBOL_LANGUAGE (sym_class), sym_arr,
> file_symtab);
>
> - if (i1 == 1)
> + /* The strchr check is there if any types were specified verify the single
> + found found parameter types really match those specified by user in COPY.
> + */
That lone */ looks weird.