This is the mail archive of the gdb@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: C++, "too few arguments in function call" error?


On 17 March 2006 18:28, rob@encodia.biz wrote:


> That does work sometimes.  But if the class is a template, or if the
> method is overloaded, I can't do it, or I have to type way too much,

  You do know about gdb doing tab-completion, yes?  It doesn't always help but
I just thought I'd ask...

> (gdb) p set<xml::XmlNode*, std::less<xml::XmlNode*>,
> std::allocator<xml::XmlNode*> >::begin(&set1)
> $1 = {
>    _M_node = 0x3008c0
> }
> 
> That works, but it's horrible.

  Less so with completion.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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