From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10982 invoked by alias); 27 Jun 2007 12:07:17 -0000 Received: (qmail 10845 invoked by uid 22791); 27 Jun 2007 12:07:16 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 27 Jun 2007 12:07:14 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 286549829D; Wed, 27 Jun 2007 12:07:13 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0F9839829B; Wed, 27 Jun 2007 12:07:12 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I3WIE-000495-6O; Wed, 27 Jun 2007 08:06:42 -0400 Date: Wed, 27 Jun 2007 12:07:00 -0000 From: Daniel Jacobowitz To: Bram Kuijper Cc: gdb@sourceware.org Subject: Re: evaluate more complex expressions using gdb Message-ID: <20070627120642.GA15920@caradoc.them.org> Mail-Followup-To: Bram Kuijper , gdb@sourceware.org References: <468239D9.1090001@rug.nl> <20070627103533.GA11494@caradoc.them.org> <4682513D.5040903@rug.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4682513D.5040903@rug.nl> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00341.txt.bz2 On Wed, Jun 27, 2007 at 01:59:57PM +0200, Bram Kuijper wrote: > I guess that will be a browse through STL's internals then, since I substract > two std::vector::iterators from each other. Right. Those are not pointers. It may be that GDB should be able to evaluate the expression you asked for, but it will be very slow. -- Daniel Jacobowitz CodeSourcery