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]

C++, "too few arguments in function call" error?


Hi all,

I'm using GDB 6.1 on Mac OS X to debug a C++ program. Occasionally, when I try to call an object's member function I get this error:

(gdb) p set1.begin()
too few arguments in function call

In this case "set1" is an STL std::set, but I get the same message sometimes with my own classes. Has anyone seen this before, or know what's going on, or a way around it?

thanks,

Rob



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