This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: $n for pretty-printed elements?


> Sorry for the delay in replying to this.
> I'm very behind :(

No problem.

> Roland> (gdb) p _m_path
> Roland> $161 = std::list = {
> Roland>   [0] = $162 = {
> 
> This seems like a good idea to me.
> 
> There are some subtleties.  [...]

Sure.  I didn't try to think through the whole general case of this feature.

> I suppose my point is that there are some operations, like assignments,
> which wouldn't always make sense.

Sure.  I really just had in mind the basics of "I want &(that one there) to
use in another expression".  It only has to make sense when it makes
sense. :-)

The point of frustration comes when the (ordinarily quite nice) pretty
printers are hiding what the (otherwise painful to read through) generic
old style of printing internal member details make fairly easy to express.

> I'll put this on my list.

Great!


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]