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: RFA: NEWS update


> From: Tom Tromey <tromey@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Tue, 17 Aug 2010 12:33:31 -0600
> 
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
> 
> Eli> Can the entry elaborate a bit more about this?  I'm afraid I was
> Eli> unable to understand what will the improvement mean to me as a C++
> Eli> programmer.  "Puts template parameter in scope" is somewhat cryptic,
> Eli> IMO.
> 
> Sure.  How about this?

Perfect.  Thanks.

> +   ** GDB now puts template parameters in scope when debugging in an
> +      instantiation.  For example, if you have:
> + 
> +      template<int X> int func (void) { return X; }
> + 
> +      Then if you step into func<5>, "print X" will show "5".  This
         ^^^^
This "then" should not be capitalized, as it doesn't really begin a
sentence.


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