double dereferencing in debugger
double dereferencing in debugger
- Subject: double dereferencing in debugger
- From: "McLaughlin, Michael P." <email@hidden>
- Date: Wed, 29 Jul 2009 15:18:53 -0400
- Acceptlanguage: en-US
- Thread-topic: double dereferencing in debugger
If iter is a iterator to a (STL) vector or list, then typing
p *iter
in the debugger will dump *iter (e.g., a struct) to the console. However,
if iter2 is an element of *iter, the debugger will not deference iter2 as
well, showing just _M_node = 0x398c90 for example.
Is there a simple gdb syntax for such double-dereferencing? [I tried
several obvious things but none worked.]
Thanks.
--
Mike McLaughlin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden