RFC: fix PR 12707

Pedro Alves palves@redhat.com
Tue Jan 15 15:12:00 GMT 2013


No comments on the patch itself.

On 01/14/2013 07:31 PM, Tom Tromey wrote:
>  # A list of minimal symbol names to check.
> -# Note that GDB<char>::even_harder<int>(char) is quoted and includes
> -# the return type.  This is necessary because this is the demangled name
> -# of the minimal symbol.
> +# Note that GDB<char>::even_harder<int>(char) is quoted.

This caught my eye though.  Is there still a reason for the quoting?
(I don't think I understood the original comment's reasoning
fully either.)

>  set min_syms [list \
>  		  "GDB<int>::operator ==" \
>  		  "GDB<int>::operator==(GDB<int> const&)" \
>  		  "GDB<char>::harder(char)" \
>  		  "GDB<int>::harder(int)" \
> -		  {"int GDB<char>::even_harder<int>(char)"} \
> +		  {"GDB<char>::even_harder<int>(char)"} \
>  		  "GDB<int>::simple()"]

-- 
Pedro Alves



More information about the Gdb-patches mailing list