[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    Re: evaluate more complex expressions using gdb
From:       Daniel Jacobowitz <drow () false ! org>
Date:       2007-06-27 12:06:42
Message-ID: 20070627120642.GA15920 () caradoc ! them ! org
[Download RAW message or body]

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<Type>::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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic