evaluate more complex expressions using gdb

Daniel Jacobowitz drow@false.org
Wed Jun 27 12:07:00 GMT 2007


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



More information about the Gdb mailing list