This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] physname regression: Non-matching type false breakpoint


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]