This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: feature idea: type-only convenience variables


>>>>> "Roland" == Roland McGrath <roland@redhat.com> writes:

Roland> (gdb) p typeof(foo)

Eventually we'll implement whatever C++0X does here, plus maybe the
gcc typeof extension.  I think that is needed for casts.

Roland> (gdb) b template.hh:27 if arg==3 && typeof(*this)==typeof($92)

If you have an immediate need you could make something work using
python convenience functions.

Tom


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