From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24679 invoked by alias); 17 Mar 2006 11:03:24 -0000 Received: (qmail 24652 invoked by uid 22791); 17 Mar 2006 11:03:21 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO SERRANO.CAM.ARTIMI.COM) (217.40.213.68) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Mar 2006 11:03:20 +0000 Received: from rainbow ([192.168.1.165]) by SERRANO.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Mar 2006 11:03:12 +0000 From: "Dave Korn" To: , Subject: RE: C++, "too few arguments in function call" error? Date: Fri, 17 Mar 2006 11:37:00 -0000 Message-ID: <006d01c649b2$6171c490$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00119.txt.bz2 On 17 March 2006 03:57, rob@encodia.biz wrote: > 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? This is a total shot in the dark, but maybe something's gone wrong and it's expecting you to pass the this pointer as an explicit first argument rather than an implicit one? cheers, DaveK -- Can't think of a witty .sigline today....